public interface SyncListener
Modifier and Type | Method and Description |
---|---|
void |
syncDidFinish(MirroredIndex index,
Throwable error,
MirroredIndex.SyncStats stats)
Synchronization has just finished.
|
void |
syncDidStart(MirroredIndex index)
Synchronization has just started.
|
void syncDidStart(MirroredIndex index)
index
- The synchronizing index.void syncDidFinish(MirroredIndex index, Throwable error, MirroredIndex.SyncStats stats)
index
- The synchronizing index.error
- Null if success, otherwise indicates the error.stats
- Statistics about the sync.