@Override
public Boolean call ()
throws ExecutionException,
InterruptedException
{
final KeyValueMessage kvMessage = (KeyValueMessage) parameters[0];
final String key = kvMessage.getKey ();
int exp = 0;
final byte[] data = kvMessage.getData ();
if (parameters.length == 2) {
exp = (Integer) parameters[1];
}
final Future<Boolean> opResult = MemcachedOperationFactory.this.mcClient.set (key, exp, data);
return opResult.get ();