|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.s4.core.ft.NoOpCheckpointingFramework
public final class NoOpCheckpointingFramework
Implementation of CheckpointingFramework
that does NO checkpointing.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.s4.core.ft.CheckpointingFramework |
---|
CheckpointingFramework.StorageResultCode |
Constructor Summary | |
---|---|
NoOpCheckpointingFramework()
|
Method Summary | |
---|---|
byte[] |
fetchSerializedState(CheckpointId key)
Fetches checkpoint data from storage for a given PE |
boolean |
isCheckpointable(ProcessingElement pe)
Evaluates whether specified PE should be checkpointed, based on: whether checkpointing enabled whether the pe is "dirty" the checkpointing frequency settings This is used for count-based checkpointing intervals. |
StorageCallback |
saveState(ProcessingElement pe)
Serializes and stores state to the storage backend. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoOpCheckpointingFramework()
Method Detail |
---|
public StorageCallback saveState(ProcessingElement pe)
CheckpointingFramework
saveState
in interface CheckpointingFramework
public byte[] fetchSerializedState(CheckpointId key)
CheckpointingFramework
fetchSerializedState
in interface CheckpointingFramework
key
- safeKeeperId
public boolean isCheckpointable(ProcessingElement pe)
CheckpointingFramework
isCheckpointable
in interface CheckpointingFramework
pe
- processing element to evaluate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |