Package org.datanucleus.store.types.sco.queued

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

See:
          Description

Interface Summary
QueuedOperation<TStore extends Store> 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.
ClearCollectionOperation Clear operation for a collection or map.
ClearMapOperation Clear operation for a collection or map.
OperationQueue<TStore extends Store> Queue of operations to be performed on a second class collection/map.
PutOperation Put operation for a map.
RemoveAtOperation Remove operation for a list at a particular index.
RemoveCollectionOperation Remove operation for a collection or map.
RemoveMapOperation Remove operation for a collection or map.
SetOperation Set operation for a list.
 

Package org.datanucleus.store.types.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 © 2011. All Rights Reserved.