Package org.jppf.server.debug
Interface ServerDebugMBean
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ServerDebug
- Author:
- Laurent Cohen
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionall()View all debug info in a formatted string.Get the states of all channels.Get the states of the class loader channels.Get the states of the client data channels.Dump the job queue.Dump the job queue with fine details of the jobs.Dump the job queue with fine details of the jobs.voidTrigger method for the profiler to stop profiling.executeScript(String language, String script) Execute the specified script.Get all the current reservations.intGet the current count of job life cycle notifications.intGet the peak count of job life cycle notifications.String[]Get the jobs for which at least one node is reserved.String[]Get the nodes reserved for a job.voidPrint the specified message to the server's log.voidPrint the specified messages to the server's log.Get the states of the class loader channels.Get the states of the node data channels.Show the multimap of job uuids to the positions of tasks that have completed.voidTrigger method for the profiler to start profiling.View all idle channels held by theorg.jppf.server.nio.nodeserver.TaskQueueChecker.
-
Field Details
-
MBEAN_NAME
The name of this mbean.- See Also:
-
-
Method Details
-
clientClassLoaderChannels
String clientClassLoaderChannels()Get the states of the class loader channels.- Returns:
- the states as as an array of strings.
-
nodeClassLoaderChannels
String nodeClassLoaderChannels()Get the states of the class loader channels.- Returns:
- the states as as an array of strings.
-
nodeDataChannels
String nodeDataChannels()Get the states of the node data channels.- Returns:
- the states as as an array of strings.
-
clientDataChannels
String clientDataChannels()Get the states of the client data channels.- Returns:
- the states as as an array of strings.
-
allChannels
String allChannels()Get the states of all channels.- Returns:
- the states as as an array of strings.
-
dumpQueue
String dumpQueue()Dump the job queue.- Returns:
- a string representing the job queue.
-
dumpQueueDetails
String dumpQueueDetails()Dump the job queue with fine details of the jobs.- Returns:
- a string representing the job queue.
-
dumpQueueDetailsFromPriorityMap
String dumpQueueDetailsFromPriorityMap()Dump the job queue with fine details of the jobs.- Returns:
- a string representing the job queue.
-
all
String all()View all debug info in a formatted string.- Returns:
- a string representing all the debug information.
-
taskQueueCheckerChannels
String taskQueueCheckerChannels()View all idle channels held by theorg.jppf.server.nio.nodeserver.TaskQueueChecker.- Returns:
- a string representing the idle channels.
-
showResultsMap
String showResultsMap()Show the multimap of job uuids to the positions of tasks that have completed.- Returns:
- a string representation of the multimap.
-
getJobNotifCount
int getJobNotifCount()Get the current count of job life cycle notifications.- Returns:
- the count as an int.
-
getJobNotifPeak
int getJobNotifPeak()Get the peak count of job life cycle notifications.- Returns:
- the count as an int.
-
getAllReservations
Get all the current reservations.- Returns:
- an array of job uuids.
-
getReservedJobs
String[] getReservedJobs()Get the jobs for which at least one node is reserved.- Returns:
- an array of job uuids.
-
getReservedNodes
String[] getReservedNodes()Get the nodes reserved for a job.- Returns:
- an array of job uuids.
-
log
Print the specified messages to the server's log.- Parameters:
messages- the messages to print.
-
log
Print the specified message to the server's log.- Parameters:
message- the message to print.
-
executeScript
Object executeScript(String language, String script) throws org.jppf.scripting.JPPFScriptingException Execute the specified script.- Parameters:
language- the script language.script- the script to execute.- Returns:
- the value returned by the script.
- Throws:
org.jppf.scripting.JPPFScriptingException- if an error occurs while evaluating the script.
-
startProfiling
void startProfiling()Trigger method for the profiler to start profiling. -
endProfiling
void endProfiling()Trigger method for the profiler to stop profiling. -
getClientJobEntryStats
String getClientJobEntryStats()- Returns:
- some statistics on the job entries in the client connections.
-
allClientJobEntries
- Returns:
- information on all client job entries currently in the driver.
-