org.apache.s4.core.ft
Class CheckpointId
java.lang.Object
org.apache.s4.core.ft.CheckpointId
public class CheckpointId
- extends java.lang.Object
Identifier of PEs. It is used to identify checkpointed PEs in the storage backend.
The storage backend is responsible for converting this identifier to whatever internal representation is most
suitable for it.
This class provides methods for getting a compact String representation of the identifier and for creating an
identifier from a String representation.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CheckpointId
public CheckpointId()
CheckpointId
public CheckpointId(ProcessingElement pe)
CheckpointId
public CheckpointId(java.lang.String prototypeID,
java.lang.String key)
- Parameters:
prototypeID
- id of the PE as returned by getId()
methodkey
- keyed attribute(s)
CheckpointId
public CheckpointId(java.lang.String keyAsString)
getKey
public java.lang.String getKey()
getPrototypeId
public java.lang.String getPrototypeId()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getStringRepresentation
public java.lang.String getStringRepresentation()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object