A C F G I K L M N Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- appendFieldValue(IndentedPrintWriter, PField, Object) - Method in interface net.morimekta.providence.logging.LogFormatter.FieldHandler
C
- close() - Method in class net.morimekta.providence.logging.FileMessageReader
- close() - Method in class net.morimekta.providence.logging.FileMessageWriter
- close() - Method in class net.morimekta.providence.logging.IOMessageReader
- close() - Method in class net.morimekta.providence.logging.IOMessageWriter
- close() - Method in class net.morimekta.providence.logging.QueuedMessageWriter
- close() - Method in class net.morimekta.providence.logging.RollingFileMessageWriter
F
- FileMessageReader - Class in net.morimekta.providence.logging
-
A message reader that reads from a single file until the end.
- FileMessageReader(File, Serializer) - Constructor for class net.morimekta.providence.logging.FileMessageReader
-
Create the file message reader.
- FileMessageWriter - Class in net.morimekta.providence.logging
-
A message writer that writes to a single file until the end.
- FileMessageWriter(File, Serializer) - Constructor for class net.morimekta.providence.logging.FileMessageWriter
- FileMessageWriter(File, Serializer, boolean) - Constructor for class net.morimekta.providence.logging.FileMessageWriter
- format(PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.logging.LogFormatter
-
Format message to a string.
- formatTo(OutputStream, PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.logging.LogFormatter
-
Format message and write to the output stream.
G
- getFilesToDelete(List<String>, String) - Method in class net.morimekta.providence.logging.rolling.KeepLastNCleanupPolicy
- getFilesToDelete(List<String>, String) - Method in class net.morimekta.providence.logging.rolling.TimeBasedCleanupPolicy
- getFilesToDelete(List<String>, String) - Method in interface net.morimekta.providence.logging.RollingFileMessageWriter.CleanupPolicy
-
Get a list of files that needs to be deleted because of the cleanup policy.
- getFormatter(String, TimeUnit) - Static method in class net.morimekta.providence.logging.rolling.TimeBasedRollingPolicy
I
- IOMessageReader - Class in net.morimekta.providence.logging
-
A reader helper class for matching a serializer with an input stream.
- IOMessageReader(InputStream, Serializer) - Constructor for class net.morimekta.providence.logging.IOMessageReader
- IOMessageWriter - Class in net.morimekta.providence.logging
-
A writer helper class for matching a serializer with an output stream.
- IOMessageWriter(OutputStream, Serializer) - Constructor for class net.morimekta.providence.logging.IOMessageWriter
K
- KeepLastNCleanupPolicy - Class in net.morimekta.providence.logging.rolling
-
Cleanup policy that keeps the N previous files.
- KeepLastNCleanupPolicy(int, String) - Constructor for class net.morimekta.providence.logging.rolling.KeepLastNCleanupPolicy
- KeepLastNCleanupPolicy(int, Pattern) - Constructor for class net.morimekta.providence.logging.rolling.KeepLastNCleanupPolicy
L
- LogFormatter - Class in net.morimekta.providence.logging
-
LogFormatter is a formatter (one-way serialization) similar to the PrettySerializer, except it supports adding FieldHandlers to modify in.
- LogFormatter(boolean, Collection<LogFormatter.FieldHandler>) - Constructor for class net.morimekta.providence.logging.LogFormatter
-
Create a log formatter.
- LogFormatter(boolean, LogFormatter.FieldHandler...) - Constructor for class net.morimekta.providence.logging.LogFormatter
-
Create a log formatter.
- LogFormatter(LogFormatter.FieldHandler...) - Constructor for class net.morimekta.providence.logging.LogFormatter
-
Create a log formatter with compact format.
- LogFormatter.FieldHandler - Interface in net.morimekta.providence.logging
-
Handler for a single field in a message.
M
- maybeUpdateCurrentFile(RollingFileMessageWriter.CurrentFileUpdater, boolean) - Method in class net.morimekta.providence.logging.rolling.SizeBasedRollingPolicy
- maybeUpdateCurrentFile(RollingFileMessageWriter.CurrentFileUpdater, boolean) - Method in class net.morimekta.providence.logging.rolling.TimeBasedRollingPolicy
- maybeUpdateCurrentFile(RollingFileMessageWriter.CurrentFileUpdater, boolean) - Method in interface net.morimekta.providence.logging.RollingFileMessageWriter.RollingPolicy
-
Maybe call the current file updater.
- MessageReader - Interface in net.morimekta.providence.logging
-
An interface for reading messages and service calls.
- MessageWriter - Interface in net.morimekta.providence.logging
-
An interface for writing messages and service calls.
N
- net.morimekta.providence.logging - package net.morimekta.providence.logging
- net.morimekta.providence.logging.rolling - package net.morimekta.providence.logging.rolling
Q
- QueuedMessageWriter - Class in net.morimekta.providence.logging
-
A queued message writer that takes in messages onto a queue, and let a single thread handle all the writes to the contained writer.
- QueuedMessageWriter(MessageWriter) - Constructor for class net.morimekta.providence.logging.QueuedMessageWriter
-
Create a queued message writer.
- QueuedMessageWriter(MessageWriter, ExecutorService) - Constructor for class net.morimekta.providence.logging.QueuedMessageWriter
-
Create a queued message writer using the given executor service.
- QueuedMessageWriter(MessageWriter, ExecutorService, int) - Constructor for class net.morimekta.providence.logging.QueuedMessageWriter
-
Create a queued message writer using the given executor service.
R
- read(PMessageDescriptor<Message>) - Method in class net.morimekta.providence.logging.FileMessageReader
- read(PMessageDescriptor<Message>) - Method in class net.morimekta.providence.logging.IOMessageReader
- read(PMessageDescriptor<Message>) - Method in interface net.morimekta.providence.logging.MessageReader
-
Read a message from the stream.
- read(PService) - Method in class net.morimekta.providence.logging.FileMessageReader
- read(PService) - Method in class net.morimekta.providence.logging.IOMessageReader
- read(PService) - Method in interface net.morimekta.providence.logging.MessageReader
-
Read a service call from the stream.
- RollingFileMessageWriter - Class in net.morimekta.providence.logging
-
A simple rolling file message writer in the same manner that logging often does, e.g. the 'RollingFileAppender' from lockback.
- RollingFileMessageWriter(File, Serializer, String, RollingFileMessageWriter.RollingPolicy) - Constructor for class net.morimekta.providence.logging.RollingFileMessageWriter
-
Create a rolling file message writer without a cleanup policy.
- RollingFileMessageWriter(File, Serializer, String, RollingFileMessageWriter.RollingPolicy, RollingFileMessageWriter.CleanupPolicy) - Constructor for class net.morimekta.providence.logging.RollingFileMessageWriter
-
Create a rolling file message writer.
- RollingFileMessageWriter.CleanupPolicy - Interface in net.morimekta.providence.logging
-
Interface for cleanup policy implementations.
- RollingFileMessageWriter.CurrentFileUpdater - Interface in net.morimekta.providence.logging
-
Interface for calling back to the rolling file message writen when a file roll is supposed to happen.
- RollingFileMessageWriter.RollingPolicy - Interface in net.morimekta.providence.logging
-
Interface for rolling policy implementations.
S
- separator() - Method in class net.morimekta.providence.logging.FileMessageWriter
- separator() - Method in class net.morimekta.providence.logging.IOMessageWriter
- separator() - Method in interface net.morimekta.providence.logging.MessageWriter
-
Write an entry separator to the writer.
- separator() - Method in class net.morimekta.providence.logging.QueuedMessageWriter
- separator() - Method in class net.morimekta.providence.logging.RollingFileMessageWriter
- size() - Method in class net.morimekta.providence.logging.QueuedMessageWriter
- SizeBasedRollingPolicy - Class in net.morimekta.providence.logging.rolling
-
A rolling policy that moves over to a new file whenever the current file reaches a threshold size.
- SizeBasedRollingPolicy(File, long, String) - Constructor for class net.morimekta.providence.logging.rolling.SizeBasedRollingPolicy
- sleep(long) - Method in class net.morimekta.providence.logging.QueuedMessageWriter
T
- TimeBasedCleanupPolicy - Class in net.morimekta.providence.logging.rolling
-
A cleanup policy that removes files older than a certain date.
- TimeBasedCleanupPolicy(int, TimeUnit, String) - Constructor for class net.morimekta.providence.logging.rolling.TimeBasedCleanupPolicy
-
Create a time based cleanup policy using the system clock for parsing timestampts.
- TimeBasedCleanupPolicy(int, TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.logging.rolling.TimeBasedCleanupPolicy
-
Create a time based cleanup policy.
- TimeBasedRollingPolicy - Class in net.morimekta.providence.logging.rolling
-
A rolling policy that writes messages into files for certain time periods based on a date based file pattern and a time resolution.
- TimeBasedRollingPolicy(int, TimeUnit, String) - Constructor for class net.morimekta.providence.logging.rolling.TimeBasedRollingPolicy
- TimeBasedRollingPolicy(int, TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.logging.rolling.TimeBasedRollingPolicy
- TimeBasedRollingPolicy(TimeUnit, String) - Constructor for class net.morimekta.providence.logging.rolling.TimeBasedRollingPolicy
- TimeBasedRollingPolicy(TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.logging.rolling.TimeBasedRollingPolicy
U
- updateCurrentFile(String) - Method in interface net.morimekta.providence.logging.RollingFileMessageWriter.CurrentFileUpdater
V
- verifyEndOfContent() - Method in class net.morimekta.providence.logging.FileMessageReader
- verifyEndOfContent() - Method in class net.morimekta.providence.logging.IOMessageReader
- verifyEndOfContent() - Method in interface net.morimekta.providence.logging.MessageReader
-
Verify the stream read from is completed, and does not have garbage content after end of last message.
W
- write(PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.logging.FileMessageWriter
- write(PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.logging.IOMessageWriter
- write(PMessageOrBuilder<Message>) - Method in interface net.morimekta.providence.logging.MessageWriter
-
Write a providence message to the writer.
- write(PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.logging.QueuedMessageWriter
- write(PMessageOrBuilder<Message>) - Method in class net.morimekta.providence.logging.RollingFileMessageWriter
- write(PServiceCall<Message>) - Method in class net.morimekta.providence.logging.FileMessageWriter
- write(PServiceCall<Message>) - Method in class net.morimekta.providence.logging.IOMessageWriter
- write(PServiceCall<Message>) - Method in interface net.morimekta.providence.logging.MessageWriter
-
Write a providence service call to the writer.
- write(PServiceCall<Message>) - Method in class net.morimekta.providence.logging.QueuedMessageWriter
- write(PServiceCall<Message>) - Method in class net.morimekta.providence.logging.RollingFileMessageWriter
All Classes All Packages