Alphabetical Index

A C D E F G H I L M N O R S T W

A

activateOptions() - method in class org.mondemand.log4j.MonDemandAppender
addContext(String,String) - method in class org.mondemand.Client
Adds contextual data to the client.
addTransport(org.mondemand.Transport) - method in class org.mondemand.Client
Adds a new transport to this client.
ALERT - static field in class org.mondemand.Level
Default alert priority value for the Logger
Logs a message a priority level ALERT, determining the calling class and line number on the fly.
alert(String) - method in class org.mondemand.Client
A convenience method to log a message at priority level ALERT
Logs a message a priority level ALERT.
ALL - static field in class org.mondemand.Level
Default value to send all messages for the Logger
append(LoggingEvent) - method in class org.mondemand.log4j.MonDemandAppender

C

ClassUtils - class org.mondemand.util.ClassUtils
Various class utilities that are used when the user doesn't specify parameters in the API.
Client - class org.mondemand.Client
This is the main entry point to MonDemand.
Client(String) - constructor for class org.mondemand.Client
The constructor creates a Client object that is ready to use.
close() - method in class org.mondemand.log4j.MonDemandAppender
compareTo(org.mondemand.TraceId) - method in class org.mondemand.TraceId
Compares this TraceId with another.
Context - class org.mondemand.Context
CRIT - static field in class org.mondemand.Level
Default critical priority value for the Logger
crit(org.mondemand.TraceId,String,Object[]) - method in class org.mondemand.Client
Logs a message a priority level CRIT, determining the calling class and line number on the fly.
crit(String) - method in class org.mondemand.Client
A convenience method to log a message at priority level CRIT
Logs a message at priority level CRIT

D

DEBUG - static field in class org.mondemand.Level
Default debug priority value for the Logger
Logs a message a priority level DEBUG, determining the calling class and line number on the fly.
debug(String) - method in class org.mondemand.Client
A convenience method to log a message at priority level DEBUG
Logs a message at priority level DEBUG
decrement() - method in class org.mondemand.Client
Decrements the default counter by one.
decrement(int) - method in class org.mondemand.Client
Decrements the default counter by value
decrement(String) - method in class org.mondemand.Client
Decrements the specified counter by one.
decrement(String,int) - method in class org.mondemand.Client
Decrements the specified counter by the value specified.
This implements the ErrorHandler interface and provides the default handler for MonDemand errors, which writes errors to standard error.

E

EMERG - static field in class org.mondemand.Level
Default emergency priority value for the Logger
Logs a message a priority level EMERG, determining the calling class and line number on the fly.
emerg(String) - method in class org.mondemand.Client
A convenience method to log a message a log level EMERG.
Logs a message at priority level EMERG
ERROR - static field in class org.mondemand.Level
Default error priority value for the Logger
Logs a message a priority level ERROR, determining the calling class and line number on the fly.
error(String) - method in class org.mondemand.Client
A convenience method to log a message at priority level ERROR
Logs a message at priority level ERROR
ErrorHandler - interface org.mondemand.ErrorHandler
This interface provides a way to create error handler callbacks.

F

finalize() - method in class org.mondemand.Client
Called when the client is destroyed.
flush() - method in class org.mondemand.Client
flushLogs() - method in class org.mondemand.Client
Flushes log data to the transports.
flushStats() - method in class org.mondemand.Client
Flushes statistics to the transports.
flushStats(boolean) - method in class org.mondemand.Client
Flushes statistics to the transports, but allows one to specify whether or not to reset the running statistics.

G

getAddress() - method in class org.mondemand.log4j.MonDemandAppender
Gets the LWES address
getCallingClass(int) - static method in class org.mondemand.util.ClassUtils
Returns the calling class from the depth specified.
getCallingLine(int) - static method in class org.mondemand.util.ClassUtils
Returns the calling line number from the depth specified.
getContext(String) - method in class org.mondemand.Client
Fetches contextual data from the client.
getContextKeys() - method in class org.mondemand.Client
Retrieves an enumeration of all the contextual data keys
getCounter() - method in class org.mondemand.StatsMessage
getErrorHandler() - method in class org.mondemand.Client
getFilename() - method in class org.mondemand.LogMessage
getId() - method in class org.mondemand.TraceId
Accessor which returns the identifier for this trace id
getImmediateSendLevel() - method in class org.mondemand.Client
getImmediateSendLevel() - method in class org.mondemand.log4j.MonDemandAppender
Gets the immediate send level for this appender.
getInterface() - method in class org.mondemand.log4j.MonDemandAppender
Gets the LWES network interface
getKey() - method in class org.mondemand.Context
getKey() - method in class org.mondemand.StatsMessage
getLevel() - method in class org.mondemand.LogMessage
getLine() - method in class org.mondemand.LogMessage
getMainClass() - static method in class org.mondemand.util.ClassUtils
Returns the top-level class name.
getMessage() - method in class org.mondemand.LogMessage
getNoSendLevel() - method in class org.mondemand.Client
getPort() - method in class org.mondemand.log4j.MonDemandAppender
Gets the LWES port
getProgId() - method in class org.mondemand.log4j.MonDemandAppender
Gets the program identifier for this appender.
getProgramId() - method in class org.mondemand.Client
getRepeat() - method in class org.mondemand.LogMessage
getTraceId() - method in class org.mondemand.LogMessage
getTtl() - method in class org.mondemand.log4j.MonDemandAppender
Gets the LWES network TTL (for multicast)
getValue() - method in class org.mondemand.Context

H

handleError(String) - method in class org.mondemand.DefaultErrorHandler
Writes MonDemand errors to standard error.
handleError(String) - method in class org.mondemand.ErrorHandler
handleError(String,Exception) - method in class org.mondemand.DefaultErrorHandler
Writes MonDemand errors that have an associated exception to standard error.
handleError(String,Exception) - method in class org.mondemand.ErrorHandler

I

increment() - method in class org.mondemand.Client
Increments the default counter by one.
increment(int) - method in class org.mondemand.Client
Increments the default counter by value
increment(String) - method in class org.mondemand.Client
Increments the specified counter by one.
increment(String,int) - method in class org.mondemand.Client
Increments the specified counter by the value specified.
INFO - static field in class org.mondemand.Level
Default info priority value for the Logger
info(org.mondemand.TraceId,String,Object[]) - method in class org.mondemand.Client
Logs a message a priority level INFO, determining the calling class and line number on the fly.
info(String) - method in class org.mondemand.Client
A convenience method to log a message at priority level INFO
Logs a message at priority level INFO

L

Level - class org.mondemand.Level
This represents the various logging levels in MonDemand
levelIsEnabled(int,org.mondemand.TraceId) - method in class org.mondemand.Client
A check for the log level that is set.
Generic logger function.
The most generic logger function.
LogMessage - class org.mondemand.LogMessage
LWESTransport - class org.mondemand.transport.LWESTransport
LWESTransport(InetAddress,int,InetAddress) - constructor for class org.mondemand.transport.LWESTransport
Creates an initializes a LWES transport.
LWESTransport(InetAddress,int,InetAddress,int) - constructor for class org.mondemand.transport.LWESTransport
Creates and initializes a LWES transport.

M

MonDemandAppender - class org.mondemand.log4j.MonDemandAppender
This is a log4j appender that uses the MonDemand API and is configured with the LWES transport.

N

NOTICE - static field in class org.mondemand.Level
Default notice priority value for the Logger
Logs a message a priority level NOTICE, determining the calling class and line number on the fly.
notice(String) - method in class org.mondemand.Client
A convenience method to log a message at priority level NOTICE
Logs a message at priority level NOTICE
NULL_TRACE_ID - static field in class org.mondemand.TraceId

O

OFF - static field in class org.mondemand.Level
all off
org.mondemand - package

R

removeAllContexts() - method in class org.mondemand.Client
Clear contextual data from the logger.
removeContext(String) - method in class org.mondemand.Client
Removes contextual data from the client.
requiresLayout() - method in class org.mondemand.log4j.MonDemandAppender
LOG4J HOOKS *

S

setAddress(String) - method in class org.mondemand.log4j.MonDemandAppender
Sets the LWES address
setCounter(long) - method in class org.mondemand.StatsMessage
setErrorHandler(org.mondemand.ErrorHandler) - method in class org.mondemand.Client
Sets a custom error handler.
setFilename(String) - method in class org.mondemand.LogMessage
setId(long) - method in class org.mondemand.TraceId
Mutator which allows the identifier to be overwritten
setImmediateSendLevel(int) - method in class org.mondemand.Client
setImmediateSendLevel(int) - method in class org.mondemand.log4j.MonDemandAppender
Sets the immediate send level for this appender.
setInterface(String) - method in class org.mondemand.log4j.MonDemandAppender
Sets the LWES network interface
setKey(String) - method in class org.mondemand.Context
setKey(String) - method in class org.mondemand.StatsMessage
setKey(String,int) - method in class org.mondemand.Client
Sets the counter to the specified val ue.
setKey(String,long) - method in class org.mondemand.Client
Sets the counter to the specified val ue.
setLevel(int) - method in class org.mondemand.LogMessage
setLine(int) - method in class org.mondemand.LogMessage
setMessage(String) - method in class org.mondemand.LogMessage
setNoSendLevel(int) - method in class org.mondemand.Client
setPort(int) - method in class org.mondemand.log4j.MonDemandAppender
Sets the LWES port
setProgId(String) - method in class org.mondemand.log4j.MonDemandAppender
Sets the program identifier for this appender.
setProgramId(String) - method in class org.mondemand.Client
setRepeat(int) - method in class org.mondemand.LogMessage
setTraceId(org.mondemand.TraceId) - method in class org.mondemand.LogMessage
setTtl(int) - method in class org.mondemand.log4j.MonDemandAppender
Sets the LWES network TTL (for multicast)
setValue(String) - method in class org.mondemand.Context
shutdown() - method in class org.mondemand.transport.LWESTransport
shutdown() - method in class org.mondemand.transport.StderrTransport
shutdown() - method in class org.mondemand.Transport
StatsMessage - class org.mondemand.StatsMessage
StderrTransport - class org.mondemand.transport.StderrTransport
StderrTransport() - constructor for class org.mondemand.transport.StderrTransport
STRINGS - static field in class org.mondemand.Level
textual representation

T

toString() - method in class org.mondemand.LogMessage
toString() - method in class org.mondemand.StatsMessage
TraceId - class org.mondemand.TraceId
TraceId() - constructor for class org.mondemand.TraceId
Default constructor, if no id is given
TraceId(long) - constructor for class org.mondemand.TraceId
Create a trace ID with the given identifier
Transport - interface org.mondemand.Transport
Class for throwing exceptions from transport implementations
TransportException() - constructor for class org.mondemand.TransportException
TransportException(Exception) - constructor for class org.mondemand.TransportException
TransportException(String) - constructor for class org.mondemand.TransportException
TransportException(String,Exception) - constructor for class org.mondemand.TransportException

W

WARNING - static field in class org.mondemand.Level
Default warning priority value for the Logger
Logs a message a priority level WARNING, determining the calling class and line number on the fly.
warning(String) - method in class org.mondemand.Client
A convenience method to log a message at priority level WARNING
Logs a message at priority level WARNING