Class RotatingTransactionalState
java.lang.Object
org.apache.storm.trident.topology.state.RotatingTransactionalState
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanupBefore(long txid) getPreviousState(long txid) getState(long txid) getState(long txid, RotatingTransactionalState.StateInitializer init) getStateOrCreate(long txid, RotatingTransactionalState.StateInitializer init) Returns null if it was created, the value otherwise.booleanhasCache(long txid) voidoverrideState(long txid, Object state) voidremoveState(long txid) toString()
- 
Constructor Details- 
RotatingTransactionalState
 
- 
- 
Method Details- 
getLastState
- 
overrideState
- 
removeStatepublic void removeState(long txid) 
- 
getState
- 
getState
- 
getPreviousState
- 
hasCachepublic boolean hasCache(long txid) 
- 
getStateOrCreateReturns null if it was created, the value otherwise.
- 
cleanupBeforepublic void cleanupBefore(long txid) 
- 
toString
 
-