Top Description Methods
org.glassfish.grizzly.monitoring

public Interface MonitoringConfig<E>

Known Direct Implementers
org.glassfish.grizzly.monitoring.DefaultMonitoringConfig

General monitoring configuration interface.
Author
Alexey Stashok

Method Summary

Modifier and TypeMethod and Description
public void
addProbes(E...
the monitoring probes.
probes
)

Add the monitoring probes, which will be notified about object's lifecycle events.

public void
clearProbes()

Removes all the monitoring probes, which are registered on the object.

public Object

Returns:

the JMX Object, which represents this object.
createManagementObject
()

Create the JMX Object, which represents this object.

public E[]

Returns:

the the monitoring probes, which are registered on the object.
getProbes
()

Get the the monitoring probes, which are registered on the objet.

public boolean
public boolean
removeProbes(E...
the monitoring probes.
probes
)

Remove the monitoring probes.

Method Detail

addProbesback to summary
public void addProbes(E... probes)

Add the monitoring probes, which will be notified about object's lifecycle events.

Parameters
probes:E[]

the monitoring probes.

clearProbesback to summary
public void clearProbes()

Removes all the monitoring probes, which are registered on the object.

createManagementObjectback to summary
public Object createManagementObject()

Create the JMX Object, which represents this object.

Returns:Object

the JMX Object, which represents this object.

getProbesback to summary
public E[] getProbes()

Get the the monitoring probes, which are registered on the objet. Please note, it's not appropriate to modify the returned array's content. Please use addProbes(Object[]) and removeProbes(Object[]) instead.

Returns:E[]

the the monitoring probes, which are registered on the object.

hasProbesback to summary
public boolean hasProbes()
removeProbesback to summary
public boolean removeProbes(E... probes)

Remove the monitoring probes.

Parameters
probes:E[]

the monitoring probes.