public class ReplicaEventMessage
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.message.controls.ChangeType |
changeType
The message change type
|
private org.apache.directory.api.ldap.model.entry.Entry |
entry
The entry
|
| Constructor and Description |
|---|
ReplicaEventMessage(org.apache.directory.api.ldap.model.message.controls.ChangeType changeType,
org.apache.directory.api.ldap.model.entry.Entry entry)
Create a new ReplicaEvent instance for a Add/Delete+Modify operation
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.message.controls.ChangeType |
getChangeType() |
org.apache.directory.api.ldap.model.entry.Entry |
getEntry() |
boolean |
isEventOlderThan(java.lang.String csn)
checks if the event's CSN is older than the given CSN
|
private org.apache.directory.api.ldap.model.message.controls.ChangeType changeType
private org.apache.directory.api.ldap.model.entry.Entry entry
public ReplicaEventMessage(org.apache.directory.api.ldap.model.message.controls.ChangeType changeType,
org.apache.directory.api.ldap.model.entry.Entry entry)
changeType - The change typeentry - The entrypublic org.apache.directory.api.ldap.model.message.controls.ChangeType getChangeType()
public org.apache.directory.api.ldap.model.entry.Entry getEntry()
public boolean isEventOlderThan(java.lang.String csn)
throws org.apache.directory.api.ldap.model.exception.LdapException
csn - the CSNjava.lang.Exception - if there are any extreme conditions like a null entry or missing entryCSN attribute.org.apache.directory.api.ldap.model.exception.LdapException