public interface Synchronizer
| Modifier and Type | Interface and Description |
|---|---|
static class |
Synchronizer.Builder<T extends Synchronizer>
Builder class for
Synchronizer objects. |
| Modifier and Type | Method and Description |
|---|---|
PgxGraph |
apply()
Applies the changes to the underlying PGX graph.
|
void |
fetch()
Fetches the changes from the external data source.
|
GraphDelta |
getGraphDelta()
Get the description of the delta between current snapshot and the fetched changes.
|
default PgxGraph |
sync()
Synchronize changes from the external data source.
|
PgxGraph apply()
fetch() to be called first.void fetch()
throws java.sql.SQLException
apply().java.sql.SQLExceptionGraphDelta getGraphDelta()