public class FlushNonReferential extends Object implements FlushProcess
Constructor and Description |
---|
FlushNonReferential() |
Modifier and Type | Method and Description |
---|---|
List<NucleusOptimisticException> |
execute(ExecutionContext ec,
List<ObjectProvider> primaryOPs,
List<ObjectProvider> secondaryOPs,
OperationQueue opQueue)
Execute the flush.
|
List<NucleusOptimisticException> |
flushDeleteInsertUpdateGrouped(Set<ObjectProvider> opsToFlush,
ExecutionContext ec)
Method that does the flushing of the passed ObjectProviders, grouping them into all DELETEs, then all INSERTs,
finally all UPDATEs.
|
public List<NucleusOptimisticException> execute(ExecutionContext ec, List<ObjectProvider> primaryOPs, List<ObjectProvider> secondaryOPs, OperationQueue opQueue)
FlushProcess
execute
in interface FlushProcess
ec
- ExecutionContextprimaryOPs
- ObjectProviders that were made dirty by direct API calls. Cleared during this methodsecondaryOPs
- ObjectProviders that were made dirty by reachability. Cleared during this methodopQueue
- Queue of operationspublic List<NucleusOptimisticException> flushDeleteInsertUpdateGrouped(Set<ObjectProvider> opsToFlush, ExecutionContext ec)
opsToFlush
- The ObjectProviders to processec
- ExecutionContextCopyright © 2019. All rights reserved.