Package | Description |
---|---|
net.morimekta.providence.mio |
Modifier and Type | Class and Description |
---|---|
class |
FileMessageWriter
A message writer that writes to a single file until the end.
|
class |
IOMessageWriter
A writer helper class for matching a serializer with an output stream.
|
class |
QueuedMessageWriter
A queued message writer that takes in messages onto a queue, and let
a single thread handle all the writes to the contained writer.
|
class |
RollingFileMessageWriter
A simple rolling file message writer in the same manner that logging
often does, e.g. the 'RollingFileAppender' from lockback.
|
Constructor and Description |
---|
QueuedMessageWriter(MessageWriter writer)
Create a queued message writer.
|
QueuedMessageWriter(MessageWriter writer,
ExecutorService executor)
Create a queued message writer using the given executor service.
|
QueuedMessageWriter(MessageWriter writer,
ExecutorService executor,
int maxQueueLength)
Create a queued message writer using the given executor service.
|
Copyright © 2015–2018 morimekta.net. All rights reserved.