Examples of invokeReplaceOperation()


Examples of eu.mosaic_cloud.drivers.kvstore.MemcachedDriver.invokeReplaceOperation()

        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 ();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.