org.jppf.server.debug
Class ServerDebug

java.lang.Object
  extended by org.jppf.server.debug.ServerDebug
All Implemented Interfaces:
Serializable, ServerDebugMBean

public class ServerDebug
extends Object
implements ServerDebugMBean

Author:
Laurent Cohen
See Also:
Serialized Form

Constructor Summary
ServerDebug()
           
 
Method Summary
 void addChannel(ChannelWrapper<?> channel, String serverName)
          Add a channel to those observed.
 String[] classLoaderChannels()
          Get the states of the class loader channels.
 String[] nodeDataChannels()
          Get the states of the node data channels.
 void removeChannel(ChannelWrapper<?> channel, String serverName)
          Remove a channel from those observed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerDebug

public ServerDebug()
Method Detail

classLoaderChannels

public String[] classLoaderChannels()
Get the states of the class loader channels.

Specified by:
classLoaderChannels in interface ServerDebugMBean
Returns:
the states as as an array of strings.

nodeDataChannels

public String[] nodeDataChannels()
Get the states of the node data channels.

Specified by:
nodeDataChannels in interface ServerDebugMBean
Returns:
the states as as an array of strings.

addChannel

public void addChannel(ChannelWrapper<?> channel,
                       String serverName)
Add a channel to those observed.

Parameters:
channel - the channel to add.
serverName - the name of the server that owns the channel.

removeChannel

public void removeChannel(ChannelWrapper<?> channel,
                          String serverName)
Remove a channel from those observed.

Parameters:
channel - the channel to add.
serverName - the name of the server that owns the channel.


Copyright © 2005-2010 JPPF Team.