
com.alachisoft.ncache.client.internal.caching.AsyncItemAddedCallback Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.alachisoft.ncache.client.internal.caching;
/**
* Provide method for notifying applications after a request for asynchronous add operation
* completes.
*
* @author Administrator
*/
interface AsyncItemAddedCallback {
/**
* This method is called when async add operation completes
*
* @param key The cache key used to reference the item.
* @param 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.
*/
public void asyncItemAdded(String key, Object result);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy