Skip navigation links
A D G I R S T 

A

acquire(int, Runnable) - Method in class io.vertxconcurrent.Semaphore
Acquires the given number of permits from this semaphore.
acquire(Runnable) - Method in class io.vertxconcurrent.Semaphore
Acquires one permit from this semaphore.

D

drainPermits() - Method in class io.vertxconcurrent.Semaphore
Acquires and returns all permits that are immediately available.

G

getAvailablePermits() - Method in class io.vertxconcurrent.Semaphore
Returns the current number of permits available in this semaphore.
getQueueLength() - Method in class io.vertxconcurrent.Semaphore
Returns the number of enqueued requests waiting to acquire.

I

io.vertxconcurrent - package io.vertxconcurrent
 

R

release(int) - Method in class io.vertxconcurrent.Semaphore
Releases the given number of permits, returning them to the semaphore.
release() - Method in class io.vertxconcurrent.Semaphore
Releases one permit, returning it to the semaphore.

S

Semaphore - Class in io.vertxconcurrent
A counting semaphore.
Semaphore(int, Vertx) - Constructor for class io.vertxconcurrent.Semaphore
Creates a Semaphore with the given number of permits and nonfair fairness setting.
Semaphore(int, boolean, Vertx) - Constructor for class io.vertxconcurrent.Semaphore
Creates a Semaphore with the given number of permits and the given fairness setting.
Semaphore(int, Vertx) - Constructor for class io.vertxconcurrent.Semaphore
Creates a Semaphore with the given number of permits and nonfair fairness setting.
Semaphore(int, boolean, Vertx) - Constructor for class io.vertxconcurrent.Semaphore
Creates a Semaphore with the given number of permits and the given fairness setting.

T

tryAcquire(int) - Method in class io.vertxconcurrent.Semaphore
Acquires the given number of permits from this semaphore, only if they are available at the time of invocation.
tryAcquire() - Method in class io.vertxconcurrent.Semaphore
Acquires a permit from this semaphore, only if one is available at the time of invocation.
tryAcquire(int, long, TimeUnit, Consumer<Boolean>) - Method in class io.vertxconcurrent.Semaphore
Acquires the given number of permits from this semaphore, if all become available within the given waiting time.
tryAcqure(long, TimeUnit, Consumer<Boolean>) - Method in class io.vertxconcurrent.Semaphore
Acquires one permit from this semaphore, if it becomes available within the given waiting time.
A D G I R S T 
Skip navigation links

Copyright © 2015. All rights reserved.