|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CSN
Represents 'Change Sequence Number' in LDUP specification. A CSN is a composition of a timestamp, a replica ID and a operation sequence number. It distinguishes a change made on an object on a server, and if two operations take place during the same timeStamp, the operation sequence number makes those operations distinct.
| Method Summary | |
|---|---|
int |
getOperationSequence()
Returns sequence number of modification. |
ReplicaId |
getReplicaId()
Returns replica ID. |
long |
getTimestamp()
Returns GMT timestamp of modification. |
byte[] |
toBytes()
Returns a byte array representing the CSN |
java.lang.String |
toOctetString()
Returns octet-string representation of this CSN. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
long getTimestamp()
ReplicaId getReplicaId()
int getOperationSequence()
java.lang.String toOctetString()
byte[] toBytes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||