Package com.hazelcast.concurrent.semaphore.operations

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


                    case REDUCE_OPERATION:
                        return new ReduceOperation();
                    case RELEASE_BACKUP_OPERATION:
                        return new ReleaseBackupOperation();
                    case RELEASE_OPERATION:
                        return new ReleaseOperation();
                    case SEMAPHORE_DEAD_MEMBER_OPERATION:
                        return new SemaphoreDeadMemberOperation();
                    case SEMAPHORE_REPLICATION_OPERATION:
                        return new SemaphoreReplicationOperation();
                    default:
View Full Code Here


    }

    @Override
    public void release(int permits) {
        isNotNegative(permits, "permits");
        ReleaseOperation operation = new ReleaseOperation(name, permits);
        InternalCompletableFuture future = invoke(operation);
        future.getSafely();
    }
View Full Code Here

        super(name, permitCount);
    }

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

        super(name, permitCount);
    }

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

        super(name, permitCount);
    }

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

TOP

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

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.