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 TypeMethodDescriptionvoidstart()Starts thePersistenceEnvironmentinstance and obtains all resources necessary to begin accessing the underlying data store.voidstop()Closes thisPersistenceEnvironmentinstance and releases any underlying connections to the data storage.
-
Method Details
-
start
void start()Starts thePersistenceEnvironmentinstance and obtains all resources necessary to begin accessing the underlying data store. -
stop
void stop()Closes thisPersistenceEnvironmentinstance and releases any underlying connections to the data storage. Outstanding transactions may be forcibly closed if this is called.
-