Package org.datanucleus.store
Interface NucleusConnection
- All Known Implementing Classes:
NucleusConnectionImpl
public interface NucleusConnection
Access to the underlying DataStore Connection.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Method to close the connection, handing it back to DataNucleus.Accessor for the underlying connection.boolean
Accessor for whether the connection is available.
-
Method Details
-
getNativeConnection
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
-