public abstract class AttrHistorical extends Object
Constructor and Description |
---|
AttrHistorical() |
Modifier and Type | Method and Description |
---|---|
abstract void |
assign(org.opends.server.replication.plugin.HistoricalAttributeValue histVal)
Assign the provided historical value to this object.
|
abstract boolean |
containsAddedValue(ByteString value)
Returns
true if this historical information contains add or replace meta-data for the provided
attribute value. |
abstract CSN |
getDeleteTime()
Returns the last time when this attribute was deleted.
|
abstract Set<AttrValueHistorical> |
getValuesHistorical()
Get the historical informations for this attribute Info.
|
abstract void |
processLocalOrNonConflictModification(CSN csn,
Modification mod)
This method calculates the historical information and update the hist attribute to store the historical
information for modify operation that does not conflict with previous operation.
|
abstract Modification |
replayOperation(CSN csn,
Entry modifiedEntry,
Modification mod)
This method will be called when replaying an operation.
|
public abstract Modification replayOperation(CSN csn, Entry modifiedEntry, Modification mod)
csn
- The CSN associated to the operation.modifiedEntry
- The entry modified by this operation.mod
- The modification.null
if the modification should not be replayed.public abstract void processLocalOrNonConflictModification(CSN csn, Modification mod)
It does not check if the operation to process is conflicting or not with previous operations. The caller is responsible for this.
csn
- The CSN of the operation to processmod
- The modify operation to process.public abstract Set<AttrValueHistorical> getValuesHistorical()
public abstract boolean containsAddedValue(ByteString value)
true
if this historical information contains add or replace meta-data for the provided
attribute value.value
- The attribute value.true
if this historical information contains add or replace meta-data for the provided
attribute value.public abstract CSN getDeleteTime()
public abstract void assign(org.opends.server.replication.plugin.HistoricalAttributeValue histVal)
histVal
- the historical valueCopyright 2010-2022 ForgeRock AS.