Skip navigation links
A B C D E F G H I L M O R S T U V W 

A

accept(MessageMetric<T, S>) - Method in interface com.github.triceo.splitlog.api.MessageMetricCondition
Evaluate metric against a user-provided condition.
accept(Message, MessageDeliveryStatus, S) - Method in interface com.github.triceo.splitlog.api.MidDeliveryMessageCondition
Evaluate a message against a user-provided condition.
accept(Message) - Method in interface com.github.triceo.splitlog.api.SimpleMessageCondition
Evaluate a message against a user-provided condition.

B

build() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Build the log watch with previously defined properties, or defaults where not overriden.
buildFollowing() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Build the log watch with previously defined properties, or defaults where not overriden, and immediately start listening for Messages.
buildFollowingWith(TailSplitter) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Build the log watch with previously defined properties, or defaults where not overriden, and immediately start listening for Messages
buildWith(TailSplitter) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Build the log watch with previously defined properties, or defaults where not overriden.

C

closingAfterReading() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Change the default behavior of the future log watch to close the watched file after each reading.
com.github.triceo.splitlog.api - package com.github.triceo.splitlog.api
 
com.github.triceo.splitlog.logging - package com.github.triceo.splitlog.logging
 
CommonFollower<P extends MessageProducer<P>,C extends MessageProducer<C>> - Interface in com.github.triceo.splitlog.api
Follower's primary function is to allow users to work with their portion of the tailed log file.
countConsumers() - Method in interface com.github.triceo.splitlog.api.MessageProducer
countMetrics() - Method in interface com.github.triceo.splitlog.api.MessageProducer

D

DEFAULT_DELAY_BETWEEN_READS_IN_MILLISECONDS - Static variable in class com.github.triceo.splitlog.api.LogWatchBuilder
 
DEFAULT_DELAY_BETWEEN_SWEEPS_IN_MILLISECONDS - Static variable in class com.github.triceo.splitlog.api.LogWatchBuilder
 
DEFAULT_READ_BUFFER_SIZE_IN_BYTES - Static variable in class com.github.triceo.splitlog.api.LogWatchBuilder
 
determineDate(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Read the message and find the date when the message was submitted.
determineException(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Read the message and try to identify an exception stack trace within.
determineLogger(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Messages in the log can contain information as to what logged them.
determineSeverity(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Read the message and try to find its severity.
determineType(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Read the message and try to find its type.
doNotStart() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Do not run LogWatch.start() on the new instance.

E

enableLogging() - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
Force Splitlog's internal logging to be enabled.
ExceptionDescriptor - Interface in com.github.triceo.splitlog.api
Describes an exception instance.
execute(Message, S) - Method in interface com.github.triceo.splitlog.api.MessageAction
Execute the action, typically on background.

F

Follower - Interface in com.github.triceo.splitlog.api
On top of the CommonFollower's functions, this allows for merging followers.
format(Message, File) - Method in interface com.github.triceo.splitlog.api.MessageFormatter
Provides a textual representation of a message.

G

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.
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.
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
Best-effort attempt to provide an exception type for ExceptionDescriptor.getExceptionClassName().
getExceptionClassName() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
 
getExceptionDescriptor() - Method in interface com.github.triceo.splitlog.api.Message
Get data about exception included in this message.
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
The condition that will be used for accepting a Message into LogWatch.
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
 
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
Retrieve all MessageDeliveryStatus.ACCEPTED messages that this follower has been notified of, and tags.
getMessages(MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Retrieve all MessageDeliveryStatus.ACCEPTED messages that this follower has been notified of, and tags, in a given order.
getMessages(SimpleMessageCondition) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Retrieve all MessageDeliveryStatus.ACCEPTED messages that this follower has been notified of, if a certain condition holds true for them, and tags.
getMessages(SimpleMessageCondition, MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Retrieve all MessageDeliveryStatus.ACCEPTED messages that this follower has been notified of, if a certain condition holds true for them, and tags.
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 Messages-
getStackTrace() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
This method will create a brand new unmodifiable list every time it is called.
getStorageCondition() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
The condition that will be used for storing a Message within LogWatch.
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.

H

hasException() - Method in interface com.github.triceo.splitlog.api.Message
 

I

ignoringPreexistingContent() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Change the default behavior of the future log watch so that the existing contents of the file is ignored and only the future additions to the file are reported.
initialValue() - Method in interface com.github.triceo.splitlog.api.MessageMeasure
The default value for the resulting MessageMetric.
isClosingBetweenReads() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
 
isConsuming(MessageConsumer<P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Whether or not the particular message consumer is being notified of new messages.
isFollowedBy(Follower) - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not LogWatch.stopFollowing(Follower) has been called for a given follower.
isHandingDown(MessageMeasure<? extends Number, Follower>) - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not particular MessageMeasure is being automatically handed down to new Followers.
isHandingDown(String) - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not particular MessageMeasure is being automatically handed down to new Followers.
isLoggingEnabled() - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
Whether or not Splitlog internals will log if logging is requested at this time.
isMeasuring(MessageMetric<? extends Number, P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Whether or not particular MessageMetric is active.
isMeasuring(String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Whether or not particular MessageMetric is active.
isReadingFromBeginning() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
 
isRootCause() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
 
isStarted() - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not LogWatch.start() has been called.
isStartingLine(String) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Whether or not this particular line from the log starts a new log message.
isStopped() - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not LogWatch.stop() has been called.
isStopped() - Method in interface com.github.triceo.splitlog.api.MessageConsumer
Whether or not MessageConsumer.stop() has been called.

L

limitCapacityTo(int) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Limit capacity of the log watch to a given amount of messages.
LINE_SEPARATOR - Static variable in interface com.github.triceo.splitlog.api.MessageFormatter
Platform-specific line separator.
LOGGING_PROPERTY_NAME - Static variable in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 
LogWatch - Interface in com.github.triceo.splitlog.api
The primary point of interaction with this tool.
LogWatchBuilder - Class in com.github.triceo.splitlog.api
Prepares an instance of LogWatch that will automatically LogWatch.start().
LogWatchBuilder() - Constructor for class com.github.triceo.splitlog.api.LogWatchBuilder
 

M

mergeWith(Follower) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Merge this CommonFollower with another.
mergeWith(MergingFollower) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Merge this CommonFollower with another.
MergingFollower - Interface in com.github.triceo.splitlog.api
Follower that is capable of merging multiple Followers.
Message - Interface in com.github.triceo.splitlog.api
A set of lines from the watched file, that is likely to constitute a single log message.
MessageAction<S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Allows to specify an action to be executed on top of a particular Message.
MessageComparator - Interface in com.github.triceo.splitlog.api
Will be used to compare Message instances to determine their order.
MessageConsumer<P extends MessageProducer<P>> - Interface in com.github.triceo.splitlog.api
Implementors of this interface state that they are interested in knowing when a new Message appears in the log.
MessageDeliveryStatus - Enum in com.github.triceo.splitlog.api
Various states that a Message can be in while within the system.
MessageFormatter - Interface in com.github.triceo.splitlog.api
Converts a message to a textual representation.
MessageListener<P extends MessageProducer<P>> - Interface in com.github.triceo.splitlog.api
Implementors of this interface state that they are interested in knowing when a new Message appears in the log.
MessageMeasure<T extends Number,S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Used by MessageMetric to determine how much a Message is worth.
MessageMetric<T extends Number,S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Allows users to track various statistics on classes implementing MessageProducer.
MessageMetricCondition<T extends Number,S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Allows users to filter based on their own metric criteria.
MessageProducer<P extends MessageProducer<P>> - Interface in com.github.triceo.splitlog.api
Implementors of this interface provide users with means of measuring various properties of Messages that pass through them.
messageReceived(Message, MessageDeliveryStatus, P) - Method in interface com.github.triceo.splitlog.api.MessageListener
Notify the code of a new message becoming available in the log.
MessageSeverity - Enum in com.github.triceo.splitlog.api
How important the log file says the message is.
MessageType - Enum in com.github.triceo.splitlog.api
Type of message from the log.
MidDeliveryMessageCondition<S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Allows users to filter messages based on their own criteria.

O

OFF_STATE - Static variable in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 
ON_STATE - Static variable in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 

R

remove(Follower) - Method in interface com.github.triceo.splitlog.api.MergingFollower
Will return an instance whose MergingFollower.getMerged() does not contain the given follower.
resetLoggingToDefaultState() - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
Whether or not Splitlog's internal messages are logged will depend on the value of LOGGING_PROPERTY_NAME system property at the time when logging of the message is requested.

S

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.
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
 
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.
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 Messages.
stopMeasuring(String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Will stop the metric from being notified of new Messages.
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.

T

tag(String) - Method in interface com.github.triceo.splitlog.api.Follower
Mark the current location in the tail by a custom message.
TailSplitter - Interface in com.github.triceo.splitlog.api
The purpose of classes implementing this interface is to interpret the log files.
toString() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
 

U

update(MessageMetric<T, S>, Message, MessageDeliveryStatus, S) - Method in interface com.github.triceo.splitlog.api.MessageMeasure
Update metric after the arrival of another message.

V

valueOf(String) - Static method in enum com.github.triceo.splitlog.api.MessageDeliveryStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.triceo.splitlog.api.MessageSeverity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.triceo.splitlog.api.MessageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.triceo.splitlog.api.MessageDeliveryStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.triceo.splitlog.api.MessageSeverity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.triceo.splitlog.api.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.

W

watchedFile(File) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Set the file that the future LogWatch will be tailing.
willBeStarted() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
 
withDelayBetweenReads(int, TimeUnit) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Specify the delay between attempts to read the file.
withDelayBetweenSweeps(int, TimeUnit) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Specify the delay between attempts to sweep the log watch from unreachable messages.
withGateCondition(SimpleMessageCondition) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Only the Messages for which SimpleMessageCondition.accept(Message) is true will be passed to Followers and other MessageConsumers.
withReadingBufferSize(int) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Specify the buffer size that will be used for reading changes made to the watched file.
withStorageCondition(SimpleMessageCondition) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Only the messages for which SimpleMessageCondition.accept(Message) is true will be stored within the future LogWatch.
write(OutputStream) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(), using a MessageFormatter implementation of its own choosing.
write(OutputStream, MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(MessageComparator), using a MessageFormatter implementation of its own choosing.
write(OutputStream, MessageComparator, MessageFormatter) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(MessageComparator), using given MessageFormatter.
write(OutputStream, MessageFormatter) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(), using given MessageFormatter.
write(OutputStream, SimpleMessageCondition) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(SimpleMessageCondition), using a MessageFormatter implementation of its own choosing.
write(OutputStream, SimpleMessageCondition, MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(SimpleMessageCondition, MessageComparator), using a MessageFormatter implementation of its own choosing.
write(OutputStream, SimpleMessageCondition, MessageComparator, MessageFormatter) - Method in interface com.github.triceo.splitlog.api.CommonFollower
write(OutputStream, SimpleMessageCondition, MessageFormatter) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(SimpleMessageCondition), using given MessageFormatter.
A B C D E F G H I L M O R S T U V W 
Skip navigation links

Copyright © 2015. All rights reserved.