W
- 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, wait
createList, createObject, insertObject
public void close()
NoSqlConnection
If 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 Closeable
close
in interface AutoCloseable
close
in interface NoSqlConnection<W,T extends NoSqlObject<W>>
protected abstract void closeImpl()
public boolean isClosed()
NoSqlConnection
true
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-2017 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.