Interface StateManager

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
InstanceStateManager

public interface StateManager extends AutoCloseable
A state manager that manages multiple state stores.
  • Method Details

    • registerStore

      void registerStore(StateStore store)
      Register the state store.
      Parameters:
      store - the state store to register.
    • getStore

      StateStore getStore(String tenant, String namespace, String name)
      Get the state store with the given name.
      Parameters:
      tenant - the state store tenant.
      namespace - the state store namespace.
      name - the state store name.
      Returns:
      the state store with the given name.
    • close

      void close()
      Specified by:
      close in interface AutoCloseable