org.datanucleus
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.
LOCALISER
static final Localiser LOCALISER
- Localisation utility for output messages
execute
List<NucleusOptimisticException> execute(ExecutionContext ec,
List<ObjectProvider> primaryOPs,
List<ObjectProvider> secondaryOPs,
SCOOperationQueue scoQueue)
- Execute the flush.
- Parameters:
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 methodscoQueue - Queue of SCO operations
- Returns:
- Any optimistic exceptions during the deletes/inserts/updates
Copyright © 2013. All Rights Reserved.