|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Operation in org.coweb.oe |
|---|
| Subclasses of Operation in org.coweb.oe | |
|---|---|
class |
DeleteOperation
|
class |
InsertOperation
|
class |
UpdateOperation
|
| Fields in org.coweb.oe with type parameters of type Operation | |
|---|---|
protected Vector<Operation> |
Operation.xCache
|
| Methods in org.coweb.oe that return Operation | |
|---|---|
Operation |
Operation.copy()
Makes a copy of this operation object. |
Operation |
OperationEngine.createOp(boolean local,
String key,
String value,
String type,
int position,
int site,
int[] cv,
int order)
Factory method that creates an operation object initialized with the given values. |
static Operation |
Operation.createOperationFromState(Object[] state)
|
static Operation |
Operation.createOperationFromType(String type,
Map<String,Object> args)
|
Operation |
Operation.getFromCache(ContextVector cv)
Gets a version of the given operation previously transformed into the given context if available. |
Operation |
OperationEngine.push(boolean local,
String key,
String value,
String type,
int position,
int site,
int[] cv,
int order)
Creates an operation object and pushes it into the operation engine algorithm. |
Operation |
OperationEngine.pushLocalOp(Operation op)
Procceses a local operation and adds it to the history buffer. |
Operation |
OperationEngine.pushRemoteOp(Operation op)
Procceses a remote operation, transforming it if required, and adds the original to the history buffer. |
Operation |
HistoryBuffer.remove(Operation op)
Removes and returns an operation in the history. |
Operation |
Operation.transformWith(Operation op)
Transforms this operation to include the effects of the operation provided as a parameter IT(this, op). |
Operation |
UpdateOperation.transformWithDelete(Operation op)
Transforms this update to include the effect of a delete. |
abstract Operation |
Operation.transformWithDelete(Operation op)
|
Operation |
InsertOperation.transformWithDelete(Operation op)
Transforms this insert to include the effect of a delete. |
Operation |
DeleteOperation.transformWithDelete(Operation op)
Transforms this delete to include the effect of a delete. |
Operation |
UpdateOperation.transformWithInsert(Operation op)
Transforms this update to include the effect of an insert. |
abstract Operation |
Operation.transformWithInsert(Operation op)
|
Operation |
InsertOperation.transformWithInsert(Operation op)
Transforms this insert to include the effect of an insert. |
Operation |
DeleteOperation.transformWithInsert(Operation op)
Transforms this delete to include the effect of an insert. |
Operation |
UpdateOperation.transformWithUpdate(Operation op)
Transforms this update to include the effect of an update. |
abstract Operation |
Operation.transformWithUpdate(Operation op)
|
Operation |
InsertOperation.transformWithUpdate(Operation op)
No-op. |
Operation |
DeleteOperation.transformWithUpdate(Operation op)
No-op. |
| Methods in org.coweb.oe that return types with arguments of type Operation | |
|---|---|
Stack<Operation> |
HistoryBuffer.getContextSortedOperations()
Gets all operations in the history buffer sorted by context. |
Stack<Operation> |
HistoryBuffer.getOpsForDifference(ContextDifference cd)
Retrieves all of the operations represented by the given context differences from the history buffer. |
| Methods in org.coweb.oe with parameters of type Operation | |
|---|---|
void |
HistoryBuffer.addLocal(Operation op)
Adds a local operation to the history. |
void |
HistoryBuffer.addRemote(Operation op)
Adds a received operation to the history. |
int |
Operation.compareByContext(Operation op)
Computes an ordered comparison of this op and another based on their context vectors. |
int |
Operation.compareByOrder(Operation op)
Computes an ordered comparison of this op and another based on their position in the total op order. |
boolean |
OperationEngine.hasProcessedOp(Operation op)
Gets if the engine has already processed the give operation based on its context vector and the context vector of this engine instance. |
Operation |
OperationEngine.pushLocalOp(Operation op)
Procceses a local operation and adds it to the history buffer. |
Operation |
OperationEngine.pushRemoteOp(Operation op)
Procceses a remote operation, transforming it if required, and adds the original to the history buffer. |
Operation |
HistoryBuffer.remove(Operation op)
Removes and returns an operation in the history. |
Operation |
Operation.transformWith(Operation op)
Transforms this operation to include the effects of the operation provided as a parameter IT(this, op). |
Operation |
UpdateOperation.transformWithDelete(Operation op)
Transforms this update to include the effect of a delete. |
abstract Operation |
Operation.transformWithDelete(Operation op)
|
Operation |
InsertOperation.transformWithDelete(Operation op)
Transforms this insert to include the effect of a delete. |
Operation |
DeleteOperation.transformWithDelete(Operation op)
Transforms this delete to include the effect of a delete. |
Operation |
UpdateOperation.transformWithInsert(Operation op)
Transforms this update to include the effect of an insert. |
abstract Operation |
Operation.transformWithInsert(Operation op)
|
Operation |
InsertOperation.transformWithInsert(Operation op)
Transforms this insert to include the effect of an insert. |
Operation |
DeleteOperation.transformWithInsert(Operation op)
Transforms this delete to include the effect of an insert. |
Operation |
UpdateOperation.transformWithUpdate(Operation op)
Transforms this update to include the effect of an update. |
abstract Operation |
Operation.transformWithUpdate(Operation op)
|
Operation |
InsertOperation.transformWithUpdate(Operation op)
No-op. |
Operation |
DeleteOperation.transformWithUpdate(Operation op)
No-op. |
void |
ContextVectorTable.updateWithOperation(Operation op)
Sets the context vector for the site on the given operation. |
void |
Operation.upgradeContextTo(Operation op)
Upgrades the context of this operation to reflect the inclusion of a single other operation from some site. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||