Package com.hazelcast.queue.impl.operations

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


        super(name);
    }

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


        SizeOperation operation = new SizeOperation(name);
        return (Integer) invokeAndGet(operation);
    }

    public int remainingCapacity() {
        RemainingCapacityOperation operation = new RemainingCapacityOperation(name);
        return (Integer) invokeAndGet(operation);
    }
View Full Code Here

            }
        };
        constructors[REMAINING_CAPACITY] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() {
            @Override
            public IdentifiedDataSerializable createNew(Integer arg) {
                return new RemainingCapacityOperation();
            }
        };

        return new ArrayDataSerializableFactory(constructors);
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.queue.impl.operations.RemainingCapacityOperation

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.