|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of OperationEngineException in org.coweb.oe |
|---|
| Methods in org.coweb.oe that throw OperationEngineException | |
|---|---|
void |
HistoryBuffer.addRemote(Operation op)
Adds a received operation to the history. |
void |
Operation.addToCache(int siteCount)
Caches a transformed copy of this original operation for faster future transformations. |
Operation |
Operation.copy()
Makes a copy of this operation object. |
ContextVector |
ContextVector.copy()
Makes an independent copy of this context vector. |
ContextVector |
OperationEngine.copyContextVector()
Makes a copy of the engine context vector representing the local document state. |
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)
|
void |
OperationEngine.freezeSite(int site)
Freezes a slot in the context vector table by inserting a reference to context vector of this engine. |
ContextVector |
ContextVectorTable.getContextVector(int site)
Gets the context vector for the given site. |
Operation |
Operation.getFromCache(ContextVector cv)
Gets a version of the given operation previously transformed into the given context if available. |
ContextVector |
ContextVectorTable.getMinimumContextVector()
Gets the context vector with the minimum sequence number for each site among all context vectors in the table. |
Stack<Operation> |
HistoryBuffer.getOpsForDifference(ContextDifference cd)
Retrieves all of the operations represented by the given context differences from the history buffer. |
void |
ContextVectorTable.growTo(int count)
Increases the size of the context vector table to the given size. |
ContextVector |
OperationEngine.purge()
Runs the garbage collection algorithm over the history buffer. |
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.pushRemoteOp(Operation op)
Procceses a remote operation, transforming it if required, and adds the original to the history buffer. |
void |
OperationEngine.pushSync(int site,
ContextVector cv)
Processes an engine synchronization event. |
void |
OperationEngine.pushSyncWithSites(int site,
int[] sites)
Processes an engine synchronization event. |
void |
ContextVectorTable.setState(int[][] arr)
Unserializes context vector table contents to initialize this intance. |
void |
OperationEngine.setState(Object[] arr)
Sets the state of this engine instance to state received from another instance. |
void |
Operation.setState(Object[] arr)
Unserializes operation data and sets it as the instance data. |
void |
OperationEngine.thawSite(int site)
Thaws a slot in the context vector table by inserting a zeroed context vector into the context vector table. |
Operation |
Operation.transformWith(Operation op)
Transforms this operation to include the effects of the operation provided as a parameter IT(this, op). |
void |
ContextVectorTable.updateWithContextVector(int site,
ContextVector cv)
Sets the context vector for the given site. |
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. |
| Constructors in org.coweb.oe that throw OperationEngineException | |
|---|---|
ContextVector(Map<String,Object> args)
|
|
ContextVectorTable(ContextVector cv,
int site)
|
|
DeleteOperation(Map<String,Object> args)
|
|
InsertOperation(Map<String,Object> args)
|
|
Operation(Map<String,Object> args)
Contains information about a local or remote event for transformation. |
|
OperationEngine(int siteId)
Controls the operational transformation algorithm. |
|
UpdateOperation(Map<String,Object> args)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||