Top Description Inners Methods
io.vertx.core.net.impl.pool

public Interface Executor<S>

Known Direct Implementers
io.vertx.core.net.impl.pool.SemaphoreExecutor, io.vertx.core.net.impl.pool.CombinerExecutor

An executor of tasks acting on a given state in a serial fashion.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
Executor.Action<S>

The action.

Method Summary

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

Submit an action.

Method Detail

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

Submit an action.

Parameters
action:Executor.Action<S>

the action

io.vertx.core.net.impl.pool back to summary

public Interface Executor.Action<S>

Known Direct Implementers
io.vertx.core.net.impl.pool.SimpleConnectionPool.ConnectSuccess, io.vertx.core.net.impl.pool.SimpleConnectionPool.ConnectFailed, io.vertx.core.net.impl.pool.SimpleConnectionPool.Remove, io.vertx.core.net.impl.pool.SimpleConnectionPool.SetConcurrency, io.vertx.core.net.impl.pool.SimpleConnectionPool.Evict, io.vertx.core.net.impl.pool.SimpleConnectionPool.Acquire, io.vertx.core.net.impl.pool.SimpleConnectionPool.Cancel, io.vertx.core.net.impl.pool.SimpleConnectionPool.Recycle, io.vertx.core.net.impl.pool.SimpleConnectionPool.Close

The action.

Method Summary

Modifier and TypeMethod and Description
public Task

Returns:

the post action to execute or null if nothing should happen
execute
(S
the state to update
state
)

Execute the action, the action should be side effect free and only update the state.

Method Detail

executeback to summary
public Task execute(S state)

Execute the action, the action should be side effect free and only update the state. Side effect actions should be executed in the returned post action.

Parameters
state:S

the state to update

Returns:Task

the post action to execute or null if nothing should happen