net.spy.memcached.util
Interface CacheLoader.StorageListener
- Enclosing class:
- CacheLoader
public static interface CacheLoader.StorageListener
If you are interested in the results of your data load, this interface will
receive them.
Method Summary |
void |
errorStoring(java.lang.String k,
java.lang.Exception e)
|
void |
storeResult(java.lang.String k,
boolean result)
Normal path response for a set. |
storeResult
void storeResult(java.lang.String k,
boolean result)
- Normal path response for a set.
- Parameters:
k
- the key that was being setresult
- true if the set changed the DB value
errorStoring
void errorStoring(java.lang.String k,
java.lang.Exception e)
- Parameters:
k
- the key that was attempting to be storede
- the error received while storing that key
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.