Package com.hazelcast.concurrent.semaphore.operations

Examples of com.hazelcast.concurrent.semaphore.operations.ReduceOperation


                    case INIT_OPERATION:
                        return new InitOperation();
                    case REDUCE_BACKUP_OPERATION:
                        return new ReduceBackupOperation();
                    case REDUCE_OPERATION:
                        return new ReduceOperation();
                    case RELEASE_BACKUP_OPERATION:
                        return new ReleaseBackupOperation();
                    case RELEASE_OPERATION:
                        return new ReleaseOperation();
                    case SEMAPHORE_DEAD_MEMBER_OPERATION:
View Full Code Here


    }

    @Override
    public void reducePermits(int reduction) {
        isNotNegative(reduction, "reduction");
        ReduceOperation operation = new ReduceOperation(name, reduction);
        InternalCompletableFuture<Object> future = invoke(operation);
        future.getSafely();
    }
View Full Code Here

        super(name, permitCount);
    }

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

        super(name, permitCount);
    }

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

TOP

Related Classes of com.hazelcast.concurrent.semaphore.operations.ReduceOperation

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.