Package com.hazelcast.concurrent.semaphore.operations

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


                    case DRAIN_OPERATION:
                        return new DrainOperation();
                    case INIT_BACKUP_OPERATION:
                        return new InitBackupOperation();
                    case INIT_OPERATION:
                        return new InitOperation();
                    case REDUCE_BACKUP_OPERATION:
                        return new ReduceBackupOperation();
                    case REDUCE_OPERATION:
                        return new ReduceOperation();
                    case RELEASE_BACKUP_OPERATION:
View Full Code Here


    }

    @Override
    public boolean init(int permits) {
        isNotNegative(permits, "permits");
        InitOperation operation = new InitOperation(name, permits);
        InternalCompletableFuture<Boolean> future = invoke(operation);
        return future.getSafely();
    }
View Full Code Here

        super(name, permitCount);
    }

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

        super(name, permitCount);
    }

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

TOP

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

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.