Class ZookeeperStateMachinePersist<S,E>

java.lang.Object
org.springframework.statemachine.zookeeper.ZookeeperStateMachinePersist<S,E>
Type Parameters:
S - the type of state
E - the type of event
All Implemented Interfaces:
StateMachinePersist<S,E,org.apache.zookeeper.data.Stat>

public class ZookeeperStateMachinePersist<S,E> extends Object implements StateMachinePersist<S,E,org.apache.zookeeper.data.Stat>
StateMachinePersist using zookeeper as a storage and kroy libraries as a backing serialization technique.
Author:
Janne Valkealahti
  • Constructor Details

    • ZookeeperStateMachinePersist

      public ZookeeperStateMachinePersist(org.apache.curator.framework.CuratorFramework curatorClient, String path)
      Instantiates a new zookeeper state machine persist.
      Parameters:
      curatorClient - the curator client
      path - the path for persistent state
    • ZookeeperStateMachinePersist

      public ZookeeperStateMachinePersist(org.apache.curator.framework.CuratorFramework curatorClient, String path, String logPath, int logSize)
      Instantiates a new zookeeper state machine persist.
      Parameters:
      curatorClient - the curator client
      path - the path
      logPath - the log path
      logSize - the log size
  • Method Details