Interface SynchPoint
-
- All Superinterfaces:
java.io.Serializable
public interface SynchPoint extends java.io.Serializable
Interface facilitating recovery of CollectionReaders to the last known entity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deserialize(java.io.InputStream aInputStream)
Ingests SynchPoint data from the InputStream.java.lang.Object
get()
Retrieves data to facilitate recoveryjava.lang.String
serializeToXML()
Serializes internal representation of the SynchPoint to XMLvoid
set(java.lang.Object aSynchPointData)
Sets data from which to recover
-
-
-
Method Detail
-
set
void set(java.lang.Object aSynchPointData) throws java.io.InvalidClassException
Sets data from which to recover- Parameters:
aSynchPointData
- - arbitrary object containing recovery information- Throws:
java.io.InvalidClassException
- if aSynchPointData class is not supported by implementation
-
get
java.lang.Object get()
Retrieves data to facilitate recovery- Returns:
- Object - data containing recovery information
-
serializeToXML
java.lang.String serializeToXML()
Serializes internal representation of the SynchPoint to XML- Returns:
- - serialized SynchPoint as String
-
deserialize
void deserialize(java.io.InputStream aInputStream) throws java.lang.Exception
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:
java.lang.Exception
- - unable to process the input stream
-
-