org.apache.olingo.ext.proxy.api

## Interface PersistenceManager

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

      public interface PersistenceManager
      extends Serializable

  Interface for container operations.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `flush()` Flushes all pending changes to the OData service.
    `Future<Void>` | `flushAsync()` Asynchronously flushes all pending changes to the OData service.

- - ### Method Detail

    - #### 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

Copyright © 2013–2020 The Apache Software Foundation. All rights reserved.