public class NucleusConnectionImpl extends Object implements NucleusConnection
| Constructor and Description |
|---|
NucleusConnectionImpl(Object conn,
Runnable onClose)
Constructor for a datastore connection holder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Method to close the connection.
|
Object |
getNativeConnection()
Accessor for the native connection for this datastore.
|
boolean |
isAvailable()
Accessor for whether the connection is available.
|
public void close()
close in interface NucleusConnectionNucleusUserException - Thrown if the connection is no longer available.public boolean isAvailable()
NucleusConnectionisAvailable in interface NucleusConnectionpublic Object getNativeConnection()
getNativeConnection in interface NucleusConnectionCopyright © 2017. All rights reserved.