|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.replication.protocol.OperationContext
public abstract class OperationContext
This class describe the replication context that is attached to each Operation using the SYNCHROCONTEXT key.
| Field Summary | |
|---|---|
static java.lang.String |
SYNCHROCONTEXT
The identifier used to attach the context to operations. |
| Constructor Summary | |
|---|---|
protected |
OperationContext(ChangeNumber changeNumber,
java.lang.String uid)
Create a new OperationContext. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
ChangeNumber |
getChangeNumber()
Gets The change number of the Operation. |
static ChangeNumber |
getChangeNumber(Operation op)
Get the change number of an operation. |
static ChangeNumber |
getChangeNumber(PluginOperation op)
Get the change number of an operation. |
java.lang.String |
getEntryUid()
Get the unique Identifier of the modified entry. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SYNCHROCONTEXT
| Constructor Detail |
|---|
protected OperationContext(ChangeNumber changeNumber,
java.lang.String uid)
changeNumber - The change number of the operation.uid - The unique Identifier of the modified entry.| Method Detail |
|---|
public ChangeNumber getChangeNumber()
public java.lang.String getEntryUid()
public static ChangeNumber getChangeNumber(Operation op)
op - The operation.
public static ChangeNumber getChangeNumber(PluginOperation op)
op - The operation.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||