Interface ChangeRequestHttpSyncer.Listener<T>
-
- Enclosing class:
- ChangeRequestHttpSyncer<T>
public static interface ChangeRequestHttpSyncer.Listener<T>Concurrency guarantees: all calls tofullSync(java.util.List<T>)anddeltaSync(java.util.List<T>)(that is done within theChangeRequestHttpSyncer.executor) are linearizable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeltaSync(List<T> changes)voidfullSync(List<T> changes)This method is called either if on the previous request the server had asked to reset the counter or it was the first request to the server.
-