A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractMeasurementSource - Class in com.bw.jtools.profiling.measurement
-
Producer interface for Measurement values.
- AbstractMeasurementSource() - Constructor for class com.bw.jtools.profiling.measurement.AbstractMeasurementSource
- add(MeasurementValue) - Method in class com.bw.jtools.profiling.measurement.MeasurementValue
-
Adds some value.
- addCall(MeasurementValue, boolean) - Method in class com.bw.jtools.profiling.ProfilingInformation
-
Adds a call.
- addLogger(Log.LoggerFacade) - Static method in class com.bw.jtools.Log
-
Adds a application specific logger.
- addLogger(Log.LoggerFacade, Log.LoggerFacade) - Static method in class com.bw.jtools.log.MulticastLogger
- addMessage(int, CharSequence, Throwable) - Method in class com.bw.jtools.log.CollectorLogger
- adviceEnter(String, String, MethodProfiling) - Static method in class com.bw.jtools.profiling.weaving.ByteBuddyProfilingCtorAdvice
- adviceEnter(String, String, MethodProfiling) - Static method in class com.bw.jtools.profiling.weaving.ByteBuddyProfilingThrowAdvice
- adviceExitThrown(MethodProfiling) - Static method in class com.bw.jtools.profiling.weaving.ByteBuddyProfilingCtorAdvice
- adviceExitThrown(MethodProfiling, Throwable) - Static method in class com.bw.jtools.profiling.weaving.ByteBuddyProfilingThrowAdvice
- ARG_REGEX - Static variable in class com.bw.jtools.profiling.weaving.ProfilingWeaver
-
Argument for class and method matching.
- ARG_VERBOSE - Static variable in class com.bw.jtools.profiling.weaving.ProfilingWeaver
-
Argument for verbosity.
- AUTO - com.bw.jtools.profiling.ReflectionProfilingUtil.StackAccessMode
-
Try to detect the best way.
- average_load - Variable in class com.bw.jtools.log.OS.Info
B
- ByteBuddyProfilingCtorAdvice - Class in com.bw.jtools.profiling.weaving
-
Advice for use with Byte Buddy.
- ByteBuddyProfilingCtorAdvice() - Constructor for class com.bw.jtools.profiling.weaving.ByteBuddyProfilingCtorAdvice
- ByteBuddyProfilingThrowAdvice - Class in com.bw.jtools.profiling.weaving
-
Advice for use with Byte Buddy.
- ByteBuddyProfilingThrowAdvice() - Constructor for class com.bw.jtools.profiling.weaving.ByteBuddyProfilingThrowAdvice
C
- calcLevel() - Method in class com.bw.jtools.log.MulticastLogger
- callee - Variable in class com.bw.jtools.profiling.CalleeProfilingInformation
-
The called method.
- CalleeProfilingInformation - Class in com.bw.jtools.profiling
-
Holds information of a callee-relation.
Each instance represents a method that is called during an active other method. - CalleeProfilingInformation(MethodProfilingInformation) - Constructor for class com.bw.jtools.profiling.CalleeProfilingInformation
-
C'tor to create a new callee information.
- callees - Variable in class com.bw.jtools.profiling.MethodProfilingInformation
-
Callees from this method.
Methods that are profiled during a call of this method are collected here.
Remind that only profiled methods are collected. - CALLING_METHOD_STACK_INDEX - Static variable in class com.bw.jtools.profiling.ReflectionProfilingUtil
-
Index of the calling method of a method that calls getStackTraceElement.
This value may diff for other JVMs and possibly needs adaption during run-time. - calls - Variable in class com.bw.jtools.profiling.ProfilingInformation
-
Number of profiled usages.
- ClassProfilingInformation - Class in com.bw.jtools.profiling
-
Holds profiling information about a class during run-time.
- ClassProfilingInformation(String) - Constructor for class com.bw.jtools.profiling.ClassProfilingInformation
-
Creates a new Class Information object.
- clazz - Variable in class com.bw.jtools.profiling.MethodProfilingInformation
-
The class/module of this method/code-unit.
- clear() - Method in class com.bw.jtools.profiling.ClassProfilingInformation
- clear() - Method in class com.bw.jtools.profiling.MethodProfilingInformation
- clear() - Method in class com.bw.jtools.profiling.ProfilingInformation
-
Clear profiling information.
- clearProfilingInformation() - Static method in class com.bw.jtools.profiling.ClassProfilingInformation
-
Clear all profiling information from class/method information.
- clone() - Method in class com.bw.jtools.profiling.measurement.MeasurementValue
- close() - Method in class com.bw.jtools.profiling.MethodProfiling
- CODE_SOURCE - Static variable in class com.bw.jtools.profiling.weaving.ProfilingWeaver
-
Symbol to replace in property-file URLs by code-source-location.
- collectorLog - Static variable in class com.bw.jtools.Log
- CollectorLogger - Class in com.bw.jtools.log
-
Logger back-end that collects messages in memory.
Purpose is to collect errors and warnings during some operation to enable the software to give hints about the reason of failure. - CollectorLogger() - Constructor for class com.bw.jtools.log.CollectorLogger
-
Creates a new CollectorLogger.
- CollectorThreadLogger - Class in com.bw.jtools.log
-
Logger back-end that collects messages in memory.
Purpose is to collect errors and warnings during some operation to enable the software to give hints about the reason of failure. - CollectorThreadLogger(int, int) - Constructor for class com.bw.jtools.log.CollectorThreadLogger
-
Creates a new CollectorLogger.
- com.bw.jtools - package com.bw.jtools
- com.bw.jtools.log - package com.bw.jtools.log
-
Implementation details for the
Logclass. - com.bw.jtools.profiling - package com.bw.jtools.profiling
- com.bw.jtools.profiling.measurement - package com.bw.jtools.profiling.measurement
- com.bw.jtools.profiling.weaving - package com.bw.jtools.profiling.weaving
- compareTo(MeasurementValue) - Method in class com.bw.jtools.profiling.measurement.MeasurementValue
- ConsoleLogger - Class in com.bw.jtools.log
-
Implementation Log.LoggerFacade used as fallback in case no logger framework is available.
- ConsoleLogger() - Constructor for class com.bw.jtools.log.ConsoleLogger
- currentSource - Static variable in class com.bw.jtools.profiling.measurement.AbstractMeasurementSource
-
The currently used measurement source.
D
- debug(CharSequence) - Method in class com.bw.jtools.log.CollectorLogger
- debug(CharSequence) - Method in class com.bw.jtools.log.ConsoleLogger
- debug(CharSequence) - Static method in class com.bw.jtools.Log
-
Logs a debug message.
- debug(CharSequence) - Method in class com.bw.jtools.log.Log4JLogger
- debug(CharSequence) - Method in class com.bw.jtools.Log.LoggerFacade
-
Logs a debugging message.
- debug(CharSequence) - Method in class com.bw.jtools.log.MulticastLogger
- debug(CharSequence, Throwable) - Method in class com.bw.jtools.log.CollectorLogger
- debug(CharSequence, Throwable) - Static method in class com.bw.jtools.Log
-
Logs a debug message plus stack-trace.
- debug(CharSequence, Throwable) - Method in class com.bw.jtools.Log.LoggerFacade
-
Logs a warning message error plus message and stack-trace of the Throwable.
- DEBUG - Static variable in class com.bw.jtools.Log
-
This logging level enables all output.
- DEBUG_PREFIX - Static variable in class com.bw.jtools.Log.LoggerFacade
E
- endCall(MeasurementValue, boolean) - Method in class com.bw.jtools.profiling.MethodProfilingInformation
-
Ends a call of this method.
The method is popped from thread stack and the used time is added the method- and callee-information. - error(CharSequence) - Method in class com.bw.jtools.log.CollectorLogger
- error(CharSequence) - Method in class com.bw.jtools.log.ConsoleLogger
- error(CharSequence) - Static method in class com.bw.jtools.Log
-
Logs an error.
- error(CharSequence) - Method in class com.bw.jtools.log.Log4JLogger
- error(CharSequence) - Method in class com.bw.jtools.Log.LoggerFacade
-
Logs an error message.
- error(CharSequence) - Method in class com.bw.jtools.log.MulticastLogger
- error(CharSequence, Throwable) - Method in class com.bw.jtools.log.CollectorLogger
- error(CharSequence, Throwable) - Static method in class com.bw.jtools.Log
-
Logs an error plus stack-trace.
- error(CharSequence, Throwable) - Method in class com.bw.jtools.log.Log4JLogger
- error(CharSequence, Throwable) - Method in class com.bw.jtools.Log.LoggerFacade
-
Logs an error message plus message and stack-trace of the Throwable.
- ERROR - Static variable in class com.bw.jtools.Log
-
This logging level enables only errors.
- ERROR_PREFIX - Static variable in class com.bw.jtools.Log.LoggerFacade
- exception(Throwable) - Method in class com.bw.jtools.profiling.MethodProfiling
-
Profiles a exception.
Remind that "close" needs still to be called - following the AutoClosable pattern. - exceptions - Variable in class com.bw.jtools.profiling.MethodProfilingInformation
-
Number of exceptions of this method.
F
- FAILSAFE - com.bw.jtools.profiling.ReflectionProfilingUtil.StackAccessMode
-
Fail-safe via
Throwable.getStackTrace(), works always but is slower by factor 10. - format(NumberFormat, MeasurementValue) - Static method in class com.bw.jtools.profiling.measurement.AbstractMeasurementSource
-
Convenience method as replacement for currentSource.formatValue.
- formatValue(NumberFormat, MeasurementValue) - Method in class com.bw.jtools.profiling.measurement.AbstractMeasurementSource
-
Returns the formatted value.
- formatValue(NumberFormat, MeasurementValue) - Method in class com.bw.jtools.profiling.measurement.SystemNanoTime
- formatValue(NumberFormat, MeasurementValue) - Method in class com.bw.jtools.profiling.measurement.ThreadExecutionTime
G
- getCalleeInformation(MethodProfilingInformation) - Method in class com.bw.jtools.profiling.MethodProfilingInformation
-
Get the callee instance for the given method.
If not callee instance exists a new one is created and added. - getClassInformation() - Static method in class com.bw.jtools.profiling.ClassProfilingInformation
-
Get all class profiling information.
- getClassInformation(Class<?>) - Method in class com.bw.jtools.profiling.ThreadProfilingInformation
-
Gets the class information for a class.
- getClassInformation(String) - Static method in class com.bw.jtools.profiling.ClassProfilingInformation
-
Get the class information for the module/class.
If feasible, useThreadProfilingInformation.getClassInformation(java.lang.String), especially if the thread information instance is already in use. - getClassInformation(String) - Method in class com.bw.jtools.profiling.ThreadProfilingInformation
-
Gets the class information for a class.
Remind thatClassProfilingInformation.SIMPLE_NAMESis true the class name should be the simple name without package-prefix. - getCurrentLog4JLevel() - Method in class com.bw.jtools.log.Log4JLogger
- getCurrentMethod() - Method in class com.bw.jtools.profiling.ThreadProfilingInformation
-
Returns the current profiled method on stack.
- getInstance() - Static method in class com.bw.jtools.profiling.ThreadProfilingInformation
-
Gets the instance for the current thread.
- getLevel() - Method in class com.bw.jtools.Log.LoggerFacade
-
gets the logging level.
- getLevelPrefix(int) - Static method in class com.bw.jtools.Log.LoggerFacade
- getMaxOpenFileHandles() - Static method in class com.bw.jtools.log.OS
-
Gets the maximal number of open files of this process - if possible.
- getMeasurement() - Method in class com.bw.jtools.profiling.measurement.AbstractMeasurementSource
-
Returns a instance that reflects the current value.
- getMeasurement() - Method in class com.bw.jtools.profiling.measurement.SystemNanoTime
- getMeasurement() - Method in class com.bw.jtools.profiling.measurement.ThreadExecutionTime
- getMethodInformation() - Method in class com.bw.jtools.profiling.ClassProfilingInformation
-
Gets all methods .
The method is thread-safe. - getMethodInformation(String) - Method in class com.bw.jtools.profiling.ClassProfilingInformation
-
Gets or creates the information object for the method.
The method is thread-safe. - getOpenFileHandles() - Static method in class com.bw.jtools.log.OS
-
Gets the number of open files of this process - if possible.
Possible means running inside some "unix". - getOSName() - Static method in class com.bw.jtools.log.OS
- getProfilingStartTime() - Static method in class com.bw.jtools.profiling.ClassProfilingInformation
-
Get start date and time.
- getRestrictedStackTrace(Throwable, String, int) - Static method in class com.bw.jtools.Log
-
Get a stack-trace with restricted length.
- getStackTraceAccessMode() - Static method in class com.bw.jtools.profiling.ReflectionProfilingUtil
-
The current stack-trace-access mode.
- getStackTraceElement(int) - Static method in class com.bw.jtools.profiling.ReflectionProfilingUtil
-
Gets a stack-trace-element with minimal overhead.
- GETSTACKTRACEELEMENT - com.bw.jtools.profiling.ReflectionProfilingUtil.StackAccessMode
-
Via protected Throwable-Method, works through Java 8.
- getSystemLoadAverage() - Static method in class com.bw.jtools.log.OS
-
Gets the current CPU Load average - if possible.
Is this is not possible, -1 is returned.
The value depends on implementation in the OS. - getThreadExecutionTimeNS() - Static method in class com.bw.jtools.log.OS
-
Get execution time of current thread, if possible.
If this is not possible or enabled, system-wide time will be used. - getThreadLog() - Method in class com.bw.jtools.log.CollectorLogger
- getUsedTime() - Method in class com.bw.jtools.profiling.MethodProfiling
-
Get the used time in nanoseconds.
- greaterThan(MeasurementValue) - Method in class com.bw.jtools.profiling.measurement.MeasurementValue
-
Convenience variant.
H
- hasThreadLog() - Method in class com.bw.jtools.log.CollectorLogger
I
- ID - Variable in class com.bw.jtools.profiling.IdentifiableProfilingInformation
-
The unique id of this profiling object.
Each id is unique during one life-cycle but may diff in different life-cycles. - IdentifiableProfilingInformation - Class in com.bw.jtools.profiling
-
Base for profiling information instances that can be identified via an numerical ID.
- IdentifiableProfilingInformation() - Constructor for class com.bw.jtools.profiling.IdentifiableProfilingInformation
- info(CharSequence) - Method in class com.bw.jtools.log.CollectorLogger
- info(CharSequence) - Method in class com.bw.jtools.log.ConsoleLogger
- info(CharSequence) - Static method in class com.bw.jtools.Log
-
Logs an informational message.
- info(CharSequence) - Method in class com.bw.jtools.log.Log4JLogger
- info(CharSequence) - Method in class com.bw.jtools.Log.LoggerFacade
-
Logs an informational message.
- info(CharSequence) - Method in class com.bw.jtools.log.MulticastLogger
- info(CharSequence, Throwable) - Method in class com.bw.jtools.log.CollectorLogger
- info(CharSequence, Throwable) - Method in class com.bw.jtools.log.Log4JLogger
- info(CharSequence, Throwable) - Method in class com.bw.jtools.Log.LoggerFacade
-
Logs an informational message error plus message and stack-trace of the Throwable.
- Info() - Constructor for class com.bw.jtools.log.OS.Info
-
Create an info instance with the current statistics.
- INFO - Static variable in class com.bw.jtools.Log
-
This logging level enables errors,warnings and information.
- INFO_PREFIX - Static variable in class com.bw.jtools.Log.LoggerFacade
- init() - Static method in class com.bw.jtools.log.OS
-
Initialize this tool class.
- isDebugEnabled() - Static method in class com.bw.jtools.Log
-
Checks if debug log-output is enabled.
- isDebugEnabled() - Method in class com.bw.jtools.log.Log4JLogger
- isDebugEnabled() - Method in class com.bw.jtools.Log.LoggerFacade
-
Checks if debug log-output is enabled.
- isErrorEnabled() - Static method in class com.bw.jtools.Log
-
Checks if error log-output is enabled.
- isErrorEnabled() - Method in class com.bw.jtools.log.Log4JLogger
- isErrorEnabled() - Method in class com.bw.jtools.Log.LoggerFacade
-
Checks if error log-output is enabled.
- isInfoEnabled() - Static method in class com.bw.jtools.Log
-
Checks if informational log-output is enabled.
- isInfoEnabled() - Method in class com.bw.jtools.log.Log4JLogger
- isInfoEnabled() - Method in class com.bw.jtools.Log.LoggerFacade
-
Checks if informational log-output is enabled.
- isOnStack(MethodProfilingInformation) - Method in class com.bw.jtools.profiling.ThreadProfilingInformation
-
Checks if a method is on stack.
- isThreadTimeMeasurementUsed() - Static method in class com.bw.jtools.log.OS
-
Returns true if getThreadExecutionTimeNS is based on real thread-time.
- isWarnEnabled() - Static method in class com.bw.jtools.Log
-
Checks if warning log-output is enabled.
- isWarnEnabled() - Method in class com.bw.jtools.log.Log4JLogger
- isWarnEnabled() - Method in class com.bw.jtools.Log.LoggerFacade
-
Checks if warning log-output is enabled.
L
- lessThan(MeasurementValue) - Method in class com.bw.jtools.profiling.measurement.MeasurementValue
-
Convenience variant.
- level - Variable in class com.bw.jtools.log.CollectorThreadLogger
- level - Variable in class com.bw.jtools.Log.LoggerFacade
- log - Static variable in class com.bw.jtools.Log
- Log - Class in com.bw.jtools
-
Simple log handling.
In most projects at some early point you have to decide which logging framework should be used.
Often this decision is forced because of libraries you need and that already use some logging framework.
I personally don't like to bind my source sp deeply to such stuff.
The used logging framework is mostly not determined by functional requirements, so why bind a huge part of the sources to it? - Log() - Constructor for class com.bw.jtools.Log
- Log.LoggerFacade - Class in com.bw.jtools
-
Adapter for logging back-ends.
- log4j - Static variable in class com.bw.jtools.log.Log4JLogger
- Log4JLogger - Class in com.bw.jtools.log
-
Logger back-end for log4j2.
- Log4JLogger() - Constructor for class com.bw.jtools.log.Log4JLogger
- LoggerFacade() - Constructor for class com.bw.jtools.Log.LoggerFacade
M
- max_handles - Variable in class com.bw.jtools.log.OS.Info
- maxMeasurement - Variable in class com.bw.jtools.profiling.ProfilingInformation
-
The maximum across all calls.
- maxStackTraceLines - Variable in class com.bw.jtools.Log.LoggerFacade
- maxTraceLines - Variable in class com.bw.jtools.log.CollectorThreadLogger
- measure() - Static method in class com.bw.jtools.profiling.measurement.AbstractMeasurementSource
-
Convenience method as replacement for currentSource.getMeasurement.
- MeasurementValue - Class in com.bw.jtools.profiling.measurement
-
Holds a measurement value.
Holds a value that is produced by some measurement function.
The first dimension defines the order relation and have to be strictly monotone. - MeasurementValue(long[]) - Constructor for class com.bw.jtools.profiling.measurement.MeasurementValue
-
C'tor to be used by all inheritances.
- messages - Variable in class com.bw.jtools.log.CollectorThreadLogger
- method - Variable in class com.bw.jtools.profiling.MethodProfiling
-
The method or code-unit that is profiled.
- MethodProfiling - Class in com.bw.jtools.profiling
-
Holds information of a currently profiled method/code-unit.
- MethodProfiling() - Constructor for class com.bw.jtools.profiling.MethodProfiling
-
C'tor that automatically detects calling method and class.
Depending on platform this may an expensive operation. - MethodProfiling(MethodProfilingInformation) - Constructor for class com.bw.jtools.profiling.MethodProfiling
-
C'tor with method information instance (the fasted way).
- MethodProfiling(String, String) - Constructor for class com.bw.jtools.profiling.MethodProfiling
-
C'tor with class and method.
- MethodProfilingInformation - Class in com.bw.jtools.profiling
-
Holds profiling information about a method or other code-unit during run-time.
- MethodProfilingInformation(ClassProfilingInformation, String) - Constructor for class com.bw.jtools.profiling.MethodProfilingInformation
-
C'tor to create a new Method-Information instance.
- minMeasurement - Variable in class com.bw.jtools.profiling.ProfilingInformation
-
The minimum across all calls.
- MulticastLogger - Class in com.bw.jtools.log
-
Implementation Log.LoggerFacade to propagate logs to multiple back-ends..
- MulticastLogger() - Constructor for class com.bw.jtools.log.MulticastLogger
N
- name - Variable in class com.bw.jtools.profiling.ClassProfilingInformation
-
The name of the class.
- name - Variable in class com.bw.jtools.profiling.MethodProfilingInformation
-
The method/code unit name.
- NONE - Static variable in class com.bw.jtools.Log
-
This logging level turns all output off.
- normalizeClassName(String) - Static method in class com.bw.jtools.profiling.ReflectionProfilingUtil
-
Normalize a class name according to settings.
- notRecursive - Variable in class com.bw.jtools.profiling.MethodProfiling
-
True if the call was not recursive.
O
- open_handles - Variable in class com.bw.jtools.log.OS.Info
- OS - Class in com.bw.jtools.log
-
Utility class to gather statistics about the running application.
Initially this class was created to collect information about a long-running server application that should be reported via a status-service. - OS() - Constructor for class com.bw.jtools.log.OS
- OS.Info - Class in com.bw.jtools.log
-
Utility class to collect all values at once.
A bit too specific for general usage, but good for demonstration.
P
- popMethod(MethodProfilingInformation) - Method in class com.bw.jtools.profiling.ThreadProfilingInformation
-
Pops the method from stack.
For robustness, all other methods until the specified one are also popped. - premain(String, Instrumentation) - Static method in class com.bw.jtools.profiling.weaving.ProfilingWeaver
-
Java-Agent entry point.
- ProfilingInformation - Class in com.bw.jtools.profiling
-
Base for profiling information instances.
- ProfilingInformation() - Constructor for class com.bw.jtools.profiling.ProfilingInformation
- ProfilingWeaver - Class in com.bw.jtools.profiling.weaving
-
Profiling by weaving instrumentation during run-time into the byte-code.
This class implements a "Java Agent". - ProfilingWeaver() - Constructor for class com.bw.jtools.profiling.weaving.ProfilingWeaver
- PROP_PREFIX - Static variable in class com.bw.jtools.profiling.weaving.ProfilingWeaver
-
System-Properties prefix.
- PROP_PROPERTY_FILE - Static variable in class com.bw.jtools.profiling.weaving.ProfilingWeaver
-
System-Properties for property file in case the agent-argument is not set.
- pushMethod(MethodProfilingInformation) - Method in class com.bw.jtools.profiling.ThreadProfilingInformation
-
Push a method on stack if not already in.
As recursion is not really possible to track with the current profiling concept, recursive calls are ignored.
R
- recursiveCalls - Variable in class com.bw.jtools.profiling.ProfilingInformation
-
Number of recursive usages.
- ReflectionProfilingUtil - Class in com.bw.jtools.profiling
-
Static methods for reflection handling inside profiling.
- ReflectionProfilingUtil() - Constructor for class com.bw.jtools.profiling.ReflectionProfilingUtil
- ReflectionProfilingUtil.StackAccessMode - Enum in com.bw.jtools.profiling
- removeLogger(Log.LoggerFacade) - Static method in class com.bw.jtools.Log
-
Removes a application specific logger.
- removeLogger(Log.LoggerFacade, Log.LoggerFacade) - Static method in class com.bw.jtools.log.MulticastLogger
S
- setLevel(int) - Method in class com.bw.jtools.log.Log4JLogger
- setLevel(int) - Method in class com.bw.jtools.Log.LoggerFacade
-
Sets the logging level.
- setLevel(int) - Method in class com.bw.jtools.log.MulticastLogger
- setLevel(int) - Static method in class com.bw.jtools.Log
-
Sets system log level.
The value can be one of the constants NONE ERROR WARN INFO DEBUG - setMaximumLinesOfStackTrace(int) - Method in class com.bw.jtools.Log.LoggerFacade
-
Sets the maximum length of stack-trace.
0 deactivate any stack-traces. - setStackTraceAccessMode(ReflectionProfilingUtil.StackAccessMode) - Static method in class com.bw.jtools.profiling.ReflectionProfilingUtil
-
Sets a new stack-trace-access mode, used to retrieve caller-methods.
- setThreadLog(CollectorThreadLogger) - Method in class com.bw.jtools.log.CollectorLogger
- SIMPLE_NAMES - Static variable in class com.bw.jtools.profiling.ClassProfilingInformation
-
Global flag to control class name usage.
If "true", simple class names are used. - STACKWALKER - com.bw.jtools.profiling.ReflectionProfilingUtil.StackAccessMode
-
StackWalker, since Java 9.
- startCall() - Method in class com.bw.jtools.profiling.MethodProfilingInformation
-
Starts a call of this method.
The method is pushed on the thread-stack. - startCollectMessages(int, boolean) - Static method in class com.bw.jtools.Log
-
Starts collecting messages for the current thread.
From this point untilstopCollectMessagesis called, all output in this thread that match the log.level is collected.
This function was designed to provide "internal detail" data for some short-term operation. - startTime - Variable in class com.bw.jtools.profiling.MethodProfiling
-
Start time in nanoseconds.
- stopCollectMessages(List<String>) - Static method in class com.bw.jtools.Log
-
Stops collecting messages.
All messages that were collected from the last call tostartCollectMessagesare returned. - subtract(MeasurementValue) - Method in class com.bw.jtools.profiling.measurement.MeasurementValue
-
Subtract some value.
- sum - Variable in class com.bw.jtools.profiling.ProfilingInformation
-
The sum of all callS.
- SystemNanoTime - Class in com.bw.jtools.profiling.measurement
-
Measures monotonic system time in nanoseconds.
- SystemNanoTime() - Constructor for class com.bw.jtools.profiling.measurement.SystemNanoTime
T
- ThreadExecutionTime - Class in com.bw.jtools.profiling.measurement
-
Measures monotonic and thread-local time in nanoseconds.
- ThreadExecutionTime() - Constructor for class com.bw.jtools.profiling.measurement.ThreadExecutionTime
- threadLogger - Variable in class com.bw.jtools.log.CollectorLogger
- ThreadProfilingInformation - Class in com.bw.jtools.profiling
-
Holds Thread Information during run-time.
U
- UNKNW_PREFIX - Static variable in class com.bw.jtools.Log.LoggerFacade
- usedTime - Variable in class com.bw.jtools.profiling.MethodProfiling
-
Used times in nanoseconds.
V
- valueOf(String) - Static method in enum com.bw.jtools.profiling.ReflectionProfilingUtil.StackAccessMode
-
Returns the enum constant of this type with the specified name.
- values - Variable in class com.bw.jtools.profiling.measurement.MeasurementValue
- values() - Static method in enum com.bw.jtools.profiling.ReflectionProfilingUtil.StackAccessMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn(CharSequence) - Method in class com.bw.jtools.log.CollectorLogger
- warn(CharSequence) - Method in class com.bw.jtools.log.ConsoleLogger
- warn(CharSequence) - Method in class com.bw.jtools.log.Log4JLogger
- warn(CharSequence) - Method in class com.bw.jtools.Log.LoggerFacade
-
Logs a warning message.
- warn(CharSequence) - Method in class com.bw.jtools.log.MulticastLogger
- warn(CharSequence) - Static method in class com.bw.jtools.Log
-
Logs a warning.
- warn(CharSequence, Throwable) - Method in class com.bw.jtools.log.CollectorLogger
- warn(CharSequence, Throwable) - Method in class com.bw.jtools.log.Log4JLogger
- warn(CharSequence, Throwable) - Method in class com.bw.jtools.Log.LoggerFacade
-
Logs a warning message error plus message and stack-trace of the Throwable.
- warn(CharSequence, Throwable) - Static method in class com.bw.jtools.Log
-
Logs an warning plus stack-trace.
- WARN - Static variable in class com.bw.jtools.Log
-
This logging level enables errors and warnings.
- WARN_PREFIX - Static variable in class com.bw.jtools.Log.LoggerFacade
All Classes All Packages