Examples of GetEntryViewOperation


Examples of com.hazelcast.map.impl.operation.GetEntryViewOperation

    public Object getKey() {
        return key;
    }

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

Examples of com.hazelcast.map.impl.operation.GetEntryViewOperation

    }

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

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

Examples of com.hazelcast.map.operation.GetEntryViewOperation

    }

    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

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
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.