A C D E F G H I K L O P R S T U V X

A

addLocal(Operation) - Method in class org.coweb.oe.HistoryBuffer
Adds a local operation to the history.
addRange(int, int, int) - Method in class org.coweb.oe.ContextDifference
Adds a range of operations to the difference.
addRemote(Operation) - Method in class org.coweb.oe.HistoryBuffer
Adds a received operation to the history.
addSiteSeq(int, int) - Method in class org.coweb.oe.ContextDifference
Adds a single operation to the difference.
addToCache(int) - Method in class org.coweb.oe.Operation
Caches a transformed copy of this original operation for faster future transformations.

C

compare(ContextVector) - Method in class org.coweb.oe.ContextVector
Computes an ordered comparison of two context vectors according to the sequence IDs at each site.
compareByContext(Operation) - Method in class org.coweb.oe.Operation
Computes an ordered comparison of this op and another based on their context vectors.
compareByOrder(Operation) - Method in class org.coweb.oe.Operation
Computes an ordered comparison of this op and another based on their position in the total op order.
ContextDifference - Class in org.coweb.oe
 
ContextDifference() - Constructor for class org.coweb.oe.ContextDifference
 
ContextVector - Class in org.coweb.oe
 
ContextVector(Map<String, Object>) - Constructor for class org.coweb.oe.ContextVector
 
contextVector - Variable in class org.coweb.oe.Operation
 
ContextVectorTable - Class in org.coweb.oe
 
ContextVectorTable(ContextVector, int) - Constructor for class org.coweb.oe.ContextVectorTable
 
copy() - Method in class org.coweb.oe.ContextVector
Makes an independent copy of this context vector.
copy() - Method in class org.coweb.oe.Operation
Makes a copy of this operation object.
copyContextVector() - Method in class org.coweb.oe.OperationEngine
Makes a copy of the engine context vector representing the local document state.
copySites() - Method in class org.coweb.oe.ContextVector
Makes an independent copy of the array in this context vector.
createHistoryKey(int, int) - Static method in class org.coweb.oe.Operation
 
createOp(boolean, String, String, String, int, int, int[], int) - Method in class org.coweb.oe.OperationEngine
Factory method that creates an operation object initialized with the given values.
createOperationFromState(Object[]) - Static method in class org.coweb.oe.Operation
 
createOperationFromType(String, Map<String, Object>) - Static method in class org.coweb.oe.Operation
 

D

DeleteOperation - Class in org.coweb.oe
 
DeleteOperation(Map<String, Object>) - Constructor for class org.coweb.oe.DeleteOperation
 

E

equals(ContextVector) - Method in class org.coweb.oe.ContextVector
Determines if this context vector equals the other in terms of the sequence IDs at each site.

F

freezeSite(int) - Method in class org.coweb.oe.OperationEngine
Freezes a slot in the context vector table by inserting a reference to context vector of this engine.

G

getBufferSize() - Method in class org.coweb.oe.OperationEngine
Gets the size of the history buffer in terms of stored operations.
getContextSortedOperations() - Method in class org.coweb.oe.HistoryBuffer
Gets all operations in the history buffer sorted by context.
getContextVector(int) - Method in class org.coweb.oe.ContextVectorTable
Gets the context vector for the given site.
getContextVector() - Method in class org.coweb.oe.Operation
 
getCount() - Method in class org.coweb.oe.HistoryBuffer
Gets the number of operations in the history.
getEquivalents(ContextVector, int) - Method in class org.coweb.oe.ContextVectorTable
Gets the index of each entry in the table frozen to (i.e., sharing a reference with, the given context vector, skipping the one noted in the skip param.
getFromCache(ContextVector) - Method in class org.coweb.oe.Operation
Gets a version of the given operation previously transformed into the given context if available.
getHistoryBufferKeys() - Method in class org.coweb.oe.ContextDifference
Gets the histor buffer keys for all the operations represented in this context difference.
getMinimumContextVector() - Method in class org.coweb.oe.ContextVectorTable
Gets the context vector with the minimum sequence number for each site among all context vectors in the table.
getOpsForDifference(ContextDifference) - Method in class org.coweb.oe.HistoryBuffer
Retrieves all of the operations represented by the given context differences from the history buffer.
getPosition() - Method in class org.coweb.oe.Operation
 
getSeqForSite(int) - Method in class org.coweb.oe.ContextVector
Gets the sequence number for the given site in this context vector.
getSeqId() - Method in class org.coweb.oe.Operation
 
getSiteCount() - Method in class org.coweb.oe.OperationEngine
Gets the number of sites known to be participating, including this site.
getSiteId() - Method in class org.coweb.oe.Operation
 
getSiteId() - Method in class org.coweb.oe.OperationEngine
 
getSites() - Method in class org.coweb.oe.ContextVector
 
getSize() - Method in class org.coweb.oe.ContextVector
Gets the size of this context vector.
getState() - Method in class org.coweb.oe.ContextVector
Serializes this context vector.
getState() - Method in class org.coweb.oe.ContextVectorTable
Serializes the state of this context vector table for transmission.
getState() - Method in class org.coweb.oe.HistoryBuffer
Serializes the history buffer contents to seed a remote instance.
getState() - Method in class org.coweb.oe.Operation
Serializes the operation as an array of values for transmission.
getState() - Method in class org.coweb.oe.OperationEngine
Gets the state of this engine instance to seed a new instance.
getValue() - Method in class org.coweb.oe.Operation
 
growTo(int) - Method in class org.coweb.oe.ContextVector
Increases the size of the context vector to the given size.
growTo(int) - Method in class org.coweb.oe.ContextVectorTable
Increases the size of the context vector table to the given size.

H

hasProcessedOp(Operation) - Method in class org.coweb.oe.OperationEngine
Gets if the engine has already processed the give operation based on its context vector and the context vector of this engine instance.
HistoryBuffer - Class in org.coweb.oe
 
HistoryBuffer() - Constructor for class org.coweb.oe.HistoryBuffer
 

I

immutable - Variable in class org.coweb.oe.Operation
 
infinity - Static variable in class org.coweb.oe.Operation
 
InsertOperation - Class in org.coweb.oe
 
InsertOperation(Map<String, Object>) - Constructor for class org.coweb.oe.InsertOperation
 

K

key - Variable in class org.coweb.oe.Operation
 

L

local - Variable in class org.coweb.oe.Operation
 

O

oldestDifference(ContextVector) - Method in class org.coweb.oe.ContextVector
Finds the oldest sequence number in the difference in sequence numbers for each site between this context and the one provided.
Operation - Class in org.coweb.oe
 
Operation(Map<String, Object>) - Constructor for class org.coweb.oe.Operation
Contains information about a local or remote event for transformation.
OperationEngine - Class in org.coweb.oe
 
OperationEngine(int) - Constructor for class org.coweb.oe.OperationEngine
Controls the operational transformation algorithm.
OperationEngineException - Exception in org.coweb.oe
 
OperationEngineException(String) - Constructor for exception org.coweb.oe.OperationEngineException
 
order - Variable in class org.coweb.oe.Operation
 
org.coweb.oe - package org.coweb.oe
 

P

position - Variable in class org.coweb.oe.Operation
 
purge() - Method in class org.coweb.oe.OperationEngine
Runs the garbage collection algorithm over the history buffer.
push(boolean, String, String, String, int, int, int[], int) - Method in class org.coweb.oe.OperationEngine
Creates an operation object and pushes it into the operation engine algorithm.
pushLocalOp(Operation) - Method in class org.coweb.oe.OperationEngine
Procceses a local operation and adds it to the history buffer.
pushRemoteOp(Operation) - Method in class org.coweb.oe.OperationEngine
Procceses a remote operation, transforming it if required, and adds the original to the history buffer.
pushSync(int, ContextVector) - Method in class org.coweb.oe.OperationEngine
Processes an engine synchronization event.
pushSyncWithSites(int, int[]) - Method in class org.coweb.oe.OperationEngine
Processes an engine synchronization event.

R

remove(Operation) - Method in class org.coweb.oe.HistoryBuffer
Removes and returns an operation in the history.

S

seqId - Variable in class org.coweb.oe.Operation
 
seqs - Variable in class org.coweb.oe.ContextDifference
 
setImmutable(boolean) - Method in class org.coweb.oe.Operation
 
setSeqForSite(int, int) - Method in class org.coweb.oe.ContextVector
Sets the sequence number for the given site in this context vector.
setState(int[][]) - Method in class org.coweb.oe.ContextVectorTable
Unserializes context vector table contents to initialize this intance.
setState(Object[]) - Method in class org.coweb.oe.HistoryBuffer
Unserializes history buffer contents to initialize this instance.
setState(Object[]) - Method in class org.coweb.oe.Operation
Unserializes operation data and sets it as the instance data.
setState(Object[]) - Method in class org.coweb.oe.OperationEngine
Sets the state of this engine instance to state received from another instance.
siteId - Variable in class org.coweb.oe.Operation
 
sites - Variable in class org.coweb.oe.ContextDifference
 
subtract(ContextVector) - Method in class org.coweb.oe.ContextVector
Computes the difference in sequence numbers at each site between this context vector and the one provided.

T

thawSite(int) - Method in class org.coweb.oe.OperationEngine
Thaws a slot in the context vector table by inserting a zeroed context vector into the context vector table.
toString() - Method in class org.coweb.oe.ContextDifference
Converts the contents of this context difference to a string.
toString() - Method in class org.coweb.oe.ContextVector
Converts the contents of this context vector sites array to a string.
toString() - Method in class org.coweb.oe.ContextVectorTable
Converts the contents of this context vector table to a string.
toString() - Method in class org.coweb.oe.HistoryBuffer
 
toString() - Method in class org.coweb.oe.Operation
 
toString() - Method in class org.coweb.oe.OperationEngine
 
transformWith(Operation) - Method in class org.coweb.oe.Operation
Transforms this operation to include the effects of the operation provided as a parameter IT(this, op).
transformWithDelete(Operation) - Method in class org.coweb.oe.DeleteOperation
Transforms this delete to include the effect of a delete.
transformWithDelete(Operation) - Method in class org.coweb.oe.InsertOperation
Transforms this insert to include the effect of a delete.
transformWithDelete(Operation) - Method in class org.coweb.oe.Operation
 
transformWithDelete(Operation) - Method in class org.coweb.oe.UpdateOperation
Transforms this update to include the effect of a delete.
transformWithInsert(Operation) - Method in class org.coweb.oe.DeleteOperation
Transforms this delete to include the effect of an insert.
transformWithInsert(Operation) - Method in class org.coweb.oe.InsertOperation
Transforms this insert to include the effect of an insert.
transformWithInsert(Operation) - Method in class org.coweb.oe.Operation
 
transformWithInsert(Operation) - Method in class org.coweb.oe.UpdateOperation
Transforms this update to include the effect of an insert.
transformWithUpdate(Operation) - Method in class org.coweb.oe.DeleteOperation
No-op.
transformWithUpdate(Operation) - Method in class org.coweb.oe.InsertOperation
No-op.
transformWithUpdate(Operation) - Method in class org.coweb.oe.Operation
 
transformWithUpdate(Operation) - Method in class org.coweb.oe.UpdateOperation
Transforms this update to include the effect of an update.
type - Variable in class org.coweb.oe.Operation
 

U

UpdateOperation - Class in org.coweb.oe
 
UpdateOperation(Map<String, Object>) - Constructor for class org.coweb.oe.UpdateOperation
 
updateWithContextVector(int, ContextVector) - Method in class org.coweb.oe.ContextVectorTable
Sets the context vector for the given site.
updateWithOperation(Operation) - Method in class org.coweb.oe.ContextVectorTable
Sets the context vector for the site on the given operation.
upgradeContextTo(Operation) - Method in class org.coweb.oe.Operation
Upgrades the context of this operation to reflect the inclusion of a single other operation from some site.

V

value - Variable in class org.coweb.oe.Operation
 

X

xCache - Variable in class org.coweb.oe.Operation
 

A C D E F G H I K L O P R S T U V X

Copyright © 2011-2012 The Dojo Foundation. All Rights Reserved.