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

public Interface PoolConnection<C>

Known Direct Implementers
io.vertx.core.net.impl.pool.SimpleConnectionPool.Slot
Imports
io.vertx.core.impl.ContextInternal

A wrapper for the actual connection.

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the number of times this connection can be acquired from the pool, the returned value can be negative
available
()

public long

Returns:

the total number of times this connection can be acquired
concurrency
()

public ContextInternal

Returns:

the connection context
context
()

public C

Returns:

the connection
get
()

public int

Returns:

the number of times this connection has been acquired
usage
()

Method Detail

availableback to summary
public long available()
Returns:long

the number of times this connection can be acquired from the pool, the returned value can be negative

concurrencyback to summary
public long concurrency()
Returns:long

the total number of times this connection can be acquired

contextback to summary
public ContextInternal context()
Returns:ContextInternal

the connection context

getback to summary
public C get()
Returns:C

the connection

usageback to summary
public int usage()
Returns:int

the number of times this connection has been acquired