MemcachedStub.logger.trace (mssgPrefix + mcMessage.toString () + " key: " + key + " - request id: " + token.getMessageId () + " client id: " + token.getClientId ());
exp = replaceRequest.getExpTime ();
data = replaceRequest.getValue ().toByteArray ();
messageData = new eu.mosaic_cloud.platform.interop.common.kv.KeyValueMessage (key, data, replaceRequest.getEnvelope ().getContentEncoding (), replaceRequest.getEnvelope ().getContentType ());
callback = new DriverOperationFinishedHandler (token, session, MemcachedDriver.class, MemcachedResponseTransmitter.class);
resultStore = driver.invokeReplaceOperation (token.getClientId (), messageData, exp, callback);
callback.setDetails (KeyValueOperations.REPLACE, resultStore);
break;
case CAS_REQUEST :
final MemcachedPayloads.CasRequest casRequest = (CasRequest) message.payload;
token = casRequest.getToken ();