public interface CompletionListener
onCompletion()method of the
CompletionListener. If the operation fails for any reason, the Cache provider calls the
onException(Exception)method of the
CompletionListener. To support a Java Future-based approach to synchronously wait for a Cache operation to complete, use a
CompletionListenerFuture. A CompletionListener will use an implementation specific thread for the call.
void onException(Exception e)
e- the Exception that occurred
Copyright © 2013. All Rights Reserved.