@ThreadSafe public class TimeBasedFlush extends java.lang.Object implements FlushStrategy
| Constructor and Description |
|---|
TimeBasedFlush(Clock clock,
long flushPeriod,
java.util.concurrent.TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush(java.io.Flushable flushable) |
public TimeBasedFlush(@Nonnull
Clock clock,
long flushPeriod,
@Nonnull
java.util.concurrent.TimeUnit unit)
public void flush(@Nonnull
java.io.Flushable flushable)
throws java.io.IOException
flush in interface FlushStrategyjava.io.IOExceptionCopyright © 2010-2019 JmxTrans team. All Rights Reserved.