Interface PersistenceManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
NonTransactionalPersistenceManagerImpl, TransactionalPersistenceManagerImpl

public interface PersistenceManager extends Serializable
Interface for container operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Flushes all pending changes to the OData service.
    Asynchronously flushes all pending changes to the OData service.
  • Method Details

    • flush

      void flush()
      Flushes all pending changes to the OData service.
      Throws:
      ODataFlushException - in case of errors
    • flushAsync

      Future<Void> flushAsync()
      Asynchronously flushes all pending changes to the OData service.
      Returns:
      a future handle
      Throws:
      ODataFlushException - in case of errors