Package dev.getelements.elements.rt
Interface PersistenceEnvironment
- All Known Implementing Classes:
JournalTransactionalResourceServicePersistenceEnvironment
public interface PersistenceEnvironment
Drives the instance-wide persistence system, if available. Currently this is just allows for the start and stop
operations.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
start()
Starts thePersistenceEnvironment
instance and obtains all resources necessary to begin accessing the underlying data store.void
stop()
Closes thisPersistenceEnvironment
instance and releases any underlying connections to the data storage.
-
Method Details
-
start
void start()Starts thePersistenceEnvironment
instance and obtains all resources necessary to begin accessing the underlying data store. -
stop
void stop()Closes thisPersistenceEnvironment
instance and releases any underlying connections to the data storage. Outstanding transactions may be forcibly closed if this is called.
-