public class LogBackgroundServiceScheduler extends Object
| Constructor and Description |
|---|
LogBackgroundServiceScheduler() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastHttpError() |
long |
getScheduleDelay() |
void |
update(int numSent)
Sets the next scheduled delay based on the number of messages sent
|
void |
update(Throwable t)
Sets the next scheduled delay based on the HTTP transmission status
|
public void update(int numSent)
numSent - The number of log messages sentpublic void update(Throwable t)
t - The exceptionpublic long getScheduleDelay()
public long getLastHttpError()
Copyright © 2017 Stackify, LLC. All Rights Reserved.