public class AttrHistoricalSingle extends AttrHistorical
| Constructor and Description |
|---|
AttrHistoricalSingle(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
Builds an
AttrHistoricalSingle object. |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(org.opends.server.replication.plugin.HistoricalAttributeValue histVal)
Assign the provided historical value to this object.
|
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.
|
boolean |
replayOperation(Iterator<Modification> modsIterator,
CSN csn,
Entry modifiedEntry,
Modification mod)
This method will be called when replaying an operation.
|
String |
toString() |
createAttributeHistoricalpublic AttrHistoricalSingle(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
AttrHistoricalSingle object.attributeType - the attribute type for this historical valuepublic CSN getDeleteTime()
AttrHistoricalgetDeleteTime in class AttrHistoricalpublic Set<AttrValueHistorical> getValuesHistorical()
AttrHistoricalgetValuesHistorical in class AttrHistoricalpublic void processLocalOrNonConflictModification(CSN csn, Modification mod)
AttrHistoricalIt does not check if the operation to process is conflicting or not with previous operations. The caller is responsible for this.
processLocalOrNonConflictModification in class AttrHistoricalcsn - The CSN of the operation to processmod - The modify operation to process.public boolean replayOperation(Iterator<Modification> modsIterator, CSN csn, Entry modifiedEntry, Modification mod)
AttrHistoricalreplayOperation in class AttrHistoricalmodsIterator - The iterator on the mods from which the mod is extracted.csn - The CSN associated to the operation.modifiedEntry - The entry modified by this operation.mod - The modification.true if a conflict was detected, false otherwise.public void assign(org.opends.server.replication.plugin.HistoricalAttributeValue histVal)
AttrHistoricalassign in class AttrHistoricalhistVal - the historical valueCopyright © 2010-2020 Wren Security. All Rights Reserved.