Class QStateProviders

java.lang.Object
com.kingsrook.qqq.backend.core.state.QStateProviders

public final class QStateProviders extends Object
The state provider for process and async job state: the instance's StateProviderMetaData (a provider class, or the built-in TableStateProvider over its table), else this node's memory, as before.
  • Method Details

    • get

      public static StateProviderInterface get()
      The provider for the current context's instance.
    • forInstance

      public static StateProviderInterface forInstance(QInstance instance)
      The provider for an instance (in-memory without one, or without meta data).
    • isShared

      public static boolean isShared(QInstance instance)
      Whether the instance's state is shared across nodes.
    • clearForTests

      public static void clearForTests()
      Forget built providers (tests).