MemcachedStub.logger.trace (mssgPrefix + " SET key: " + key + " - request id: " + token.getMessageId () + " client id: " + token.getClientId ());
exp = setRequest.getExpTime ();
data = setRequest.getValue ().toByteArray ();
messageData = new eu.mosaic_cloud.platform.interop.common.kv.KeyValueMessage (key, data, setRequest.getEnvelope ().getContentEncoding (), setRequest.getEnvelope ().getContentType ());
callback = new DriverOperationFinishedHandler (token, session, MemcachedDriver.class, MemcachedResponseTransmitter.class);
resultStore = driver.invokeSetOperation (token.getClientId (), messageData, exp, callback);
callback.setDetails (KeyValueOperations.SET, resultStore);
handle = true;
}
} else if (kvMessage == KeyValueMessage.GET_REQUEST) {
final KeyValuePayloads.GetRequest getRequest = (GetRequest) message.payload;