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