Uses of Interface
org.datanucleus.flush.Operation
Packages that use Operation
Package
Description
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
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 OperationModifier and TypeMethodDescriptionvoid
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.flushModifier and TypeInterfaceDescriptioninterface
(Queued) operation performed on a backing store.Classes in org.datanucleus.flush that implement OperationModifier and TypeClassDescriptionclass
Add operation for a collection where we have a backing store.class
Clear operation for a collection where we have a backing store.class
Remove operation for a collection.class
Flush operation for a delete of the specified object.class
Add operation at a position for a list where we have a backing store.class
Remove operation for a list at a particular index where we have a backing store.class
Set operation for a list where we have a backing store.class
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
Flush operation for a persist of the specified object.class
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 OperationMethods in org.datanucleus.flush that return types with arguments of type OperationModifier and TypeMethodDescriptionOperationQueue.getOperations()
Method to provide access to inspect the queued operations.Methods in org.datanucleus.flush with parameters of type OperationModifier and TypeMethodDescriptionvoid
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 OperationModifier and TypeMethodDescriptionprotected 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)