| Package | Description |
|---|---|
| net.kuujo.copycat.state | |
| net.kuujo.copycat.state.internal |
| Modifier and Type | Method and Description |
|---|---|
static <T> StateMachine<T> |
StateMachine.create(String name,
Class<T> stateType,
Class<? extends T> initialState)
Creates a new state machine with the default cluster and state machine configurations.
|
static <T> StateMachine<T> |
StateMachine.create(String name,
Class<T> stateType,
Class<? extends T> initialState,
ClusterConfig cluster)
Creates a new state machine with the default state machine configuration.
|
static <T> StateMachine<T> |
StateMachine.create(String name,
ClusterConfig cluster,
StateMachineConfig config)
Creates a new state machine.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultStateMachine<T>
Default state machine implementation.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<StateMachine<T>> |
DefaultStateMachine.open() |
Copyright © 2013-2015. All Rights Reserved.