Package | Description |
---|---|
com.github.triceo.splitlog.util | |
org.apache.commons.io.input.fork |
Modifier and Type | Class and Description |
---|---|
class |
SplitlogTailer
Extension of the Apache tailer to allow us to monitor when it's actually
started tailing.
|
Modifier and Type | Method and Description |
---|---|
static Tailer |
Tailer.create(File file,
Charset charset,
TailerListener listener,
long delayMillis,
boolean end,
boolean reOpen,
int bufSize)
Creates and starts a Tailer for the given file.
|
static Tailer |
Tailer.create(File file,
TailerListener listener)
Creates and starts a Tailer for the given file, starting at the beginning
of the file with the default delay of 1.0s
|
static Tailer |
Tailer.create(File file,
TailerListener listener,
long delayMillis)
Creates and starts a Tailer for the given file, starting at the beginning
of the file
|
static Tailer |
Tailer.create(File file,
TailerListener listener,
long delayMillis,
boolean end)
Creates and starts a Tailer for the given file with default buffer size.
|
static Tailer |
Tailer.create(File file,
TailerListener listener,
long delayMillis,
boolean end,
boolean reOpen)
Creates and starts a Tailer for the given file with default buffer size.
|
static Tailer |
Tailer.create(File file,
TailerListener listener,
long delayMillis,
boolean end,
boolean reOpen,
int bufSize)
Creates and starts a Tailer for the given file.
|
static Tailer |
Tailer.create(File file,
TailerListener listener,
long delayMillis,
boolean end,
int bufSize)
Creates and starts a Tailer for the given file.
|
Modifier and Type | Method and Description |
---|---|
void |
TailerListener.init(Tailer tailer)
The tailer will call this method during construction, giving the listener
a method of stopping the tailer.
|
Copyright © 2015. All rights reserved.