| com.tc.object.tx.optimistic.OptimisticTransactionManager
All known Subclasses: com.tc.object.tx.optimistic.OptimisticTransactionManagerImpl,
OptimisticTransactionManager | public interface OptimisticTransactionManager (Code) | | Transaction manager, just one in a client VM. Manages transactions per thread. Nested transactions
are not supported.
|
addClonesToTransaction | public void addClonesToTransaction(Map cloned)(Code) | | Add a map of original->cloned objects to the transactions
cloned, original->clone |
begin | public void begin()(Code) | | Begin a transaction for the current thread.
|
convertToParameter | public Object convertToParameter(Object clone)(Code) | | Convert to an ObjectID or literal value
Parameters: clone - The object ObjectID or literal value for this object |
logicalInvoke | public void logicalInvoke(TCObject clone, int method, String methodName, Object[] parameters)(Code) | | Indicate a logical invocation in the transaction
Parameters: clone - The object wrapper Parameters: method - The method, as defined in com.tc.object.SerializationUtil Parameters: methodName - Method Parameters: parameters - Parameter values |
objectFieldChanged | public void objectFieldChanged(TCObject clone, String classname, String fieldname, Object newValue, int index)(Code) | | Indicate an object field change in the transaction
Parameters: clone - The object wrapper Parameters: className - Class Parameters: fieldName - Field Parameters: newValue - New field value Parameters: index - Index if newValue is an array |
rollback | public void rollback()(Code) | | Rollback the transaction in the current thread.
|
|
|