com.stackify.api.common.log
public class LogBackgroundService extends com.google.common.util.concurrent.AbstractScheduledService
| Constructor and Description |
|---|
LogBackgroundService(LogCollector collector,
LogSender sender)
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() |
public LogBackgroundService(LogCollector collector, LogSender sender)
collector - The LogMsg collectorsender - The LogMsgGroup HTTP 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 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 © 2015 Stackify, LLC. All Rights Reserved.