public final class UpdateRecord extends Object implements Comparable<UpdateRecord>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UpdateRecord other) |
boolean |
equals(Object obj) |
Dn |
getBaseDn()
Returns the base DN of the replication domain the message belongs to.
|
CSN |
getCsn()
Returns the CSN of the message.
|
UpdateMsg |
getMessage()
Returns the update message.
|
ReplicaId |
getReplicaId()
Returns the replica ID of the replica the message belongs to.
|
int |
hashCode() |
static UpdateRecord |
newUpdateRecord(Dn baseDn,
UpdateMsg msg)
Creates a new update record with the provided base DN and message.
|
String |
toString() |
public static UpdateRecord newUpdateRecord(Dn baseDn, UpdateMsg msg)
baseDn
- the base DN of the replication domain the message belongs tomsg
- the update messagepublic Dn getBaseDn()
public CSN getCsn()
public ReplicaId getReplicaId()
public UpdateMsg getMessage()
public int compareTo(UpdateRecord other)
compareTo
in interface Comparable<UpdateRecord>
Copyright 2010-2022 ForgeRock AS.