Package org.datanucleus.sco.queued

This package provides classes allowing SCO containers to queue mutating commands (add, remove, clear etc).

See:
          Description

Interface Summary
QueuedOperation Interface for an operation that a SCO wrapper should support when queueing its operations (optimistic transactions).
 

Class Summary
AddAtOperation Add operation at a position for a list.
AddOperation Add operation for a collection.
ClearOperation Clear operation for a collection or map.
PutOperation Put operation for a map.
RemoveAtOperation Remove operation for a list at a particular index.
RemoveOperation Remove operation for a collection or map.
SetOperation Set operation for a list.
 

Package org.datanucleus.sco.queued Description

This package provides classes allowing SCO containers to queue mutating commands (add, remove, clear etc). When a SCO is operating in "queued" mode it saves the operation for processing at some later point. This is to cater for optimistic transactions where we want to delay all datastore updates until the commit stage and do it later.

All operations implement QueuedOperation and have a perform() method to actually perform the operation on the backing store it was required for.



Copyright © 2010. All Rights Reserved.