Package io.zeebe.engine.state
Class ZeebeState
- java.lang.Object
-
- io.zeebe.engine.state.ZeebeState
-
public class ZeebeState extends Object
-
-
Constructor Summary
Constructors Constructor Description ZeebeState(int partitionId, ZeebeDb<ZbColumnFamilies> zeebeDb, DbContext dbContext)ZeebeState(ZeebeDb<ZbColumnFamilies> zeebeDb, DbContext dbContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentsStategetDeploymentState()IncidentStategetIncidentState()JobStategetJobState()KeyGeneratorgetKeyGenerator()longgetLastSuccessfulProcessedRecordPosition()MessageStartEventSubscriptionStategetMessageStartEventSubscriptionState()MessageStategetMessageState()MessageSubscriptionStategetMessageSubscriptionState()intgetPartitionId()WorkflowInstanceSubscriptionStategetWorkflowInstanceSubscriptionState()WorkflowStategetWorkflowState()booleanisEmpty(ZbColumnFamilies column)booleanisOnBlacklist(TypedRecord record)voidmarkAsProcessed(long position)booleantryToBlacklist(TypedRecord<?> typedRecord, Consumer<Long> onBlacklistingInstance)
-
-
-
Constructor Detail
-
ZeebeState
public ZeebeState(ZeebeDb<ZbColumnFamilies> zeebeDb, DbContext dbContext)
-
ZeebeState
public ZeebeState(int partitionId, ZeebeDb<ZbColumnFamilies> zeebeDb, DbContext dbContext)
-
-
Method Detail
-
getDeploymentState
public DeploymentsState getDeploymentState()
-
getWorkflowState
public WorkflowState getWorkflowState()
-
getJobState
public JobState getJobState()
-
getMessageState
public MessageState getMessageState()
-
getMessageSubscriptionState
public MessageSubscriptionState getMessageSubscriptionState()
-
getMessageStartEventSubscriptionState
public MessageStartEventSubscriptionState getMessageStartEventSubscriptionState()
-
getWorkflowInstanceSubscriptionState
public WorkflowInstanceSubscriptionState getWorkflowInstanceSubscriptionState()
-
getIncidentState
public IncidentState getIncidentState()
-
getKeyGenerator
public KeyGenerator getKeyGenerator()
-
isOnBlacklist
public boolean isOnBlacklist(TypedRecord record)
-
tryToBlacklist
public boolean tryToBlacklist(TypedRecord<?> typedRecord, Consumer<Long> onBlacklistingInstance)
-
markAsProcessed
public void markAsProcessed(long position)
-
getLastSuccessfulProcessedRecordPosition
public long getLastSuccessfulProcessedRecordPosition()
-
getPartitionId
public int getPartitionId()
-
isEmpty
public boolean isEmpty(ZbColumnFamilies column)
-
-