2323
2424/**
2525 * LogSenderService
26- *
26+ *
2727 * @author Eric Martin
2828 */
2929public class LogBackgroundService extends AbstractScheduledService {
@@ -32,12 +32,12 @@ public class LogBackgroundService extends AbstractScheduledService {
3232 * The service logger
3333 */
3434 private static final Logger LOGGER = LoggerFactory .getLogger (LogBackgroundService .class );
35-
35+
3636 /**
3737 * The scheduler that determines delay timing after errors
3838 */
3939 private final LogBackgroundServiceScheduler scheduler = new LogBackgroundServiceScheduler ();
40-
40+
4141 /**
4242 * The LogMsg collector
4343 */
@@ -47,10 +47,9 @@ public class LogBackgroundService extends AbstractScheduledService {
4747 * The LogMsgGroup HTTP sender
4848 */
4949 private final LogSender sender ;
50-
50+
5151 /**
5252 * Constructor
53- * @param appIdentityService The application identity service
5453 * @param collector The LogMsg collector
5554 * @param sender The LogMsgGroup HTTP sender
5655 */
@@ -60,7 +59,7 @@ public LogBackgroundService(final LogCollector collector, final LogSender sender
6059 this .collector = collector ;
6160 this .sender = sender ;
6261 }
63-
62+
6463 /**
6564 * @see com.google.common.util.concurrent.AbstractScheduledService#serviceName()
6665 */
@@ -76,7 +75,7 @@ protected String serviceName() {
7675 protected Scheduler scheduler () {
7776 return scheduler ;
7877 }
79-
78+
8079 /**
8180 * @see com.google.common.util.concurrent.AbstractScheduledService#shutDown()
8281 */
@@ -87,15 +86,15 @@ protected void shutDown() throws Exception {
8786 } catch (Throwable t ) {
8887 LOGGER .info ("Exception flushing log collector during shut down" , t );
8988 }
90-
89+
9190 super .shutDown ();
9291 }
9392
9493 /**
9594 * @see com.google.common.util.concurrent.AbstractScheduledService#runOneIteration()
9695 */
9796 @ Override
98- protected void runOneIteration () {
97+ protected void runOneIteration () {
9998 try {
10099 int numSent = collector .flush (sender );
101100 scheduler .update (numSent );
0 commit comments