Class TransactionMetadataStoreState
- java.lang.Object
-
- org.apache.pulsar.transaction.coordinator.TransactionMetadataStoreState
-
- Direct Known Subclasses:
MLTransactionMetadataStore
public abstract class TransactionMetadataStoreState extends java.lang.ObjectThe implement of transaction metadata store state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransactionMetadataStoreState.StateThe state of the transactionMetadataStoreTransactionMetadataStore.
-
Constructor Summary
Constructors Constructor Description TransactionMetadataStoreState(TransactionMetadataStoreState.State state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanchangeToCloseState()protected booleanchangeToClosingState()protected booleanchangeToInitializingState()protected booleanchangeToReadyState()protected booleancheckIfReady()TransactionMetadataStoreState.StategetState()
-
-
-
Constructor Detail
-
TransactionMetadataStoreState
public TransactionMetadataStoreState(TransactionMetadataStoreState.State state)
-
-
Method Detail
-
changeToReadyState
protected boolean changeToReadyState()
-
changeToInitializingState
protected boolean changeToInitializingState()
-
changeToClosingState
protected boolean changeToClosingState()
-
changeToCloseState
protected boolean changeToCloseState()
-
checkIfReady
protected boolean checkIfReady()
-
getState
public TransactionMetadataStoreState.State getState()
-
-