public class GSEventRegistration extends EventRegistration implements Textualizable
eventID, lease, seqNum, source
Constructor and Description |
---|
GSEventRegistration(long eventID,
Object source,
Lease lease,
long seqNum) |
GSEventRegistration(long eventID,
Object source,
Lease lease,
long seqNum,
String templateID,
Uuid spaceUID) |
Modifier and Type | Method and Description |
---|---|
void |
addSequenceNumber(GSEventRegistration registration)
when in partitioned space scenario, multiple EventRegistration objects are received, each
with his own sequence number.
|
String |
getKey() |
Map<Uuid,Long> |
getSequenceNumbers() |
Uuid |
getSpaceUID() |
String |
getTemplateID() |
void |
setLease(Lease lease) |
String |
toString() |
void |
toText(Textualizer textualizer) |
getID, getLease, getSequenceNumber, getSource
public GSEventRegistration(long eventID, Object source, Lease lease, long seqNum)
public void setLease(Lease lease)
public String getTemplateID()
public Uuid getSpaceUID()
public String getKey()
public void addSequenceNumber(GSEventRegistration registration)
registration
- the EventRegistration from a single space.public void toText(Textualizer textualizer)
toText
in interface Textualizable
Copyright © GigaSpaces.