com.stackify.api.common.http
public class AsyncErrorSenderService extends com.google.common.util.concurrent.AbstractScheduledService
| Constructor and Description |
|---|
AsyncErrorSenderService(AsyncScheduler scheduler,
AsyncErrorSender asyncErrorSender)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
runOneIteration() |
protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler |
scheduler() |
protected String |
serviceName() |
protected void |
shutDown() |
protected void |
startUp() |
public AsyncErrorSenderService(AsyncScheduler scheduler, AsyncErrorSender asyncErrorSender)
scheduler - The scheduler that determines delay timing after errorsasyncErrorSender - The asynchronous HTTP error senderprotected String serviceName()
serviceName in class com.google.common.util.concurrent.AbstractScheduledServiceAbstractScheduledService.serviceName()protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler scheduler()
scheduler in class com.google.common.util.concurrent.AbstractScheduledServiceAbstractScheduledService.scheduler()protected void startUp()
throws Exception
startUp in class com.google.common.util.concurrent.AbstractScheduledServiceExceptionAbstractScheduledService.startUp()protected void shutDown()
throws Exception
shutDown in class com.google.common.util.concurrent.AbstractScheduledServiceExceptionAbstractScheduledService.shutDown()protected void runOneIteration()
runOneIteration in class com.google.common.util.concurrent.AbstractScheduledServiceAbstractScheduledService.runOneIteration()Copyright © 2014 Stackify, LLC. All Rights Reserved.