public static class SyncFlusher.Config extends java.lang.Object implements Flusher.Instantiator
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
SyncFlusher |
createInstance(Buffer buffer,
Sender sender) |
Flusher.Config |
getBaseConfig() |
float |
getBufferOccupancyThreshold() |
int |
getFlushIntervalMillis() |
int |
getWaitUntilBufferFlushed() |
int |
getWaitUntilTerminated() |
SyncFlusher.Config |
setBufferOccupancyThreshold(float bufferOccupancyThreshold) |
SyncFlusher.Config |
setFlushIntervalMillis(int flushIntervalMillis) |
SyncFlusher.Config |
setWaitUntilBufferFlushed(int wait) |
SyncFlusher.Config |
setWaitUntilTerminated(int wait) |
java.lang.String |
toString() |
public Flusher.Config getBaseConfig()
public int getFlushIntervalMillis()
public SyncFlusher.Config setFlushIntervalMillis(int flushIntervalMillis)
public int getWaitUntilBufferFlushed()
public SyncFlusher.Config setWaitUntilBufferFlushed(int wait)
public int getWaitUntilTerminated()
public SyncFlusher.Config setWaitUntilTerminated(int wait)
public float getBufferOccupancyThreshold()
public SyncFlusher.Config setBufferOccupancyThreshold(float bufferOccupancyThreshold)
public java.lang.String toString()
toString in class java.lang.Objectpublic SyncFlusher createInstance(Buffer buffer, Sender sender)
createInstance in interface Flusher.Instantiator