Top Fields Constructors Methods
io.vertx.core.net.impl.pool

public Class SemaphoreExecutor<S>

extends Object
implements Executor<S>
Class Inheritance
All Implemented Interfaces
io.vertx.core.net.impl.pool.Executor
Imports
java.util.concurrent.locks.Lock, .ReentrantLock

Field Summary

Modifier and TypeField and Description
private final Lock
private final S

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
submit(Executor.Action<S>
the action
action
)

Implements io.vertx.core.net.impl.pool.Executor.submit.

Submit an action.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lockback to summary
private final Lock lock
stateback to summary
private final S state

Constructor Detail

SemaphoreExecutorback to summary
public SemaphoreExecutor(S state)

Method Detail

submitback to summary
public void submit(Executor.Action<S> action)

Implements io.vertx.core.net.impl.pool.Executor.submit.

Doc from io.vertx.core.net.impl.pool.Executor.submit.

Submit an action.

Parameters
action:Executor.Action<S>

the action

Annotations
@Override