Top Methods
org.xnio.management

public Interface XnioWorkerMXBean

Imports
java.util.Set

Author
David M. Lloyd

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the estimated number of busy threads in the worker pool
getBusyWorkerThreadCount
()

Get an estimate of the number of busy threads in the worker pool.

public int

Returns:

the core worker pool size
getCoreWorkerPoolSize
()

Get the core worker thread pool size.

public int

Returns:

the I/O thread count
getIoThreadCount
()

Get the I/O thread count.

public int

Returns:

the maximum worker pool size
getMaxWorkerPoolSize
()

Get the maximum worker thread pool size.

public String

Returns:

the worker's name
getName
()

Get the worker's name.

public String

Returns:

the name of the provider
getProviderName
()

Get the name of the provider.

public Set<XnioServerMXBean>

Returns:

set of XnioServerMXBean
getServerMXBeans
()

Get servers that are opened under this worker.

public int

Returns:

the estimated number of threads in the worker pool
getWorkerPoolSize
()

Get an estimate of the number of threads in the worker pool.

public int

Returns:

the task count estimate
getWorkerQueueSize
()

Get an estimate of the number of tasks in the worker queue.

public boolean

Returns:

true if shutdown was requested, false otherwise
isShutdownRequested
()

Determine whether shutdown has been requested for this worker.

Method Detail

getBusyWorkerThreadCountback to summary
public int getBusyWorkerThreadCount()

Get an estimate of the number of busy threads in the worker pool.

Returns:int

the estimated number of busy threads in the worker pool

getCoreWorkerPoolSizeback to summary
public int getCoreWorkerPoolSize()

Get the core worker thread pool size.

Returns:int

the core worker pool size

getIoThreadCountback to summary
public int getIoThreadCount()

Get the I/O thread count.

Returns:int

the I/O thread count

getMaxWorkerPoolSizeback to summary
public int getMaxWorkerPoolSize()

Get the maximum worker thread pool size.

Returns:int

the maximum worker pool size

getNameback to summary
public String getName()

Get the worker's name.

Returns:String

the worker's name

getProviderNameback to summary
public String getProviderName()

Get the name of the provider.

Returns:String

the name of the provider

getServerMXBeansback to summary
public Set<XnioServerMXBean> getServerMXBeans()

Get servers that are opened under this worker.

Returns:Set<XnioServerMXBean>

set of XnioServerMXBean

getWorkerPoolSizeback to summary
public int getWorkerPoolSize()

Get an estimate of the number of threads in the worker pool.

Returns:int

the estimated number of threads in the worker pool

getWorkerQueueSizeback to summary
public int getWorkerQueueSize()

Get an estimate of the number of tasks in the worker queue.

Returns:int

the task count estimate

isShutdownRequestedback to summary
public boolean isShutdownRequested()

Determine whether shutdown has been requested for this worker.

Returns:boolean

true if shutdown was requested, false otherwise