Interface StateManager

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
StateManagerImpl

public interface StateManager extends AutoCloseable

Manages state (multiple ManagedObject instances used externally).

ManagedObject instances are kept alive until the StateManager is closed.

Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    <O> O
    getObject(String boundObjectName, long timeoutInMilliseconds)
    Obtains the object for the ManagedObject synchronously.
    <O> void
    load(String boundObjectName, ObjectUser<O> user)
    Loads the object from the ManagedObject asynchronously.

    Methods inherited from interface java.lang.AutoCloseable

    close