public class LogzioSender extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INITIAL_WAIT_BEFORE_RETRY_MS |
static int |
MAX_RETRIES_ATTEMPTS |
| Modifier and Type | Method and Description |
|---|---|
void |
drainQueueAndSend() |
void |
gcBigQueue() |
static LogzioSender |
getOrCreateSenderByType(String logzioToken,
String logzioType,
int drainTimeout,
int fsPercentThreshold,
File bufferDir,
String logzioUrl,
int socketTimeout,
int connectTimeout,
boolean debug,
SenderStatusReporter reporter,
ScheduledExecutorService tasksExecutor,
int gcPersistedQueueFilesIntervalSeconds) |
void |
send(com.google.gson.JsonObject jsonMessage) |
void |
start() |
void |
stop() |
public static final int INITIAL_WAIT_BEFORE_RETRY_MS
public static final int MAX_RETRIES_ATTEMPTS
public static LogzioSender getOrCreateSenderByType(String logzioToken, String logzioType, int drainTimeout, int fsPercentThreshold, File bufferDir, String logzioUrl, int socketTimeout, int connectTimeout, boolean debug, SenderStatusReporter reporter, ScheduledExecutorService tasksExecutor, int gcPersistedQueueFilesIntervalSeconds) throws LogzioParameterErrorException
LogzioParameterErrorExceptionpublic void start()
public void stop()
public void gcBigQueue()
public void drainQueueAndSend()
public void send(com.google.gson.JsonObject jsonMessage)
Copyright © 2017. All rights reserved.