public static interface AsyncCacheLoader.Callback<V> extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
onLoadFailure(Throwable t)
Called if a failure happened.
|
void |
onLoadSuccess(V value)
Called to provide the loaded value to be stored in the cache.
|
void onLoadSuccess(V value)
IllegalStateException
- if the callback was already madevoid onLoadFailure(Throwable t)
IllegalStateException
- if the callback was already madecache2k API documentation. Copyright © 2000–2020 headissue GmbH, Munich.