com.alachisoft.ncache.web.caching
Interface AsyncItemAddedCallback
public interface AsyncItemAddedCallback
Provide method for notifying applications after a request for asynchronous add operation
completes.
Method Summary |
void |
asyncItemAdded(java.lang.String key,
java.lang.Object result)
This method is called when async add operation completes |
asyncItemAdded
void asyncItemAdded(java.lang.String key,
java.lang.Object result)
- This method is called when async add operation completes
- Parameters:
key
- The cache key used to reference the item.result
- The result of the Async Operation. If the operation completes successfully,
it contatins 1 otherwise it contains an OperationFailedException indicating
the cause of operation failure.