com.stackify.api.common.http
public class AsyncScheduler extends com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler
| Constructor and Description |
|---|
AsyncScheduler() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastHttpError() |
protected com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler.Schedule |
getNextSchedule() |
int |
getScheduleDelay() |
void |
update(HttpTransmissionStatus status)
Sets the next scheduled delay based on the HTTP transmission status
|
public void update(HttpTransmissionStatus status)
status - The HTTP transmission statuspublic int getScheduleDelay()
public long getLastHttpError()
protected com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler.Schedule getNextSchedule()
getNextSchedule in class com.google.common.util.concurrent.AbstractScheduledService.CustomSchedulerAbstractScheduledService.CustomScheduler.getNextSchedule()Copyright © 2014 Stackify, LLC. All Rights Reserved.