A B C D E F G H I J L M N O P Q R S T U V W 
All Classes All Packages

A

AbstractThreadMap - Class in de.christofreichardt.diagnosis
Has been introduced to exchange thread maps which are based on Map<Thread,TracingContext> with thread maps which are based on ThreadLocals and vice versa.
AbstractThreadMap() - Constructor for class de.christofreichardt.diagnosis.AbstractThreadMap
 
AbstractThreadMap.RuntimeException - Exception in de.christofreichardt.diagnosis
Indicates a corruption of the method stack.
AbstractTracer - Class in de.christofreichardt.diagnosis
Defines the basic behaviour of tracers.
AbstractTracer(String) - Constructor for class de.christofreichardt.diagnosis.AbstractTracer
Constructor expects a name for the tracer, preferably unique.
AbstractTracer.Exception - Exception in de.christofreichardt.diagnosis
Indicates exceptional states within the AbstractTracer context.
adapt(LogLevel, String, Class<?>) - Method in class de.christofreichardt.diagnosis.DebugLogTee
Derived classes should provide code which routes the given message with the denoted logLevel and class to the desired log system.
adapt(LogLevel, Throwable, Class<?>) - Method in class de.christofreichardt.diagnosis.DebugLogTee
Derived classes should provide code which routes the given throwable with the denoted logLevel and class to the desired log system.
append(char) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo append()-method.
append(CharSequence) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo append()-method.
append(CharSequence, int, int) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo append()-method.

B

byteLimit - Variable in class de.christofreichardt.diagnosis.file.FileTracer
indicates the lower bound of the number of bytes which leads to a log file rotation

C

checkError() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Indicates always no error.
checkLimit() - Method in class de.christofreichardt.diagnosis.file.FileTracer
Checks if the file size limit has been exceeded and splits the trace file if need be.
clearCurrentTracingContext() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Removes the current tracing context, that is - for example - subsequent calls to AbstractTracer.out() from the current thread will return the NullPrintStream.
clearCurrentTracingContext() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
clearError() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo clearError()-method.
close() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Derived classes should provide code that closes the output streams.
close() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
close() - Method in class de.christofreichardt.diagnosis.file.FileTracer
Closes the associated trace streams.
close() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Closes the underlying IndentablePrintStream.
close() - Method in class de.christofreichardt.diagnosis.net.NetTracer
Closes the associated TracePrintStream.
close() - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo close()-method.
close() - Method in class de.christofreichardt.diagnosis.QueueTracer
Closes the wrapped tracer.
closePoolTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
Closes all pooled tracers.
closeQueueTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
Tries to close all enqueued QueueTracer.
convertToJDK14Level(LogLevel) - Method in class de.christofreichardt.diagnosis.JDKLoggingRouter
Translates the LogLevels into Levels.
counter - Variable in class de.christofreichardt.diagnosis.file.FileTracer
counts the number of file splittings

D

de.christofreichardt.diagnosis - package de.christofreichardt.diagnosis
Provides the basic tracing faclitities.
de.christofreichardt.diagnosis.file - package de.christofreichardt.diagnosis.file
Contains tracers which log into the local file system.
de.christofreichardt.diagnosis.io - package de.christofreichardt.diagnosis.io
Contains primarily the definitions of the I/O streams used by the tracers.
de.christofreichardt.diagnosis.net - package de.christofreichardt.diagnosis.net
Contains tracer which log over the network.
de.christofreichardt.util - package de.christofreichardt.util
 
DebugConfig - Class in de.christofreichardt.diagnosis
Helper class which contains the trace options of a tracer for a particular thread.
DebugConfig(boolean, int) - Constructor for class de.christofreichardt.diagnosis.DebugConfig
Constructor expects the trace options.
DebugLogTee<T extends AbstractTracer> - Class in de.christofreichardt.diagnosis
An abstract base class which provides the environment to connect additionally to another log system, such as log4j.
DebugLogTee(String, T) - Constructor for class de.christofreichardt.diagnosis.DebugLogTee
Constructor expects the name of the tracer and the to be wrapped Tracer instance.

E

entry(String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
entry(String) - Method in class de.christofreichardt.diagnosis.DebugLogTee
Deprecated.
entry(String) - Method in class de.christofreichardt.diagnosis.NullTracer
Deprecated.
provided for backwards compatibility
entry(String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Indicates an entering of a method which belongs to a class.
entry(String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
entry(String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo entry()-method.
entry(String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
entry(String, Object, String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Indicates an entering of a method which belongs to an object.
entry(String, Object, String) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
entry(String, Object, String) - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo entry()-method.
entry(String, Object, String) - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
ERROR - de.christofreichardt.diagnosis.LogLevel
indicates an error message.
Exception(String) - Constructor for exception de.christofreichardt.diagnosis.AbstractTracer.Exception
Creates an Exception instance.
Exception(String) - Constructor for exception de.christofreichardt.diagnosis.TracerFactory.Exception
Constructor expects error message.
Exception(Throwable) - Constructor for exception de.christofreichardt.diagnosis.AbstractTracer.Exception
Creates an Exception instance.
Exception(Throwable) - Constructor for exception de.christofreichardt.diagnosis.TracerFactory.Exception
Constructor expects a throwable which is the cause of the trouble.

F

FATAL - de.christofreichardt.diagnosis.LogLevel
indicates a more serious error message.
fileOutputStream - Variable in class de.christofreichardt.diagnosis.file.FileTracer
the underlying OutputStream
FileTracer - Class in de.christofreichardt.diagnosis.file
This particular tracer logs into the local file system.
FileTracer(String) - Constructor for class de.christofreichardt.diagnosis.file.FileTracer
Constructor expects the preferably unique tracer name.
FileTracerLogTee - Class in de.christofreichardt.diagnosis.file
A DebugLogTee that uses a FileTracer internally.
FileTracerLogTee(String) - Constructor for class de.christofreichardt.diagnosis.file.FileTracerLogTee
Constructs a FileTracerLogTee using the given name for the embedded FileTracer.
flush() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo flush()-method.
format(String, Object...) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo format()-method.
format(Locale, String, Object...) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo format()-method.
formatStreamErrorState() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Gives a string representation about the error state of the IndentablePrintStream of this Tracer instance.
formatVersionInfo() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Gives a string representation about the version of this library.

G

getBufferedOutputStream() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Derived classes may use this getter to retrieve the buffer of the actual TracePrintStream.
getBufferSize() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Gives the buffer size of the actual TracePrintStream.
getBufferSize() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
getBufferSize() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
getByteLimit() - Method in class de.christofreichardt.diagnosis.file.FileTracer
Indicates the lower bound of the number of bytes which leads to a log file rotation.
getClazz() - Method in class de.christofreichardt.diagnosis.TraceMethod
The class owning the method.
getCurrentPoolTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
Returns the mapped tracer for the current thread.
getCurrentQueueTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
Returns the QueueTracer for the current thread.
getCurrentStackSize() - Method in class de.christofreichardt.diagnosis.AbstractThreadMap
Returns the stack size of the current thread.
getCurrentStackSize() - Method in class de.christofreichardt.diagnosis.ThreadLocalMap
 
getCurrentStackSize() - Method in class de.christofreichardt.diagnosis.ThreadMap
Returns the stack size of the current thread.
getCurrentTracer() - Method in interface de.christofreichardt.diagnosis.Traceable
Returns the "current" tracer for the implementing class.
getDefaultTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
Returns the configured default tracer (a NullTracer).
getElapsedCpuTime() - Method in class de.christofreichardt.diagnosis.TraceMethod
This is the elapsed CPU time since the construction of the TraceMethod until the moment the TraceMethod is popped from the stack again.
getElapsedTime() - Method in class de.christofreichardt.diagnosis.TraceMethod
This is the elapsed time in milliseconds since the construction of the TraceMethod until the moment the TraceMethod is popped from the stack again.
getHostName() - Method in class de.christofreichardt.diagnosis.net.NetTracer
Returns the hostname used to connect to the remote logging server.
getInstance() - Static method in class de.christofreichardt.diagnosis.TracerFactory
Retrieves the single TracerFactory.
getLevel() - Method in class de.christofreichardt.diagnosis.DebugConfig
level getter.
getLevel() - Method in class de.christofreichardt.diagnosis.QueueTracer
Returns the configured debuglevel.
getLevel(String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Returns the configured debug level - that is the stack size - up until trace messages will be printed for a particular thread
getLock() - Method in class de.christofreichardt.diagnosis.io.TracePrintStream.LockAccess
getLogDirPath() - Method in class de.christofreichardt.diagnosis.file.FileTracer
Gives the path to the directory of the logfile.
getLogDirPath() - Method in class de.christofreichardt.diagnosis.file.FileTracerLogTee
Returns the configured log directory for the embedded FileTracer.
getLogDirPath() - Method in class de.christofreichardt.diagnosis.file.QueueFileTracer
Returns the log directory of the internally used FileTracer.
getMethodName() - Method in class de.christofreichardt.diagnosis.TraceMethod
The method name inclusive list of parameters.
getName() - Method in class de.christofreichardt.diagnosis.AbstractTracer
The name of the tracer.
getName() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
getNamespaceURI(String) - Method in class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl
Returns the fixed namespace URI for the prefix "dns".
getNullPrintStream() - Method in class de.christofreichardt.diagnosis.AbstractTracer
A replacement for /dev/null.
getPortNo() - Method in class de.christofreichardt.diagnosis.net.NetTracer
Returns the port number used to connect to the remote logging server.
getPrefix(String) - Method in class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl
Returns the prefix for the fixed namespace "http://www.christofreichardt.de/java/tracer".
getPrefixes(String) - Method in class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl
Returns a special iterator implementation.
getQueueSize() - Method in class de.christofreichardt.diagnosis.TracerFactory
Returns the size of the configured tracer queue.
getQueueTracerClassname() - Method in class de.christofreichardt.diagnosis.TracerFactory
Returns the classname of the configured QueueTracer.
getSignature() - Method in class de.christofreichardt.diagnosis.TraceMethod
This is the string representation of the method signature.
getThreadMap() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Provides access to the tracing contexts indexed by Threads.
getThreadMap() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
getTracePrintStream() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Derived classes may use this getter to retrieve the actual TracePrintStream.
getTracer(String) - Method in class de.christofreichardt.diagnosis.TracerFactory
Returns the pooled tracer with the given name.
getTracer(Thread) - Method in class de.christofreichardt.diagnosis.TracerFactory
Returns the mapped tracer for the given thread.
grantLockAccess(FileTracer) - Method in class de.christofreichardt.diagnosis.io.TracePrintStream
Grants access to the TracePrintStream.lock.

H

hasNext() - Method in class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl.Iterator
Returns true if and only if next() hasn't been called yet.
hostName - Variable in class de.christofreichardt.diagnosis.net.NetTracer
the host name of the debug server

I

INDENT_CHAR_NUMBER - Static variable in class de.christofreichardt.diagnosis.io.TracePrintStream
number of spaces that should be used per indentation
INDENT_STRING - Static variable in class de.christofreichardt.diagnosis.io.TracePrintStream
string array that contains the indent strings
Indentable - Interface in de.christofreichardt.diagnosis.io
This interface defines the methods IndentablePrintStreams must implement.
IndentablePrintStream - Class in de.christofreichardt.diagnosis.io
The base class of all indentable print streams.
IndentablePrintStream(OutputStream) - Constructor for class de.christofreichardt.diagnosis.io.IndentablePrintStream
This constructor passes the given OutputStream to the underlying PrintStream implementation.
INFO - de.christofreichardt.diagnosis.LogLevel
indicates an information message.
initCurrentTracingContext() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Initialises the current tracing context by taking the values for debugLevel and online from the configured debug map.
initCurrentTracingContext() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
initCurrentTracingContext() - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo initCurrentTracingContext()-method.
initCurrentTracingContext() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer by using the config parameter global to all queued tracer.
initCurrentTracingContext(int, boolean) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Initialises the current tracing context with the given debugLevel and online state.
initCurrentTracingContext(int, boolean) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
initCurrentTracingContext(int, boolean) - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo initCurrentTracingContext()-method.
initCurrentTracingContext(int, boolean) - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
isAutoflush() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Indicates whether the output stream will be flushed when leaving a method by AbstractTracer.wayout().
isAutoflush() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
isAutoflush() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
isOnline() - Method in class de.christofreichardt.diagnosis.DebugConfig
online getter.
isOnline() - Method in class de.christofreichardt.diagnosis.QueueTracer
Returns the configured online value.
isOnline(String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Indicates if some particular thread is configured to be online.
isOpened() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Indicates whether the actual TracePrintStream is opened.
isOpened() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
isOpened() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
isQueueEnabled() - Method in class de.christofreichardt.diagnosis.TracerFactory
Indicates if the tracer queue is enabled.
Iterator() - Constructor for class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl.Iterator
 

J

JDKLoggingRouter - Class in de.christofreichardt.diagnosis
This specialised NullTracer redirects log messages to the core logging facilities of the Java platform, see java.util.logging.
JDKLoggingRouter() - Constructor for class de.christofreichardt.diagnosis.JDKLoggingRouter
 

L

lock - Variable in class de.christofreichardt.diagnosis.io.TracePrintStream
used to synchronize access to this TracePrintStream.
lock() - Method in class de.christofreichardt.diagnosis.io.IndentablePrintStream
Acquires a lock to prevent concurrent access to the IndentablePrintStream.
lock() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo lock()-method.
lock() - Method in class de.christofreichardt.diagnosis.io.TracePrintStream
 
lockAccess - Variable in class de.christofreichardt.diagnosis.file.FileTracer
A helper object used to facilitate the roll-over of a Lock from one instance of a TracePrintStream to another instance.
Log4j2Router - Class in de.christofreichardt.diagnosis
A specialized NullTracer which delegates log messages to Log4j2 loggers.
Log4j2Router() - Constructor for class de.christofreichardt.diagnosis.Log4j2Router
 
LogbackRouter - Class in de.christofreichardt.diagnosis
A specialized NullTracer which delegates log messages to Logback loggers.
LogbackRouter() - Constructor for class de.christofreichardt.diagnosis.LogbackRouter
 
logDirPath - Variable in class de.christofreichardt.diagnosis.file.FileTracer
denotes default log directory
logException(LogLevel, Throwable, Class<?>, String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Logs an exception with the given logLevel and the originating class.
logException(LogLevel, Throwable, Class<?>, String) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
logException(LogLevel, Throwable, Class<?>, String) - Method in class de.christofreichardt.diagnosis.file.FileTracer
 
logException(LogLevel, Throwable, Class<?>, String) - Method in class de.christofreichardt.diagnosis.JDKLoggingRouter
Calls the Logger for the given clazz.
logException(LogLevel, Throwable, Class<?>, String) - Method in class de.christofreichardt.diagnosis.Log4j2Router
This method gets itself a Log4j2 ExtendedLogger by invoking Log4j2s LogManager with the given clazz.
logException(LogLevel, Throwable, Class<?>, String) - Method in class de.christofreichardt.diagnosis.LogbackRouter
This method gets itself a LocationAwareLogger by invoking SLF4Js LoggerFactory with the given clazz.
logException(LogLevel, Throwable, Class<?>, String) - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo logException()-method.
logException(LogLevel, Throwable, Class<?>, String) - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
LogLevel - Enum in de.christofreichardt.diagnosis
Enumeration of the pre-defined log level.
logMessage(LogLevel, String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Logs a message with the given logLevel and the originating class.
logMessage(LogLevel, String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
logMessage(LogLevel, String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.file.FileTracer
 
logMessage(LogLevel, String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.JDKLoggingRouter
Calls the Logger for the given clazz.
logMessage(LogLevel, String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.Log4j2Router
This method gets itself a Log4j2 ExtendedLogger by invoking Log4j2s LogManager with the given clazz.
logMessage(LogLevel, String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.LogbackRouter
This method gets itself a LocationAwareLogger by invoking SLF4Js LoggerFactory with the given clazz.
logMessage(LogLevel, String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo logMessage()-method.
logMessage(LogLevel, String, Class<?>, String) - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.

M

MAX_INDENT_NUMBER - Static variable in class de.christofreichardt.diagnosis.io.TracePrintStream
indicates the maximum number of indentations

N

NetTracer - Class in de.christofreichardt.diagnosis.net
This particular tracer logs over the network.
NetTracer(String) - Constructor for class de.christofreichardt.diagnosis.net.NetTracer
Constructor expects the name of the tracer.
next() - Method in class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl.Iterator
Returns the next prefix, that is the first call will return "dns" and then a NoSuchElementException will be raised.
NullOutputStream - Class in de.christofreichardt.diagnosis.io
This OutputStream discards all bytes that are written into it.
NullOutputStream() - Constructor for class de.christofreichardt.diagnosis.io.NullOutputStream
default constructor.
NullPrintStream - Class in de.christofreichardt.diagnosis.io
The tracer classes return such a NullPrintStream when the current state and the configuration demands that no output should be written.
NullPrintStream() - Constructor for class de.christofreichardt.diagnosis.io.NullPrintStream
Default constructor passes a NullOutputStream to the underlying IndentablePrintStream.
NullTracer - Class in de.christofreichardt.diagnosis
Instances of this tracer type don't trace anything and therefore need not to manage any method stacks.
NullTracer() - Constructor for class de.christofreichardt.diagnosis.NullTracer
Default constructor.
NullTracer(String) - Constructor for class de.christofreichardt.diagnosis.NullTracer
Constructor for pooled tracers with (unique) names.

O

offerTracer(QueueTracer<? extends AbstractTracer>) - Method in class de.christofreichardt.diagnosis.TracerFactory
Used to enqueue a tracer which has been previously retrieved by a call to TracerFactory.takeTracer().
open() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Derived classes should provide code that opens the respective output streams.
open() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
open() - Method in class de.christofreichardt.diagnosis.file.FileTracer
Creates the underlying trace file and opens the associated trace streams.
open() - Method in class de.christofreichardt.diagnosis.net.NetTracer
Opens the associated TracePrintStream by wrapping the socket streams.
open() - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo open()-method.
open() - Method in class de.christofreichardt.diagnosis.QueueTracer
Opens the wrapped tracer.
openPoolTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
Opens all pooled tracers.
openQueueTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
Tries to open all enqueued QueueTracer.
OueueNetTracer - Class in de.christofreichardt.diagnosis.net
Not supported yet.
OueueNetTracer(String, NetTracer) - Constructor for class de.christofreichardt.diagnosis.net.OueueNetTracer
 
out() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Returns some kind of IndentablePrintStream based upon the current managed stack size, the configured debug level and the online state of the current tracing context.
out() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
out() - Method in class de.christofreichardt.diagnosis.file.FileTracer
 
out() - Method in class de.christofreichardt.diagnosis.NullTracer
Returns always a NullPrintStream.
out() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
out(int) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Returns some kind of IndentablePrintStream based upon the given level, the configured debug level and the online state of the current tracing context.
out(int) - Method in class de.christofreichardt.diagnosis.NullTracer
Returns always a NullPrintStream regardless of the given level.
out(int) - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.

P

pizzaConnection - Variable in class de.christofreichardt.diagnosis.net.NetTracer
the pizza connection to the debug server
portNo - Variable in class de.christofreichardt.diagnosis.net.NetTracer
the debug server's port number
print(boolean) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(char) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(char[]) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(double) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(float) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(int) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(long) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(Object) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(String) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
printf(String, Object...) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo printf()-method.
printf(Locale, String, Object...) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo printf()-method.
printfIndentln(String, Object...) - Method in interface de.christofreichardt.diagnosis.io.Indentable
A convenience method to print an indented string onto the stream using the specified format string and the given arguments.
printfIndentln(String, Object...) - Method in class de.christofreichardt.diagnosis.io.IndentablePrintStream
 
printfIndentln(String, Object...) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
 
printfIndentln(String, Object...) - Method in class de.christofreichardt.diagnosis.io.TracePrintStream
 
printIndent(String) - Method in interface de.christofreichardt.diagnosis.io.Indentable
Prints an indented string.
printIndent(String) - Method in class de.christofreichardt.diagnosis.io.IndentablePrintStream
 
printIndent(String) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
 
printIndent(String) - Method in class de.christofreichardt.diagnosis.io.TracePrintStream
 
printIndentln(String) - Method in interface de.christofreichardt.diagnosis.io.Indentable
Prints an indented string together with a line feed.
printIndentln(String) - Method in class de.christofreichardt.diagnosis.io.IndentablePrintStream
 
printIndentln(String) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
 
printIndentln(String) - Method in class de.christofreichardt.diagnosis.io.TracePrintStream
 
printIndentString() - Method in interface de.christofreichardt.diagnosis.io.Indentable
Prints only the current indentation.
printIndentString() - Method in class de.christofreichardt.diagnosis.io.IndentablePrintStream
 
printIndentString() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
 
printIndentString() - Method in class de.christofreichardt.diagnosis.io.TracePrintStream
 
println() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(boolean) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(char) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(char[]) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(double) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(float) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(int) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(long) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(Object) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println(String) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
PropertyExpression - Class in de.christofreichardt.util
Utility class responsible for searching for expressions of the form ${property} within strings and replacing them with the value of the corresponding property from the given Properties - if there is one.
PropertyExpression(Properties) - Constructor for class de.christofreichardt.util.PropertyExpression
Constructor expects some Properties.

Q

QueueFileTracer - Class in de.christofreichardt.diagnosis.file
A QueueTracer that uses a FileTracer internally.
QueueFileTracer(String) - Constructor for class de.christofreichardt.diagnosis.file.QueueFileTracer
Constructor expects the name of the (internal) FileTracer.
QueueNullTracer - Class in de.christofreichardt.diagnosis
This is the tracer the TracerFactory delivers if the Queue is disabled.
QueueNullTracer(NullTracer) - Constructor for class de.christofreichardt.diagnosis.QueueNullTracer
The constructor expects a NullTracer.
QueueTracer<T extends AbstractTracer> - Class in de.christofreichardt.diagnosis
A special tracer intended for the use by a bounded blocking queue.
QueueTracer(String, T) - Constructor for class de.christofreichardt.diagnosis.QueueTracer
Constructor expects the tracer name and the to be wrapped tracer instance.

R

readConfiguration(File) - Method in class de.christofreichardt.diagnosis.TracerFactory
Reads the given configuration file, validates it against an XML-Schema and creates the tracer pool, its mappings and the queue accordingly.
readConfiguration(InputStream) - Method in class de.christofreichardt.diagnosis.TracerFactory
Reads the configuration from the given InputStream.
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Reads the configuration for this particular tracer instance by evaluating the given node with the given xpath engine.
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.file.FileTracer
 
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.file.QueueFileTracer
 
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.LogbackRouter
 
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.net.NetTracer
 
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.net.OueueNetTracer
 
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo readConfiguration()-method.
readConfiguration(XPath, Node) - Method in class de.christofreichardt.diagnosis.QueueTracer
 
remove() - Method in class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl.Iterator
Unsupported operation.
replace(String) - Method in class de.christofreichardt.util.PropertyExpression
Replaces expressions of the form ${property} within the given String by replacing ${property} with the corresponding property value (no recursion) .
replace(String, boolean) - Method in class de.christofreichardt.util.PropertyExpression
Replaces expressions of the form ${property} within the given String by replacing ${property} with the corresponding property value.
requestLockAccess(TracePrintStream.LockAccess) - Method in class de.christofreichardt.diagnosis.file.FileTracer
The TracePrintStream uses this method to grant lock access to this FileTracer.
reset() - Method in class de.christofreichardt.diagnosis.TracerFactory
Clears the pool, the mappings and the queue.
RuntimeException(String) - Constructor for exception de.christofreichardt.diagnosis.AbstractThreadMap.RuntimeException
 
RuntimeException(Throwable) - Constructor for exception de.christofreichardt.diagnosis.AbstractThreadMap.RuntimeException
 
runWithLock(Runnable) - Method in class de.christofreichardt.diagnosis.io.IndentablePrintStream
The given Runnable will be executed when the lock could be acquired.
runWithLock(Runnable) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo runWithLock()-method.
runWithLock(Runnable) - Method in class de.christofreichardt.diagnosis.io.TracePrintStream
 

S

sendUserCredentials() - Method in class de.christofreichardt.diagnosis.net.NetTracer
Collects some user credentials and sends them over the network.
setAutoflush(boolean) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Used during the configuration.
setAutoflush(boolean) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
setAutoflush(boolean) - Method in class de.christofreichardt.diagnosis.QueueTracer
Sets the autoflush mode of the wrapped tracer
setBufferedOutputStream(BufferedOutputStream) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Derived classes may use this setter to inform the base class about the buffer of the actual TracePrintStream.
setBufferSize(int) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Configures the buffer size of the actual TracePrintStream.
setBufferSize(int) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
setBufferSize(int) - Method in class de.christofreichardt.diagnosis.QueueTracer
Sets the buffer size of the wrapped tracer.
setByteLimit(long) - Method in class de.christofreichardt.diagnosis.file.FileTracer
Sets the lower bound of the number of bytes which leads to a log file rotation.
setError() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo setError()-method.
setHostName(String) - Method in class de.christofreichardt.diagnosis.net.NetTracer
Sets the hostname used to connect to the remote logging server.
setLock(ReentrantLock) - Method in class de.christofreichardt.diagnosis.io.TracePrintStream.LockAccess
setLogDirPath(Path) - Method in class de.christofreichardt.diagnosis.file.FileTracer
Sets the path to the directory of the logfile.
setLogDirPath(Path) - Method in class de.christofreichardt.diagnosis.file.FileTracerLogTee
Setter to override the default log directory of the embedded FileTracer.
setOpened(boolean) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Derived classes may use this method to inform the base class that the actual TracePrintStream is opened.
setPortNo(int) - Method in class de.christofreichardt.diagnosis.net.NetTracer
Sets the port number used to connect to the remote logging server.
setTracePrintStream(TracePrintStream) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Derived classes may use this setter to inform the base class about the actual TracePrintStream.
SEVERE - de.christofreichardt.diagnosis.LogLevel
indicates a severe error message.
STACK_SIZE - Static variable in class de.christofreichardt.diagnosis.AbstractThreadMap
denotes the maximal number of traced methods on the stack
stopTime() - Method in class de.christofreichardt.diagnosis.TraceMethod
Stops the elapsed (cpu) time since creation of this TraceMethod instance.

T

takeTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
Takes the tracer from the head of the deque.
ThreadLocalMap - Class in de.christofreichardt.diagnosis
A AbstractThreadMap which maps threads on TracingContexts by using ThreadLocals.
ThreadLocalMap() - Constructor for class de.christofreichardt.diagnosis.ThreadLocalMap
 
threadMap - Variable in class de.christofreichardt.diagnosis.io.TracePrintStream
provides access to the tracing contexts indexed by thread objects
ThreadMap - Class in de.christofreichardt.diagnosis
This class maps threads on TracingContexts.
ThreadMap() - Constructor for class de.christofreichardt.diagnosis.ThreadMap
 
TIMEOUT - Static variable in class de.christofreichardt.diagnosis.net.NetTracer
The timeout when connecting to the remote logging server in milliseconds
Traceable - Interface in de.christofreichardt.diagnosis
Classes which implement this interface delegate the retrieval of a particular tracer to the specified method.
traceLogfile - Variable in class de.christofreichardt.diagnosis.file.FileTracer
the actual log file
TraceMethod - Class in de.christofreichardt.diagnosis
Outlines a method for tracing.
TraceMethod(String) - Constructor for class de.christofreichardt.diagnosis.TraceMethod
Constructs a TraceMethod with the specified signature.
TraceMethod(String, Class<?>) - Constructor for class de.christofreichardt.diagnosis.TraceMethod
Deprecated.
TraceMethod(String, Class<?>, String) - Constructor for class de.christofreichardt.diagnosis.TraceMethod
Constructs a TraceMethod with the specified signature.
TraceMethod(String, Object, String) - Constructor for class de.christofreichardt.diagnosis.TraceMethod
Constructs a TraceMethod with the specified signature.
TracePrintStream - Class in de.christofreichardt.diagnosis.io
This is the main implementation of an indentable PrintStream.
TracePrintStream(AbstractThreadMap) - Constructor for class de.christofreichardt.diagnosis.io.TracePrintStream
Creates a new instance by passing a NullOutputStream to the base class.
TracePrintStream(BufferedOutputStream, AbstractThreadMap) - Constructor for class de.christofreichardt.diagnosis.io.TracePrintStream
Creates a new instance of TracePrintStream by passing the given OutputStream to the underlying PrintStream.
TracePrintStream.LockAccess - Class in de.christofreichardt.diagnosis.io
Helper class for controlled access to the TracePrintStream.lock by classes outside the inheritance hierarchy and outside the de.christofreichardt.diagnosis.io package.
tracer - Variable in class de.christofreichardt.diagnosis.DebugLogTee
Some tracer.
tracer - Variable in class de.christofreichardt.diagnosis.QueueTracer
Some tracer.
TracerConfigNamespaceContextImpl - Class in de.christofreichardt.diagnosis
Since the TracerFactory uses XPath to access the XML configuration involving namespaces an implementation of the NamespaceContext interface is necessary.
TracerConfigNamespaceContextImpl() - Constructor for class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl
default constructor.
TracerConfigNamespaceContextImpl.Iterator - Class in de.christofreichardt.diagnosis
Simplified implementation of an iterator.
TracerFactory - Class in de.christofreichardt.diagnosis
A factory and holder of tracers.
TracerFactory.Exception - Exception in de.christofreichardt.diagnosis
Base exception class for all exceptional situations within the context of the TracerFactory
TracerFactory.Queue - Class in de.christofreichardt.diagnosis
If appropriately configured it enables access to a blocking deque of tracers.
TracingContext - Class in de.christofreichardt.diagnosis
The tracing context of one particular thread.

U

unlock() - Method in class de.christofreichardt.diagnosis.io.IndentablePrintStream
Unlocks the lock.
unlock() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo unlock()-method
unlock() - Method in class de.christofreichardt.diagnosis.io.TracePrintStream
 

V

valueOf(String) - Static method in enum de.christofreichardt.diagnosis.LogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.christofreichardt.diagnosis.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class de.christofreichardt.diagnosis.AbstractTracer
Notes the current version.

W

WARNING - de.christofreichardt.diagnosis.LogLevel
indicates a warning message.
wayout() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Indicates the exiting of a method.
wayout() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
wayout() - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo wayout()-method.
wayout() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
write(byte[]) - Method in class de.christofreichardt.diagnosis.io.NullOutputStream
Pseudo write()-method.
write(byte[]) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo write()-method.
write(byte[], int, int) - Method in class de.christofreichardt.diagnosis.io.NullOutputStream
Pseudo write()-method.
write(byte[], int, int) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo write()-method.
write(int) - Method in class de.christofreichardt.diagnosis.io.NullOutputStream
Pseudo write()-method.
write(int) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo write()-method.
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes All Packages