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 Type
    Method
    Description
    void
    Starts the PersistenceEnvironment instance and obtains all resources necessary to begin accessing the underlying data store.
    void
    Closes this PersistenceEnvironment instance and releases any underlying connections to the data storage.
  • Method Details

    • start

      void start()
      Starts the PersistenceEnvironment instance and obtains all resources necessary to begin accessing the underlying data store.
    • stop

      void stop()
      Closes this PersistenceEnvironment instance and releases any underlying connections to the data storage. Outstanding transactions may be forcibly closed if this is called.