public class HashMapInstanceStore extends Object implements InstanceStore
| Constructor and Description |
|---|
HashMapInstanceStore(IdGenerator idGenerator,
PropertyStore propertyStore,
TokenStore tokenStore) |
| Modifier and Type | Method and Description |
|---|---|
FlowInstance |
createInstance(Identifier definitionId) |
Option<FlowInstance> |
findInstance(FlowInstanceSelector instanceSelector) |
List<FlowInstance> |
findInstances(FlowInstanceSelector instanceSelector) |
protected FlowInstance |
instanceByDefinitionIdAndInstanceId(FlowInstanceSelector instanceSelector) |
protected Option<FlowInstance> |
instanceByInstanceId(Identifier instanceId) |
protected List<FlowInstance> |
instancesByDefinitionId(Identifier definitionId) |
public HashMapInstanceStore(IdGenerator idGenerator, PropertyStore propertyStore, TokenStore tokenStore)
public List<FlowInstance> findInstances(FlowInstanceSelector instanceSelector)
findInstances in interface InstanceStoreprotected FlowInstance instanceByDefinitionIdAndInstanceId(FlowInstanceSelector instanceSelector)
public Option<FlowInstance> findInstance(FlowInstanceSelector instanceSelector)
findInstance in interface InstanceStoreprotected List<FlowInstance> instancesByDefinitionId(Identifier definitionId)
protected Option<FlowInstance> instanceByInstanceId(Identifier instanceId)
public FlowInstance createInstance(Identifier definitionId)
createInstance in interface InstanceStoreCopyright © 2015. All rights reserved.