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

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.
AbstractThreadMap.RuntimeException(String) - Constructor for exception de.christofreichardt.diagnosis.AbstractThreadMap.RuntimeException
 
AbstractThreadMap.RuntimeException(Throwable) - Constructor for exception de.christofreichardt.diagnosis.AbstractThreadMap.RuntimeException
 
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.
AbstractTracer.Exception(String) - Constructor for exception de.christofreichardt.diagnosis.AbstractTracer.Exception
Creates an Exception instance.
AbstractTracer.Exception(Throwable) - Constructor for exception de.christofreichardt.diagnosis.AbstractTracer.Exception
Creates an Exception instance.
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.
adapt(LogLevel, String, Class) - Method in class de.christofreichardt.diagnosis.file.FileTracerLog4jTee
Routes the given information to the log4j system.
adapt(LogLevel, Throwable, Class) - Method in class de.christofreichardt.diagnosis.file.FileTracerLog4jTee
Routes the given information to the log4j system.
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.
append(char) - 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.
convertToLog4jLevel(LogLevel) - Method in class de.christofreichardt.diagnosis.file.FileTracerLog4jTee
Translates the native LogLevel to a log4j level.
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.
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.
defaultPortNo - Variable in class de.christofreichardt.diagnosis.net.NetTracer
the default port

E

entry(String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
entry(String, Object, String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Indicates an entering of a method which belongs to an object.
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, Object, String) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
entry(String) - Method in class de.christofreichardt.diagnosis.DebugLogTee
Deprecated.
entry(String) - Method in class de.christofreichardt.diagnosis.file.FileTracerLog4jTee
Deprecated.
entry(String, Object, String) - Method in class de.christofreichardt.diagnosis.file.FileTracerLog4jTee
Calls the base implementation and routes to the log4j system.
entry(String, Class, String) - Method in class de.christofreichardt.diagnosis.file.FileTracerLog4jTee
Calls the base implementation and routes to the log4j system.
entry(String) - Method in class de.christofreichardt.diagnosis.NullTracer
Deprecated.
provided for backwards compatibility
entry(String, Object, String) - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo entry()-method.
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.QueueTracer
Delegates to the corresponding method of the wrapped tracer.

F

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.
FileTracerLog4jTee - Class in de.christofreichardt.diagnosis.file
Connects to the log4j system and uses additionally an internal FileTracer.
FileTracerLog4jTee(String) - Constructor for class de.christofreichardt.diagnosis.file.FileTracerLog4jTee
 
FileTracerLogTee - Class in de.christofreichardt.diagnosis.file
A DebugLogTee that uses a FileTracer internally.
FileTracerLogTee(String) - Constructor for class de.christofreichardt.diagnosis.file.FileTracerLogTee
 
flush() - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo flush()-method.
format(Locale, String, Object...) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo format()-method.
format(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
 
getDefaultTracer() - Method in class de.christofreichardt.diagnosis.TracerFactory
 
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
 
getInstance() - Static method in class de.christofreichardt.diagnosis.TracerFactory
Retrieves the single TracerFactory.
getLevel() - Method in class de.christofreichardt.diagnosis.DebugConfig
level getter.
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
 
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
 
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
 
getQueueTracerClassname() - Method in class de.christofreichardt.diagnosis.TracerFactory
 
getSignature() - Method in class de.christofreichardt.diagnosis.TraceMethod
This is the string representation of the method signature.
getSyncObject() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Synchronizes access to the TracePrintStream.
getSyncObject() - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
getSyncObject() - Method in class de.christofreichardt.diagnosis.QueueTracer
Delegates to the corresponding method of the wrapped tracer.
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.

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 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.
initCurrentTracingContext(int, boolean) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Initialises the current tracing context with the given debugLevel and online state.
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(int, boolean) - Method in class de.christofreichardt.diagnosis.DebugLogTee
 
initCurrentTracingContext() - Method in class de.christofreichardt.diagnosis.NullTracer
Pseudo initCurrentTracingContext()-method.
initCurrentTracingContext(int, boolean) - 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.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.
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
 

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

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.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.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
 
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
 
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(QueueNullTracer) - Method in class de.christofreichardt.diagnosis.TracerFactory
Required for symmetrical reasons.
offerTracer(QueueTracer<?>) - 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
 
OueueNetTracer(String, NetTracer) - Constructor for class de.christofreichardt.diagnosis.net.OueueNetTracer
 
out() - Method in class de.christofreichardt.diagnosis.AbstractTracer
Returns some kind of an IndentablePrintStream based upon the the current managed stack size, the configured debug level and the online state of the current tracing context.
out(int) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Returns some kind of an IndentablePrintStream based upon the given level, 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(int) - Method in class de.christofreichardt.diagnosis.NullTracer
Returns always a NullPrintStream regardless of the given level.
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.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(char[]) - 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(char) - 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(String) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo print()-method.
print(boolean) - 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(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.
printf(Locale, String, Object...) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo printf()-method.
printf(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(char[]) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo println()-method.
println() - 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(char) - 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(String) - 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(long) - 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.

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
 
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(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.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
 
readConfiguration(File) - Method in class de.christofreichardt.diagnosis.TracerFactory
Reads the given configuration file, validates it against a 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.
remove() - Method in class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl.Iterator
Unsupported operation.
reset() - Method in class de.christofreichardt.diagnosis.TracerFactory
Clears the pool, the mappings and the queue.

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
 
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
 
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
 
setTracePrintStream(TracePrintStream) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Derived classes may use this setter to inform the base class about the actual TracePrintStream.
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.
substitute(String) - Method in class de.christofreichardt.diagnosis.AbstractTracer
Replaces the given argument by repeatedly substituting all expressions of the form ${property-key} with the corresponding property value.

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
 
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, Object, String) - Constructor for class de.christofreichardt.diagnosis.TraceMethod
Constructs a TraceMethod with the specified signature.
TraceMethod(String, Class, 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() - Constructor for class de.christofreichardt.diagnosis.io.TracePrintStream
Creates a new instance by passing a NullOutputStream to the base class.
TracePrintStream(OutputStream, AbstractThreadMap) - Constructor for class de.christofreichardt.diagnosis.io.TracePrintStream
Creates a new instance of TracePrintStream by passing the given OutputStream to the underlying PrintStream.
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.
TracerConfigNamespaceContextImpl.Iterator() - Constructor for class de.christofreichardt.diagnosis.TracerConfigNamespaceContextImpl.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.Exception(String) - Constructor for exception de.christofreichardt.diagnosis.TracerFactory.Exception
Constructor expects error message.
TracerFactory.Exception(Throwable) - Constructor for exception de.christofreichardt.diagnosis.TracerFactory.Exception
Constructor expects a throwable which is the cause of the trouble.
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.

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
 

W

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.file.FileTracerLog4jTee
Calls the base implementation and routes to the log4j system.
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(int) - Method in class de.christofreichardt.diagnosis.io.NullOutputStream
Pseudo write()-method.
write(byte[], int, int) - Method in class de.christofreichardt.diagnosis.io.NullOutputStream
Pseudo write()-method.
write(byte[]) - Method in class de.christofreichardt.diagnosis.io.NullOutputStream
Pseudo write()-method.
write(int) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo write()-method.
write(byte[], int, int) - Method in class de.christofreichardt.diagnosis.io.NullPrintStream
Pseudo write()-method.
write(byte[]) - 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 V W 

Copyright © 2014 Christof Reichardt. All rights reserved. (Build: 26-May-2014)