Package com.hazelcast.concurrent.semaphore.operations

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


                    case ACQUIRE_BACKUP_OPERATION:
                        return new AcquireBackupOperation();
                    case ACQUIRE_OPERATION:
                        return new AcquireOperation();
                    case AVAILABLE_OPERATION:
                        return new AvailableOperation();
                    case DEAD_MEMBER_BACKUP_OPERATION:
                        return new DeadMemberBackupOperation();
                    case DRAIN_BACKUP_OPERATION:
                        return new DrainBackupOperation();
                    case DRAIN_OPERATION:
View Full Code Here


        }
    }

    @Override
    public int availablePermits() {
        AvailableOperation operation = new AvailableOperation(name);
        InternalCompletableFuture<Integer> future = invoke(operation);
        return future.getSafely();
    }
View Full Code Here

        super(name, -1);
    }

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

        super(name, -1);
    }

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

        super(name, -1);
    }

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

TOP

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

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.