Examples of PollOperation


Examples of com.hazelcast.queue.PollOperation

    public PollRequest(String name, long timeoutMillis) {
        super(name, timeoutMillis);
    }

    protected Operation prepareOperation() {
        return new PollOperation(name, timeoutMillis);
    }
View Full Code Here

Examples of com.hazelcast.queue.PollOperation

        super(name, timeoutMillis);
    }

    @Override
    protected Operation prepareOperation() {
        return new PollOperation(name, timeoutMillis);
    }
View Full Code Here

Examples of com.hazelcast.queue.PollOperation

        PeekOperation operation = new PeekOperation(name);
        return invokeAndGetData(operation);
    }

    Object pollInternal(long timeout) throws InterruptedException {
        PollOperation operation = new PollOperation(name, timeout);
        try {
            return invokeAndGet(operation);
        } catch (Throwable throwable) {
            throw ExceptionUtil.rethrowAllowInterrupted(throwable);
        }
View Full Code Here

Examples of com.hazelcast.queue.impl.operations.PollOperation

        PeekOperation operation = new PeekOperation(name);
        return invokeAndGetData(operation);
    }

    Object pollInternal(long timeout) throws InterruptedException {
        PollOperation operation = new PollOperation(name, timeout);
        try {
            return invokeAndGet(operation);
        } catch (Throwable throwable) {
            throw ExceptionUtil.rethrowAllowInterrupted(throwable);
        }
View Full Code Here

Examples of com.hazelcast.queue.impl.operations.PollOperation

        super(name, timeoutMillis);
    }

    @Override
    protected Operation prepareOperation() {
        return new PollOperation(name, timeoutMillis);
    }
View Full Code Here

Examples of com.hazelcast.queue.impl.operations.PollOperation

                return new OfferBackupOperation();
            }
        };
        constructors[POLL] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() {
            public IdentifiedDataSerializable createNew(Integer arg) {
                return new PollOperation();
            }
        };
        constructors[POLL_BACKUP] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() {
            public IdentifiedDataSerializable createNew(Integer arg) {
                return new PollBackupOperation();
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.