Interface StoreOp<W,R,M>
- Type Parameters:
W- write to be done toR- read to be done fromM- manager used
- All Known Implementing Classes:
AddClusterLabelOp,AddNodeToAttributeLogOp,FSNodeStoreLogOp,NodeAttributeMirrorOp,NodeLabelMirrorOp,NodeToLabelOp,RemoveClusterLabelOp,RemoveNodeToAttributeLogOp,ReplaceNodeToAttributeLogOp
public interface StoreOp<W,R,M>
Define the interface for store activity.
Used by for FileSystem based operation.
-
Method Summary
-
Method Details
-
write
Write operation to persistent storage.- Parameters:
write- write to be done tomgr- manager used by store- Throws:
IOException- io error occur.
-
recover
Read and populate StoreOp.- Parameters:
read- read to be done frommgr- manager used by store- Throws:
IOException- io error occur.
-