A D G I J K O P R S T W 

A

activated() - Static method in class org.jboss.byteman.sample.helper.JMXHelper
helper activation method which creates a periodic helper thread to perform periodic calls to the trigger method.
activated() - Static method in class org.jboss.byteman.sample.helper.PeriodicHelper
helper activation method which creates a periodic helper thread to perform periodic calls to the trigger method.
activated() - Static method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
Looks to the org.jboss.byteman.sample.helper.debug system property to set the class DEBUG mode flag.
addKey(String) - Method in class org.jboss.byteman.sample.helper.KeyInfo
 
addKey(String, int) - Method in class org.jboss.byteman.sample.helper.KeyInfo
 
addKey(String, int, String) - Method in class org.jboss.byteman.sample.helper.KeyInfo
 

D

deactivated() - Static method in class org.jboss.byteman.sample.helper.JMXHelper
helper deactivation method which shuts down the periodic helper thread.
deactivated() - Static method in class org.jboss.byteman.sample.helper.PeriodicHelper
helper deactivation method which shuts down the periodic helper thread.
DEFAULT_PERIOD - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
the default period which the helper will wait for between calls to periodicUpdate in milliseconds.
DEFAULT_PERIOD - Static variable in class org.jboss.byteman.sample.helper.PeriodicHelper
the default period which the helper will wait for between calls to periodicTrigger in milliseconds.
DEFAULT_RMI_HOST - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
default value for the rmi server host address used by the JMX onnector server used only if an rmi server is required for the JMXConnector
DEFAULT_RMI_PORT - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
default value for the rmi server port used by the JMX connector server used only if an rmi server is required for the JMXConnector
DEFAULT_SAMPLE_SET_SIZE - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
default number of samples we are willing to store in order to maintain a running count of all previous

G

getAttribute(String) - Method in class org.jboss.byteman.sample.helper.JMXHelper
 
getAttributes(String[]) - Method in class org.jboss.byteman.sample.helper.JMXHelper
 
getCreateEvents() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
 
getCreateEvents() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
Get the array of thread creation events.
getEvent() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
 
getEventReport() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
 
getEventReport() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
Get a string description of all thread events.
getExitEvents() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
 
getExitEvents() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
Get the array of thread exit events.
getFullStack() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
 
getKeyCount() - Method in class org.jboss.byteman.sample.helper.KeyInfo
 
getKeyLabels() - Method in class org.jboss.byteman.sample.helper.KeyInfo
 
getKeyNames() - Method in class org.jboss.byteman.sample.helper.KeyInfo
 
getKeyTypes() - Method in class org.jboss.byteman.sample.helper.KeyInfo
 
getLabel() - Method in class org.jboss.byteman.sample.helper.KeyInfo
 
getMBeanInfo() - Method in class org.jboss.byteman.sample.helper.JMXHelper
 
getPeriod() - Method in class org.jboss.byteman.sample.helper.PeriodicHelper
a method which is called when the periodic helper thread is started to compute the interval in milliseconds for which the thread should wait between calls to the trigger method which by default returns the default interval of 10 seconds.
getRunEvents() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
 
getRunEvents() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
Get the array of Runnable.run events.
getRunnableClass() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
 
getStack() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
 
getStartEvents() - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
 
getStartEvents() - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
Get the array of thread start events.
getThreadName() - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
 
getValue(int) - Method in class org.jboss.byteman.sample.helper.JMXHelper
getter for counter values used by MBean code

I

installed(Rule) - Static method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
 
invoke(String, Object[], String[]) - Method in class org.jboss.byteman.sample.helper.JMXHelper
 

J

JMX_URL - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
JMX Url pattern for use when creating the connector server
JMXHelper - Class in org.jboss.byteman.sample.helper
A variant of PeriodicHelper which publishes its stats via JMX
JMXHelper(Rule) - Constructor for class org.jboss.byteman.sample.helper.JMXHelper
constructor allowing this helper to be used as a helper

K

KEY_TYPE_CUMULATIVE - Static variable in class org.jboss.byteman.sample.helper.KeyInfo
type value identifying a counter whose value should be treated as a running total.
KEY_TYPE_MEAN - Static variable in class org.jboss.byteman.sample.helper.KeyInfo
type value identifying a counter whose value should be used to compute a running average by dividing the running total for the last N samples by N where N is 5.
KEY_TYPE_RATE - Static variable in class org.jboss.byteman.sample.helper.KeyInfo
type value identifying a counter whose value should be used to compute a rate by dividing the sampled count by the time in seconds over which the sample was obtained.
KeyInfo - Class in org.jboss.byteman.sample.helper
Auxiliary class used by the rule set to provide information about which counters the rule system will be updating and how it wants them to be presented in the JMX bean display
KeyInfo() - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
 
KeyInfo(String) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
 
KeyInfo(String, String[]) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
 
KeyInfo(String, String[], String[]) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
 
KeyInfo(String, String[], int[]) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
 
KeyInfo(String, String[], int[], String[]) - Constructor for class org.jboss.byteman.sample.helper.KeyInfo
 

O

org.jboss.byteman.sample.helper - package org.jboss.byteman.sample.helper
 

P

PeriodicHelper - Class in org.jboss.byteman.sample.helper
A helper class which adds a background thread when the helper class is activated and removes the background thread when it is deactivated.
PeriodicHelper(Rule) - Constructor for class org.jboss.byteman.sample.helper.PeriodicHelper
 
periodicTrigger() - Method in class org.jboss.byteman.sample.helper.PeriodicHelper
a method which is called at regular intervals by the periodic helper thread to trigger rule processing.

R

registerHelperMBean(String) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
Register the INSTANCE as an mbean under the given name.
resetPeriod(long) - Method in class org.jboss.byteman.sample.helper.PeriodicHelper
a method which is called when the periodic helper thread is about to wait which by default returns the input value.

S

setAttribute(Attribute) - Method in class org.jboss.byteman.sample.helper.JMXHelper
 
setAttributes(AttributeList) - Method in class org.jboss.byteman.sample.helper.JMXHelper
 
setRunnableClass(String) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorEvent
 
SYSPROP_MBEAN_SERVER - Static variable in class org.jboss.byteman.sample.helper.JMXHelper
This is a system property whose value will determine which MBean Server the MBeans should be registered in.

T

ThreadHistoryMonitorHelper - Class in org.jboss.byteman.sample.helper
Helper class used by ThreadHistoryMonitorHelper script to trace thread operations.
ThreadHistoryMonitorHelper(Rule) - Constructor for class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
 
ThreadHistoryMonitorHelperMXBean - Interface in org.jboss.byteman.sample.helper
An MXBean interface for the thread event history monitoring.
ThreadMonitorEvent - Class in org.jboss.byteman.sample.helper
 
ThreadMonitorEvent(String, String, Collection<String>, String) - Constructor for class org.jboss.byteman.sample.helper.ThreadMonitorEvent
 
ThreadMonitorHelper - Class in org.jboss.byteman.sample.helper
Helper class used by ThreadMonitorHelper script to trace thread operations
ThreadMonitorHelper(Rule) - Constructor for class org.jboss.byteman.sample.helper.ThreadMonitorHelper
 
traceCreate(Thread, int) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
trace creation of the supplied thread to System.out this should only be triggered from the constructor for class java.lang.Thread"
traceCreate(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
trace creation of the supplied thread to System.out this should only be triggered from the constructor for class java.lang.Thread"
traceCreate(Thread, Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
trace creation of the supplied thread to the trace stream identified by key
traceExit(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
trace exit of the supplied thread to System.out this should only be triggered from the call to java.lang.Thread.exit"
traceExit(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
trace exit of the supplied thread to System.out this should only be triggered from the call to java.lang.Thread.exit"
traceExit(Thread, Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
trace exit of the supplied thread to the trace stream identified by key this should only be triggered from the call to java.lang.Thread.exit"
traceRun(Runnable) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
trace run of the supplied Runnable to System.out this should only be triggered from a call to an implementation of java.lang.Runnable.run"
traceRun(Runnable) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
trace run of the supplied Runnable to System.out this should only be triggered from a call to an implementation of java.lang.Runnable.run"
traceRun(Runnable, Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
trace start of the supplied thread to the trace stream identified by key this should only be triggered from the call an implementation of java.lang.Runnable.run"
traceStart(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
trace start of the supplied thread to System.out this should only be triggered from the call to java.lang.Thread.start"
traceStart(Thread) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
trace start of the supplied thread to System.out this should only be triggered from the call to java.lang.Thread.start"
traceStart(Thread, Object) - Method in class org.jboss.byteman.sample.helper.ThreadMonitorHelper
trace start of the supplied thread to the trace stream identified by key this should only be triggered from the call to java.lang.Thread.start"

W

writeAllEventsToFile(String) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
Write all events to the file given by path
writeAllEventsToFile(String, int) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
Write all events to the file given by path, repeating sampleCount times at 5 second intervals.
writeAllEventsToFile(String) - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
Write a report of all events to the given path.
writeEventsToFile(String, String) - Method in class org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelper
 
writeEventsToFile(String, String) - Method in interface org.jboss.byteman.sample.helper.ThreadHistoryMonitorHelperMXBean
Write a report of all events of the indicated type to the given path.
A D G I J K O P R S T W 

Copyright © 2013. All Rights Reserved.