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.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutionContext.addOperationToQueue(Operation oper)
Method to add an operation to the queue.
|
void |
ExecutionContextImpl.addOperationToQueue(Operation oper) |
Modifier and Type | Interface and Description |
---|---|
interface |
SCOOperation
(Queued) operation performed on a backing store.
|
Modifier and Type | Class and Description |
---|---|
class |
CollectionAddOperation
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
Remove operation for a collection.
|
class |
DeleteOperation
Flush operation for a delete of the specified object.
|
class |
ListAddAtOperation
Add operation at a position for a list where we have a backing store.
|
class |
ListRemoveAtOperation
Remove operation for a list at a particular index where we have a backing store.
|
class |
ListSetOperation
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
Put operation for a map where we have a backing store.
|
class |
MapRemoveOperation
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.
|
Modifier and Type | Field and Description |
---|---|
protected List<Operation> |
OperationQueue.queuedOperations |
Modifier and Type | Method and Description |
---|---|
List<Operation> |
OperationQueue.getOperations()
Method to provide access to inspect the queued operations.
|
Modifier and Type | Method and Description |
---|---|
void |
OperationQueue.enqueue(Operation oper)
Method to add the specified operation to the operation queue.
|
protected static boolean |
OperationQueue.isAddFollowedByRemoveOnSameSCO(Store store,
ObjectProvider op,
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,
ObjectProvider op,
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,
ObjectProvider op,
Operation currentOper,
ListIterator<Operation> listIter)
Convenience optimisation checker to return if the current operation is REMOVE of an element that is
immediately ADDed.
|
Modifier and Type | Method and Description |
---|---|
protected static boolean |
OperationQueue.isAddFollowedByRemoveOnSameSCO(Store store,
ObjectProvider op,
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,
ObjectProvider op,
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,
ObjectProvider op,
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) |
Copyright © 2019. All rights reserved.