org.cruxframework.crux.core.client.db
Class DatabaseWriteCallback<T>
java.lang.Object
org.cruxframework.crux.core.client.db.Callback
org.cruxframework.crux.core.client.db.DatabaseWriteCallback<T>
- Type Parameters:
K - The type of the key returned to this callback.
public abstract class DatabaseWriteCallback<T>
- extends Callback
Database write operation callback.
Use this callback to retrieve the key from object writen into the stores.
- Author:
- Thiago da Rosa de Bustamante
| Fields inherited from class org.cruxframework.crux.core.client.db.Callback |
db |
|
Method Summary |
abstract void |
onSuccess(T result)
Called after a successfully write operation into the database (an add or put operation). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseWriteCallback
public DatabaseWriteCallback()
onSuccess
public abstract void onSuccess(T result)
- Called after a successfully write operation into the database (an add or put operation).
- Type Parameters:
T - The type of the key assigned to the writen object.- Parameters:
result - the object to be written
Copyright © 2014. All rights reserved.