A C D E F G I J L M N O P R S T U W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ActionExecutor - Interface in org.wso2.diagnostics.actionexecutor
-
Interface for Action Executors to implement.
- ActionExecutorFactory - Class in org.wso2.diagnostics.actionexecutor
-
Factory used to create various Executors instance by their class name.
- ActionExecutorFactory() - Constructor for class org.wso2.diagnostics.actionexecutor.ActionExecutorFactory
- addDataToList(int) - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.SimpleMovingAverage
- APP_HOME - Static variable in class org.wso2.diagnostics.utils.Constants
C
- CommonUtils - Class in org.wso2.diagnostics.utils
- CommonUtils() - Constructor for class org.wso2.diagnostics.utils.CommonUtils
- CONFIG_FILE_PATH - Static variable in class org.wso2.diagnostics.utils.Constants
- ConfigMapHolder - Class in org.wso2.diagnostics.utils
- Constants - Class in org.wso2.diagnostics.utils
- Constants() - Constructor for class org.wso2.diagnostics.utils.Constants
- copyFile(String, String) - Static method in class org.wso2.diagnostics.utils.FileUtils
- CPU_WATCHER_ACTION_EXECUTORS - Static variable in class org.wso2.diagnostics.utils.Constants
- CPU_WATCHER_ENABLED - Static variable in class org.wso2.diagnostics.utils.Constants
- CPU_WATCHER_INTERVAL - Static variable in class org.wso2.diagnostics.utils.Constants
- CPU_WATCHER_RETRY_COUNT - Static variable in class org.wso2.diagnostics.utils.Constants
- CPU_WATCHER_THRESHOLD - Static variable in class org.wso2.diagnostics.utils.Constants
- CPUWatcher - Class in org.wso2.diagnostics.watchers
-
It will check the CPU usage and if it is consistently above the threshold, it will execute the CPU watcher actions.
- CPUWatcher(String, int, int) - Constructor for class org.wso2.diagnostics.watchers.CPUWatcher
- createFolder() - Method in class org.wso2.diagnostics.watchers.logwatcher.Interpreter
-
Create folder for dump.
- createTimeStampFolder() - Static method in class org.wso2.diagnostics.utils.FileUtils
D
- deleteFolder(String) - Static method in class org.wso2.diagnostics.utils.FileUtils
- DEPLOYMENT_TOML_PATH - Static variable in class org.wso2.diagnostics.utils.Constants
- detectAnomalies(int) - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.TrafficAnalyzer
- DIAGNOSTIC_LOG_FILE_PATH - Static variable in class org.wso2.diagnostics.utils.Constants
- DIAGNOSTICS_LOG - Static variable in class org.wso2.diagnostics.utils.Constants
- DiagnosticsApp - Class in org.wso2.diagnostics
-
Diagnostic tool launcher.
- DiagnosticsApp() - Constructor for class org.wso2.diagnostics.DiagnosticsApp
E
- execute() - Method in class org.wso2.diagnostics.actionexecutor.MemoryDumper
- execute() - Method in class org.wso2.diagnostics.actionexecutor.ThreadDumper
- execute(String) - Method in interface org.wso2.diagnostics.actionexecutor.ActionExecutor
- execute(String) - Method in class org.wso2.diagnostics.actionexecutor.MemoryDumper
-
Method used to do memory dump with using Java Runtime Environment and jmap command.
- execute(String) - Method in class org.wso2.diagnostics.actionexecutor.MetricsSnapshot
-
Method used to take server information.
- execute(String) - Method in class org.wso2.diagnostics.actionexecutor.Netstat
-
Execute netstat command and write the output to a file.
- execute(String) - Method in class org.wso2.diagnostics.actionexecutor.OpenFileFinder
-
Execute lsof command and write the output to a file.
- execute(String) - Method in class org.wso2.diagnostics.actionexecutor.ServerInfo
-
Method used to take server information.
- execute(String) - Method in class org.wso2.diagnostics.actionexecutor.ThreadDumper
-
Method used to do thread dump with using Java Runtime Environment and jstack command.
- execute(String) - Method in class org.wso2.diagnostics.postexecutor.ZipFileExecutor
-
This method is used to zip the folder and upload the zip file to FTP/SFTP server if configured.
F
- FileUtils - Class in org.wso2.diagnostics.utils
- FileUtils() - Constructor for class org.wso2.diagnostics.utils.FileUtils
- FTP_DIR - Static variable in class org.wso2.diagnostics.utils.Constants
- FTP_PASSWORD - Static variable in class org.wso2.diagnostics.utils.Constants
- FTP_PORT - Static variable in class org.wso2.diagnostics.utils.Constants
- FTP_SERVER - Static variable in class org.wso2.diagnostics.utils.Constants
- FTP_UPLOAD_ENABLED - Static variable in class org.wso2.diagnostics.utils.Constants
- FTP_USER - Static variable in class org.wso2.diagnostics.utils.Constants
- FTPUploader - Class in org.wso2.diagnostics.postexecutor
-
Utility class to upload the zip file to FTP server.
- FTPUploader() - Constructor for class org.wso2.diagnostics.postexecutor.FTPUploader
G
- getActionExecutor(String) - Static method in class org.wso2.diagnostics.actionexecutor.ActionExecutorFactory
-
This Method used to create Executor objects.
- getActionExecutors(String) - Static method in class org.wso2.diagnostics.utils.CommonUtils
- getAttributeValue(String, String, String) - Static method in class org.wso2.diagnostics.utils.JmxtermExecutor
- getBooleanValue(Object, boolean) - Static method in class org.wso2.diagnostics.utils.CommonUtils
- getConfigMap() - Method in class org.wso2.diagnostics.utils.ConfigMapHolder
- getCpuUsage(String) - Static method in class org.wso2.diagnostics.utils.JmxtermExecutor
- getCurrentThreshold() - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.SimpleMovingAverage
- getInstance() - Static method in class org.wso2.diagnostics.utils.ConfigMapHolder
- getIntegerValue(Object, int) - Static method in class org.wso2.diagnostics.utils.CommonUtils
- getMemoryUsage(String) - Static method in class org.wso2.diagnostics.utils.JmxtermExecutor
- getMessageSizes(String, String, String) - Static method in class org.wso2.diagnostics.utils.JmxtermExecutor
- getNodeId() - Static method in class org.wso2.diagnostics.actionexecutor.ServerProcess
- getProcessId() - Static method in class org.wso2.diagnostics.actionexecutor.ServerProcess
-
Getter method for processId.
- getServerInfo() - Method in class org.wso2.diagnostics.actionexecutor.ServerInfo
-
Method used to get server information.
- getServerMetrics() - Method in class org.wso2.diagnostics.actionexecutor.MetricsSnapshot
-
Method used to get server information.
- getTempList() - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.SimpleMovingAverage
- getThreshold() - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.TrafficAnalyzer
I
- init() - Static method in class org.wso2.diagnostics.watchers.trafficanalyzer.TrafficAnalyzerInitializer
- interpret(String, String) - Method in class org.wso2.diagnostics.watchers.logwatcher.Interpreter
- Interpreter - Class in org.wso2.diagnostics.watchers.logwatcher
-
Class used to interpret the log line.
- Interpreter(Map<String, ActionExecutor>, Map<String, String[]>, Map<String, Integer>) - Constructor for class org.wso2.diagnostics.watchers.logwatcher.Interpreter
J
- JmxtermExecutor - Class in org.wso2.diagnostics.utils
- JmxtermExecutor() - Constructor for class org.wso2.diagnostics.utils.JmxtermExecutor
L
- LAST_FIFTEEN_SECONDS_REQUESTS_DELAY - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_FIFTEEN_SECONDS_REQUESTS_ENABLED - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_FIFTEEN_SECONDS_REQUESTS_INTERVAL - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_FIFTEEN_SECONDS_REQUESTS_WINDOW_SIZE - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_MINUTE_REQUESTS_DELAY - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_MINUTE_REQUESTS_ENABLED - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_MINUTE_REQUESTS_INTERVAL - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_MINUTE_REQUESTS_WINDOW_SIZE - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_SECOND_REQUESTS_DELAY - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_SECOND_REQUESTS_ENABLED - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_SECOND_REQUESTS_INTERVAL - Static variable in class org.wso2.diagnostics.utils.Constants
- LAST_SECOND_REQUESTS_WINDOW_SIZE - Static variable in class org.wso2.diagnostics.utils.Constants
- LOG_FILE_CONFIGURATION_FILE_PATH - Static variable in class org.wso2.diagnostics.utils.Constants
- LOG_WATCHER_ENABLED - Static variable in class org.wso2.diagnostics.utils.Constants
- LOG_WATCHER_INTERVAL - Static variable in class org.wso2.diagnostics.utils.Constants
- LOGS_DIRECTORY - Static variable in class org.wso2.diagnostics.utils.Constants
- LogWatcher - Class in org.wso2.diagnostics.watchers.logwatcher
- LogWatcher(String, Interpreter, double) - Constructor for class org.wso2.diagnostics.watchers.logwatcher.LogWatcher
-
Creates a Tailer for the given file.
M
- main(String[]) - Static method in class org.wso2.diagnostics.DiagnosticsApp
- MEMORY_WATCHER_ACTION_EXECUTORS - Static variable in class org.wso2.diagnostics.utils.Constants
- MEMORY_WATCHER_ENABLED - Static variable in class org.wso2.diagnostics.utils.Constants
- MEMORY_WATCHER_INTERVAL - Static variable in class org.wso2.diagnostics.utils.Constants
- MEMORY_WATCHER_RETRY_COUNT - Static variable in class org.wso2.diagnostics.utils.Constants
- MEMORY_WATCHER_THRESHOLD - Static variable in class org.wso2.diagnostics.utils.Constants
- MemoryDumper - Class in org.wso2.diagnostics.actionexecutor
-
MemoryDumper class is used to do Heap dump for given process.
- MemoryDumper() - Constructor for class org.wso2.diagnostics.actionexecutor.MemoryDumper
- MemoryWatcher - Class in org.wso2.diagnostics.watchers
-
It will check the memory usage and if it is consistently above the threshold, it will execute the memory watcher actions.
- MemoryWatcher(String, double, int) - Constructor for class org.wso2.diagnostics.watchers.MemoryWatcher
- MetricsSnapshot - Class in org.wso2.diagnostics.actionexecutor
- MetricsSnapshot() - Constructor for class org.wso2.diagnostics.actionexecutor.MetricsSnapshot
N
- Netstat - Class in org.wso2.diagnostics.actionexecutor
-
Class used to execute netstat command.
- Netstat() - Constructor for class org.wso2.diagnostics.actionexecutor.Netstat
- NODE_ID - Static variable in class org.wso2.diagnostics.utils.Constants
O
- OpenFileFinder - Class in org.wso2.diagnostics.actionexecutor
-
Class used to execute lsof command.
- OpenFileFinder() - Constructor for class org.wso2.diagnostics.actionexecutor.OpenFileFinder
-
Creates MemoryDumper with process id.
- org.wso2.diagnostics - package org.wso2.diagnostics
- org.wso2.diagnostics.actionexecutor - package org.wso2.diagnostics.actionexecutor
- org.wso2.diagnostics.postexecutor - package org.wso2.diagnostics.postexecutor
- org.wso2.diagnostics.utils - package org.wso2.diagnostics.utils
- org.wso2.diagnostics.watchers - package org.wso2.diagnostics.watchers
- org.wso2.diagnostics.watchers.logwatcher - package org.wso2.diagnostics.watchers.logwatcher
- org.wso2.diagnostics.watchers.trafficanalyzer - package org.wso2.diagnostics.watchers.trafficanalyzer
P
- parse(String) - Static method in class org.wso2.diagnostics.utils.TomlParser
- PostExecutorTask - Class in org.wso2.diagnostics.postexecutor
- PostExecutorTask(String, String) - Constructor for class org.wso2.diagnostics.postexecutor.PostExecutorTask
- PROCESS_ID_PATH - Static variable in class org.wso2.diagnostics.utils.Constants
R
- rotateFiles(File, int) - Static method in class org.wso2.diagnostics.utils.FileUtils
- run() - Method in class org.wso2.diagnostics.postexecutor.PostExecutorTask
- run() - Method in class org.wso2.diagnostics.watchers.CPUWatcher
- run() - Method in class org.wso2.diagnostics.watchers.logwatcher.LogWatcher
- run() - Method in class org.wso2.diagnostics.watchers.MemoryWatcher
- run() - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.TrafficAnalyzer
S
- SERVER_NAME - Static variable in class org.wso2.diagnostics.utils.Constants
- SERVER_VERSION - Static variable in class org.wso2.diagnostics.utils.Constants
- ServerInfo - Class in org.wso2.diagnostics.actionexecutor
- ServerInfo() - Constructor for class org.wso2.diagnostics.actionexecutor.ServerInfo
- ServerProcess - Class in org.wso2.diagnostics.actionexecutor
-
Class used to represent the java process of wso2 server.
- ServerProcess() - Constructor for class org.wso2.diagnostics.actionexecutor.ServerProcess
- setConfigMap(Map<String, Object>) - Method in class org.wso2.diagnostics.utils.ConfigMapHolder
- setMa(double) - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.SimpleMovingAverage
- setProcessId(String) - Static method in class org.wso2.diagnostics.actionexecutor.ServerProcess
-
Setter method for processId.
- SFTP_DIR - Static variable in class org.wso2.diagnostics.utils.Constants
- SFTP_KNOWN_HOSTS - Static variable in class org.wso2.diagnostics.utils.Constants
- SFTP_PASSWORD - Static variable in class org.wso2.diagnostics.utils.Constants
- SFTP_PORT - Static variable in class org.wso2.diagnostics.utils.Constants
- SFTP_SERVER - Static variable in class org.wso2.diagnostics.utils.Constants
- SFTP_STRICT_HOST_KEY_CHECKING - Static variable in class org.wso2.diagnostics.utils.Constants
- SFTP_UPLOAD_ENABLED - Static variable in class org.wso2.diagnostics.utils.Constants
- SFTP_USER - Static variable in class org.wso2.diagnostics.utils.Constants
- SFTPUploader - Class in org.wso2.diagnostics.postexecutor
-
Utility class to upload the zip file to SFTP server.
- SFTPUploader() - Constructor for class org.wso2.diagnostics.postexecutor.SFTPUploader
- SimpleMovingAverage - Class in org.wso2.diagnostics.watchers.trafficanalyzer
- SimpleMovingAverage(int) - Constructor for class org.wso2.diagnostics.watchers.trafficanalyzer.SimpleMovingAverage
T
- ThreadDumper - Class in org.wso2.diagnostics.actionexecutor
-
Class used to take threadDumps at given time intervals.
- ThreadDumper() - Constructor for class org.wso2.diagnostics.actionexecutor.ThreadDumper
- TOML_NAME_ACTION_EXECUTOR_CONFIGURATION - Static variable in class org.wso2.diagnostics.utils.Constants
- TOML_NAME_EXECUTOR - Static variable in class org.wso2.diagnostics.utils.Constants
- TOML_NAME_RELOAD_TIME - Static variable in class org.wso2.diagnostics.utils.Constants
- TomlParser - Class in org.wso2.diagnostics.utils
- TomlParser() - Constructor for class org.wso2.diagnostics.utils.TomlParser
- TRAFFIC_NOTIFY_INTERVAL - Static variable in class org.wso2.diagnostics.utils.Constants
- TrafficAnalyzer - Class in org.wso2.diagnostics.watchers.trafficanalyzer
- TrafficAnalyzer(String, int, int, String) - Constructor for class org.wso2.diagnostics.watchers.trafficanalyzer.TrafficAnalyzer
- TrafficAnalyzerInitializer - Class in org.wso2.diagnostics.watchers.trafficanalyzer
- TrafficAnalyzerInitializer() - Constructor for class org.wso2.diagnostics.watchers.trafficanalyzer.TrafficAnalyzerInitializer
U
- update(int) - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.SimpleMovingAverage
- update(int) - Method in class org.wso2.diagnostics.watchers.trafficanalyzer.TrafficAnalyzer
- UPDATES_CONFIG_PATH - Static variable in class org.wso2.diagnostics.utils.Constants
- uploadFile(String, String) - Method in class org.wso2.diagnostics.postexecutor.FTPUploader
-
This method is used to upload the zip file to FTP server.
- uploadFile(String, String) - Method in class org.wso2.diagnostics.postexecutor.SFTPUploader
W
- writePID(String) - Static method in class org.wso2.diagnostics.actionexecutor.ServerProcess
-
Write the process ID of this process to the file.
- writeToFile(String, String) - Static method in class org.wso2.diagnostics.utils.FileUtils
Z
- ZIP_EXECUTOR_MAX_COUNT - Static variable in class org.wso2.diagnostics.utils.Constants
- ZIP_EXECUTOR_OUTPUT_DIRECTORY - Static variable in class org.wso2.diagnostics.utils.Constants
- ZipFileExecutor - Class in org.wso2.diagnostics.postexecutor
-
Class used to zip the folder and upload the zip file to FTP/SFTP server if configured.
- ZipFileExecutor() - Constructor for class org.wso2.diagnostics.postexecutor.ZipFileExecutor
- zipFolder(String, String) - Static method in class org.wso2.diagnostics.utils.FileUtils
-
Method used to zip folder.
All Classes All Packages