Package com.hazelcast.map.operation

Examples of com.hazelcast.map.operation.TryPutOperation


        return MapPortableHook.TRY_PUT;
    }

    @Override
    protected Operation prepareOperation() {
        TryPutOperation op = new TryPutOperation(name, key, value, timeout);
        op.setThreadId(threadId);
        return op;
    }
View Full Code Here


        invalidateNearCache(key);
        return previousValue;
    }

    protected boolean tryPutInternal(final Data key, final Data value, final long timeout, final TimeUnit timeunit) {
        TryPutOperation operation = new TryPutOperation(name, key, value, getTimeInMillis(timeout, timeunit));
        boolean putSuccessful = (Boolean) invokeOperation(key, operation);
        invalidateNearCache(key);
        return putSuccessful;
    }
View Full Code Here

        return MapPortableHook.TRY_PUT;
    }

    @Override
    protected Operation prepareOperation() {
        TryPutOperation op = new TryPutOperation(name, key, value, timeout);
        op.setThreadId(threadId);
        return op;
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.map.operation.TryPutOperation

Copyright © 2018 www.massapicom. 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.