-
- All Known Implementing Classes:
FlushNonReferential
,FlushOrdered
public interface FlushProcess
Representation of a persistence flush process. Decides in what order the "dirty" objects/fields are to be processed in.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<NucleusOptimisticException>
execute(ExecutionContext ec, Collection<DNStateManager> primarySMs, Collection<DNStateManager> secondarySMs, OperationQueue opQueue)
Execute the flush.
-
-
-
Method Detail
-
execute
List<NucleusOptimisticException> execute(ExecutionContext ec, Collection<DNStateManager> primarySMs, Collection<DNStateManager> secondarySMs, OperationQueue opQueue)
Execute the flush.- Parameters:
ec
- ExecutionContextprimarySMs
- StateManagers that were made dirty by direct API calls. Cleared during this methodsecondarySMs
- StateManagers that were made dirty by reachability. Cleared during this methodopQueue
- Queue of operations- Returns:
- Any optimistic exceptions during the deletes/inserts/updates
-
-