Uses of Interface
org.datanucleus.flush.Operation
-
Packages that use Operation Package Description org.datanucleus This package provides classes that are typically externally called, whether that means by developers or by other DataNucleus plugins.org.datanucleus.flush This package provides classes managing the flush process when using MANUAL flush. -
-
Uses of Operation in org.datanucleus
Methods in org.datanucleus with parameters of type Operation Modifier and Type Method Description void
ExecutionContext. addOperationToQueue(Operation oper)
Method to add an operation to the queue.void
ExecutionContextImpl. addOperationToQueue(Operation oper)
-
Uses of Operation in org.datanucleus.flush
Subinterfaces of Operation in org.datanucleus.flush Modifier and Type Interface Description interface
SCOOperation
(Queued) operation performed on a backing store.Classes in org.datanucleus.flush that implement Operation Modifier and Type Class Description class
CollectionAddOperation<E>
Add operation for a collection where we have a backing store.class
CollectionClearOperation
Clear operation for a collection where we have a backing store.class
CollectionRemoveOperation<E>
Remove operation for a collection.class
DeleteOperation
Flush operation for a delete of the specified object.class
ListAddAtOperation<E>
Add operation at a position for a list where we have a backing store.class
ListRemoveAtOperation<E>
Remove operation for a list at a particular index where we have a backing store.class
ListSetOperation<E>
Set operation for a list where we have a backing store.class
MapClearOperation
Clear operation for a map where we have a backing store.class
MapPutOperation<K,V>
Put operation for a map where we have a backing store.class
MapRemoveOperation<K,V>
Remove operation for a map where we have a backing store.class
PersistOperation
Flush operation for a persist of the specified object.class
UpdateMemberOperation
Flush operation for an update of the value of a member of the specified object.Fields in org.datanucleus.flush with type parameters of type Operation Modifier and Type Field Description protected List<Operation>
OperationQueue. queuedOperations
Methods in org.datanucleus.flush that return types with arguments of type Operation Modifier and Type Method Description List<Operation>
OperationQueue. getOperations()
Method to provide access to inspect the queued operations.Methods in org.datanucleus.flush with parameters of type Operation Modifier and Type Method Description void
OperationQueue. enqueue(Operation oper)
Method to add the specified operation to the operation queue.protected static boolean
OperationQueue. isAddFollowedByRemoveOnSameSCO(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter)
Convenience optimisation checker to return if the current operation is ADD of an element that is immediately REMOVED.protected static boolean
OperationQueue. isPutFollowedByRemoveOnSameSCO(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter)
Convenience optimisation checker to return if the current operation is PUT of a key that is immediately REMOVED.protected static boolean
OperationQueue. isRemoveFollowedByAddOnSameSCO(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter)
Convenience optimisation checker to return if the current operation is REMOVE of an element that is immediately ADDed.Method parameters in org.datanucleus.flush with type arguments of type Operation Modifier and Type Method Description protected static boolean
OperationQueue. isAddFollowedByRemoveOnSameSCO(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter)
Convenience optimisation checker to return if the current operation is ADD of an element that is immediately REMOVED.protected static boolean
OperationQueue. isPutFollowedByRemoveOnSameSCO(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter)
Convenience optimisation checker to return if the current operation is PUT of a key that is immediately REMOVED.protected static boolean
OperationQueue. isRemoveFollowedByAddOnSameSCO(Store store, DNStateManager sm, Operation currentOper, ListIterator<Operation> listIter)
Convenience optimisation checker to return if the current operation is REMOVE of an element that is immediately ADDed.void
OperationQueue. removeOperations(List<Operation> removedOps)
-