- getCapacityLimit() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
-
Get the capacity of the future log watch.
- getCause() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
-
Returns the cause for this exception.
- getCause() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
-
- getDate() - Method in interface com.github.triceo.splitlog.api.Message
-
Get the date that this message was logged on.
- getDefault() - Static method in class com.github.triceo.splitlog.api.LogWatchBuilder
-
Used to construct a
LogWatch
for a particular log file.
- getDelay() - Method in class org.apache.commons.io.input.fork.Tailer
-
Return the delay in milliseconds.
- getDelayBetweenReads() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
-
Get the delay between attempts to read from the watched file.
- getDelayBetweenSweeps() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
-
Get the delay between attempts to sweep unreachable messages from memory.
- getExceptionClass() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
-
- getExceptionClass() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
-
- getExceptionClassName() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
-
- getExceptionClassName() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
-
- getExceptionDescriptor() - Method in interface com.github.triceo.splitlog.api.Message
-
Get data about exception included in this message.
- getFile() - Method in class org.apache.commons.io.input.fork.Tailer
-
Return the file.
- getFileToWatch() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
-
Get the file that the log watch will be watching.
- getFollowed() - Method in interface com.github.triceo.splitlog.api.Follower
-
Retrieve the log watch that is being followed.
- getGateCondition() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
-
- getLines() - Method in interface com.github.triceo.splitlog.api.Message
-
Get each line of the message.
- getLinesWithoutMetadata() - Method in interface com.github.triceo.splitlog.api.Message
-
Get each line of the message, with metadata stripped out.
- getLogger() - Method in interface com.github.triceo.splitlog.api.Message
-
Will return the name of the logger that was used to write the log
message.
- getLogger(Class<?>) - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
-
- getLogger(String) - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
-
- getMeasure() - Method in interface com.github.triceo.splitlog.api.MessageMetric
-
Retrieves the measure that is used to produce the value of this metric.
- getMerged() - Method in interface com.github.triceo.splitlog.api.MergingFollower
-
Retrieve followers that are currently part of this merge.
- getMessage() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
-
- getMessage() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
-
- getMessageCount() - Method in interface com.github.triceo.splitlog.api.MessageMetric
-
Retrieve the number of times that the metric has been invoked on a
Message
.
- getMessageCount(Message) - Method in interface com.github.triceo.splitlog.api.MessageMetric
-
Retrieve the number of times that the metric has been invoked on a
Message
, at the time immediately after a given message has been
processed.
- getMessages() - Method in interface com.github.triceo.splitlog.api.CommonFollower
-
- getMessages(MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
-
- getMessages(SimpleMessageCondition) - Method in interface com.github.triceo.splitlog.api.CommonFollower
-
- getMessages(SimpleMessageCondition, MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
-
- getMetric(String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
-
Retrieve the metric for a particular ID.
- getMetricId(MessageMetric<? extends Number, P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
-
Retrieve the ID for a particular measure.
- getPreviousMessage() - Method in interface com.github.triceo.splitlog.api.Message
-
Return a message that preceded this one in the same log stream.
- getReadingBufferSize() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
-
Get the buffer size for the log watch.
- getSeverity() - Method in interface com.github.triceo.splitlog.api.Message
-
- getSource() - Method in interface com.github.triceo.splitlog.api.MessageMetric
-
Retrieve the instance that is responsible for notifying this metric of
new
Message
s-
- getStackTrace() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
-
This method will create a brand new unmodifiable list every time it is
called.
- getStackTrace() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
-
- getStorageCondition() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
-
- getType() - Method in interface com.github.triceo.splitlog.api.Message
-
- getUniqueId() - Method in interface com.github.triceo.splitlog.api.Message
-
Unique ID of the message, that can be used to compare messages in the
order of their arrival into this tool.
- getValue() - Method in interface com.github.triceo.splitlog.api.MessageMetric
-
Retrieve the value of this metric, which is a sum of the return values of
all of this metric's
MessageMeasure
invocations.
- getValue(Message) - Method in interface com.github.triceo.splitlog.api.MessageMetric
-
Retrieve the value of this metric, which is a sum of the return values of
all of this metric's
MessageMeasure
invocations, at the time
immediately after a given message has been processed.
- getWatchedFile() - Method in interface com.github.triceo.splitlog.api.LogWatch
-
The file that is being tracked by this class.
- silenceLogging() - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
-
Force Splitlog's internal logging to be disabled.
- SimpleMessageCondition - Interface in com.github.triceo.splitlog.api
-
Allows users to either accept or reject a message in various situations.
- SimpleTailSplitter - Class in com.github.triceo.splitlog.splitters
-
- SimpleTailSplitter() - Constructor for class com.github.triceo.splitlog.splitters.SimpleTailSplitter
-
- SplitlogLoggerFactory - Class in com.github.triceo.splitlog.logging
-
When Splitlog is running inside an app server such as JBoss, its internal
logging may be caught up in the server log.
- SplitlogLoggerFactory() - Constructor for class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
-
- SplitlogMessagesRejectingCondition - Class in com.github.triceo.splitlog.conditions
-
- SplitlogTailer - Class in com.github.triceo.splitlog.util
-
Extension of the Apache tailer to allow us to monitor when it's actually
started tailing.
- SplitlogTailer(File, TailerListener, long, boolean, boolean, int) - Constructor for class com.github.triceo.splitlog.util.SplitlogTailer
-
- SplitlogThreadFactory - Class in com.github.triceo.splitlog.util
-
- SplitlogThreadFactory(String) - Constructor for class com.github.triceo.splitlog.util.SplitlogThreadFactory
-
- start() - Method in interface com.github.triceo.splitlog.api.LogWatch
-
Start tailing the log file.
- startConsuming(MessageListener<P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
-
Register a listener to be notified of new messages in this producer.
- startFollowing() - Method in interface com.github.triceo.splitlog.api.LogWatch
-
Begin watching for new messages from this point in time.
- startHandingDown(MessageMeasure<? extends Number, Follower>, String) - Method in interface com.github.triceo.splitlog.api.LogWatch
-
Every new
Follower
from now on will immediately receive a new
MessageMetric
instance with a given ID that is using the given
measure instance.
- startMeasuring(MessageMeasure<T, P>, String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
-
Request that a message property be tracked from now on.
- stop() - Method in interface com.github.triceo.splitlog.api.LogWatch
-
Stop all followers from following and free resources.
- stop() - Method in interface com.github.triceo.splitlog.api.MessageConsumer
-
This consumer will no longer receive any messages.
- stop() - Method in class org.apache.commons.io.input.fork.Tailer
-
Allows the tailer to complete its current loop and return.
- stopConsuming(MessageConsumer<P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
-
Tell a consumer to no longer listen to new messages in this producer.
- stopFollowing(Follower) - Method in interface com.github.triceo.splitlog.api.LogWatch
-
Stop particular follower from following.
- stopHandingDown(MessageMeasure<? extends Number, Follower>) - Method in interface com.github.triceo.splitlog.api.LogWatch
-
- stopHandingDown(String) - Method in interface com.github.triceo.splitlog.api.LogWatch
-
- stopMeasuring(MessageMetric<? extends Number, P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
-
Will stop the metric from being notified of new
Message
s.
- stopMeasuring(String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
-
Will stop the metric from being notified of new
Message
s.
- stripOfMetadata(String) - Method in interface com.github.triceo.splitlog.api.TailSplitter
-
Take a line from the log and attempt to strip it of metadata, such as
severity, type and date.
- stripOfMetadata(String) - Method in class com.github.triceo.splitlog.splitters.JBossServerLogTailSplitter
-
- stripOfMetadata(String) - Method in class com.github.triceo.splitlog.splitters.SimpleTailSplitter
-