DataDomainFlushAction (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.access.flush, interface: DataDomainFlushAction

# Interface DataDomainFlushAction

All Known Implementing Classes:
  `DefaultDataDomainFlushAction`

public interface DataDomainFlushAction
A stateful commit handler used by DataContext to perform commit operation. DataDomainFlushAction resolves primary key dependencies, referential integrity dependencies (including multi-reflexive entities), generates primary keys, creates batches for massive data modifications, assigns operations to data nodes.

Since:
  4.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `GraphDiff`
  `flush(DataContext context, GraphDiff changes)`

- ## Method Details

  - ### flush

    GraphDiff flush(DataContext context, GraphDiff changes)