Class EntityTagVirtualAttributeProvider

java.lang.Object
org.opends.server.api.VirtualAttributeProvider<EntityTagVirtualAttributeCfg>
org.opends.server.extensions.EntityTagVirtualAttributeProvider
All Implemented Interfaces:
ConfigurationChangeListener<EntityTagVirtualAttributeCfg>

public final class EntityTagVirtualAttributeProvider extends VirtualAttributeProvider<EntityTagVirtualAttributeCfg> implements ConfigurationChangeListener<EntityTagVirtualAttributeCfg>
This class implements a virtual attribute provider which ensures that all entries contain an "entity tag" or "Etag" as defined in section 3.11 of RFC 2616.

The entity tag may be used by clients, in conjunction with the assertion control, for optimistic concurrency control, as a way to help prevent simultaneous updates of an entry from conflicting with each other.

Note: etags cannot be searched since there is no way to determine which entry is associated with a particular ETag.