org.datanucleus.store.types.sco.queued
Class OperationQueue<TStore extends Store>
java.lang.Object
org.datanucleus.store.types.sco.queued.OperationQueue<TStore>
public class OperationQueue<TStore extends Store>
- extends java.lang.Object
Queue of operations to be performed on a second class collection/map.
When we are queueing operations until flush()/commit() they wait in this queue until the moment
arrives for flushing to the datastore (and
performAll
is called).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCALISER
protected static final Localiser LOCALISER
OperationQueue
public OperationQueue()
enqueue
public void enqueue(QueuedOperation<? super TStore> oper)
- Method to add the specified operation to the operation queue.
- Parameters:
oper - Operation
performAll
public void performAll(TStore store,
ObjectProvider op,
java.lang.String fieldName)
- Method to perform all operations in the queue.
- Parameters:
store - The backing storeop - ObjectProvider for the owner object.fieldName - Name of the field for this container in the owner object.
Copyright © 2011. All Rights Reserved.