Package com.hazelcast.map.operation

Examples of com.hazelcast.map.operation.GetEntryViewOperation


    public Object getKey() {
        return key;
    }

    protected Operation prepareOperation() {
        GetEntryViewOperation op = new GetEntryViewOperation(name, key);
        return op;
    }
View Full Code Here


    }

    protected EntryView getEntryViewInternal(final Data key) {
        final NodeEngine nodeEngine = getNodeEngine();
        int partitionId = nodeEngine.getPartitionService().getPartitionId(key);
        GetEntryViewOperation getEntryViewOperation = new GetEntryViewOperation(name, key);
        getEntryViewOperation.setServiceName(SERVICE_NAME);
        try {
            Future f = nodeEngine.getOperationService().invokeOnPartition(SERVICE_NAME, getEntryViewOperation, partitionId);
            Object o = getService().getMapServiceContext().toObject(f.get());
            return (EntryView) o;
        } catch (Throwable t) {
View Full Code Here

    public Object getKey() {
        return key;
    }

    protected Operation prepareOperation() {
        GetEntryViewOperation op = new GetEntryViewOperation(name, key);
        return op;
    }
View Full Code Here

TOP

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

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.