W - See NoSqlConnection.T - See NoSqlConnection.public abstract class AbstractNoSqlConnection<W,T extends NoSqlObject<W>> extends Object implements NoSqlConnection<W,T>
NoSqlConnection.| Constructor and Description |
|---|
AbstractNoSqlConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying connection.
|
protected abstract void |
closeImpl() |
boolean |
isClosed()
Indicates whether the underlying connection is closed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateList, createObject, insertObjectpublic AbstractNoSqlConnection()
public void close()
NoSqlConnectionIf this connection is part of a connection pool, executing this method should commit the transaction and return the connection to the pool, but it should not actually close the underlying connection.
close in interface Closeableclose in interface AutoCloseableclose in interface NoSqlConnection<W,T extends NoSqlObject<W>>protected abstract void closeImpl()
public boolean isClosed()
NoSqlConnectiontrue if a call to NoSqlConnection.insertObject(NoSqlObject) will fail due to the state of this object.isClosed in interface NoSqlConnection<W,T extends NoSqlObject<W>>true if this object is considered closed.Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.