journal.io.api
Interface WriteCallback


public interface WriteCallback

Callback interface, providing methods notified after write syncing either succeeds or fails.

Author:
Sergio Bossa

Method Summary
 void onError(Location location, Throwable error)
          Method called after failed write syncing.
 void onSync(Location syncedLocation)
          Method called after successful write syncing.
 

Method Detail

onSync

void onSync(Location syncedLocation)
Method called after successful write syncing.

Parameters:
syncedLocation -

onError

void onError(Location location,
             Throwable error)
Method called after failed write syncing.

Parameters:
location -
error -


Copyright © 2013. All Rights Reserved.