Class TopicTransactionBufferState
java.lang.Object
org.apache.pulsar.broker.transaction.buffer.impl.TopicTransactionBufferState
- Direct Known Subclasses:
TopicTransactionBuffer
The implement of topic transaction buffer state.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe state of the topicTransactionBufferTopicTransactionBuffer. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected booleanprotected booleanprotected booleanprotected booleanbooleanbooleangetState()
-
Constructor Details
-
TopicTransactionBufferState
-
-
Method Details
-
changeToReadyState
protected boolean changeToReadyState() -
changeToNoSnapshotState
protected boolean changeToNoSnapshotState() -
changeToInitializingState
protected boolean changeToInitializingState() -
changeToReadyStateFromNoSnapshot
protected boolean changeToReadyStateFromNoSnapshot() -
changeToCloseState
protected void changeToCloseState() -
checkIfReady
public boolean checkIfReady() -
checkIfNoSnapshot
public boolean checkIfNoSnapshot() -
getState
-