Interface SynchPoint
- All Superinterfaces:
Serializable
Interface facilitating recovery of CollectionReaders to the last known entity
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(InputStream aInputStream) Ingests SynchPoint data from the InputStream.get()Retrieves data to facilitate recoverySerializes internal representation of the SynchPoint to XMLvoidSets data from which to recover
-
Method Details
-
set
Sets data from which to recover- Parameters:
aSynchPointData- - arbitrary object containing recovery information- Throws:
InvalidClassException- if aSynchPointData class is not supported by implementation
-
get
Object get()Retrieves data to facilitate recovery- Returns:
- Object - data containing recovery information
-
serializeToXML
String serializeToXML()Serializes internal representation of the SynchPoint to XML- Returns:
- - serialized SynchPoint as String
-
deserialize
Ingests SynchPoint data from the InputStream. InputStream contains xml representation of the SynchPoint previously generated by serializeToXML().- Parameters:
aInputStream- - xml stream containing SynchPoint data- Throws:
Exception- - unable to process the input stream
-