Interface FlushProcess

  • 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 Detail

      • execute

        java.util.List<NucleusOptimisticException> execute​(ExecutionContext ec,
                                                           java.util.Collection<DNStateManager> primarySMs,
                                                           java.util.Collection<DNStateManager> secondarySMs,
                                                           OperationQueue opQueue)
        Execute the flush.
        Parameters:
        ec - ExecutionContext
        primarySMs - StateManagers that were made dirty by direct API calls. Cleared during this method
        secondarySMs - StateManagers that were made dirty by reachability. Cleared during this method
        opQueue - Queue of operations
        Returns:
        Any optimistic exceptions during the deletes/inserts/updates