Package org.datanucleus.store
Interface NucleusConnection
-
- All Known Implementing Classes:
NucleusConnectionImpl
public interface NucleusConnectionAccess to the underlying DataStore Connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Method to close the connection, handing it back to DataNucleus.java.lang.ObjectgetNativeConnection()Accessor for the underlying connection.booleanisAvailable()Accessor for whether the connection is available.
-
-
-
Method Detail
-
getNativeConnection
java.lang.Object getNativeConnection()
Accessor for the underlying connection.- Returns:
- The native connection
-
close
void close()
Method to close the connection, handing it back to DataNucleus.
-
isAvailable
boolean isAvailable()
Accessor for whether the connection is available.- Returns:
- Whether it is available
-
-