| | |
| | | public void initializeMonitorProvider(ConfigEntry configEntry) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | |
| | | // No initialization is required. |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getMonitorInstanceName() |
| | | { |
| | | |
| | | return "JVM Stack Trace"; |
| | | } |
| | | |
| | |
| | | */ |
| | | public long getUpdateInterval() |
| | | { |
| | | |
| | | // This monitor does not need to run periodically. |
| | | return 0; |
| | | } |
| | |
| | | */ |
| | | public void updateMonitorData() |
| | | { |
| | | |
| | | // This monitor does not need to run periodically. |
| | | return; |
| | | } |
| | |
| | | */ |
| | | public ArrayList<Attribute> getMonitorData() |
| | | { |
| | | |
| | | |
| | | Map<Thread,StackTraceElement[]> threadStacks = Thread.getAllStackTraces(); |
| | | |
| | | |