Examples of invokePrependOperation()


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

        key = prependRequest.getKey ();
        MemcachedStub.logger.trace (mssgPrefix + mcMessage.toString () + " key: " + key + " - request id: " + token.getMessageId () + " client id: " + token.getClientId ());
        data = prependRequest.getValue ().toByteArray ();
        messageData = new eu.mosaic_cloud.platform.interop.common.kv.KeyValueMessage (key, data, prependRequest.getEnvelope ().getContentEncoding (), prependRequest.getEnvelope ().getContentType ());
        callback = new DriverOperationFinishedHandler (token, session, MemcachedDriver.class, MemcachedResponseTransmitter.class);
        resultStore = driver.invokePrependOperation (token.getClientId (), messageData, callback);
        callback.setDetails (KeyValueOperations.PREPEND, resultStore);
        break;
      case REPLACE_REQUEST :
        final MemcachedPayloads.ReplaceRequest replaceRequest = (ReplaceRequest) message.payload;
        token = replaceRequest.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.