Package com.hazelcast.queue

Examples of com.hazelcast.queue.CompareAndRemoveOperation


        this.dataList = dataList;
        this.retain = retain;
    }

    protected Operation prepareOperation() {
        return new CompareAndRemoveOperation(name, dataList, retain);
    }
View Full Code Here


        this.retain = retain;
    }

    @Override
    protected Operation prepareOperation() {
        return new CompareAndRemoveOperation(name, dataList, retain);
    }
View Full Code Here

        AddAllOperation operation = new AddAllOperation(name, dataList);
        return (Boolean) invokeAndGet(operation);
    }

    boolean compareAndRemove(Collection<Data> dataList, boolean retain) {
        CompareAndRemoveOperation operation = new CompareAndRemoveOperation(name, dataList, retain);
        return (Boolean) invokeAndGet(operation);
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.queue.CompareAndRemoveOperation

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.