Package com.hazelcast.queue

Examples of com.hazelcast.queue.DrainOperation


        super(name);
        this.maxSize = maxSize;
    }

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


        this.maxSize = maxSize;
    }

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

        SerializableCollection collectionContainer = invokeAndGet(operation);
        return (List<Data>) collectionContainer.getCollection();
    }

    Collection<Data> drainInternal(int maxSize) {
        DrainOperation operation = new DrainOperation(name, maxSize);
        SerializableCollection collectionContainer = invokeAndGet(operation);
        return collectionContainer.getCollection();
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.queue.DrainOperation

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.