public class Puree
extends java.lang.Object
修飾子とタイプ | クラスと説明 |
---|---|
static class |
Puree.NotInitializedException |
コンストラクタと説明 |
---|
Puree() |
修飾子とタイプ | メソッドと説明 |
---|---|
static void |
discardBufferedLogs()
Discards all logs in buffer.
|
static void |
dump() |
static void |
flush()
Try to flush all logs that are in buffer.
|
static Records |
getBufferedLogs()
Get all logs that in buffer.
|
static java.util.concurrent.Executor |
getExecutor() |
static void |
initialize(PureeConfiguration conf) |
static void |
send(PureeLog log)
Try to send log.
|
static void |
setPureeLogger(PureeLogger instance) |
static void |
truncateBufferedLogs(int truncateThresholdInRows)
Truncate logs in buffer.
|
public static void initialize(PureeConfiguration conf)
public static void setPureeLogger(PureeLogger instance)
public static void send(PureeLog log)
This log is sent immediately or put into buffer (it's depending on output plugin).
log
- PureeLog
.public static void flush()
public static void dump()
public static void discardBufferedLogs()
public static void truncateBufferedLogs(int truncateThresholdInRows)
truncateThresholdInRows
- truncate logs that are over this variablepublic static java.util.concurrent.Executor getExecutor()