public class DeadLetterThread extends Periodical
| Constructor and Description |
|---|
DeadLetterThread(PersistedDeadLetterService persistedDeadLetterService,
IndexFailureService indexFailureService,
Indexer indexer,
Configuration configuration,
MongoConnection mongoConnection,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
doRun() |
int |
getInitialDelaySeconds() |
protected org.slf4j.Logger |
getLogger() |
int |
getPeriodSeconds() |
void |
initialize() |
boolean |
isDaemon() |
boolean |
masterOnly() |
boolean |
runsForever() |
boolean |
startOnThisNode() |
boolean |
stopOnGracefulShutdown() |
run@Inject public DeadLetterThread(PersistedDeadLetterService persistedDeadLetterService, IndexFailureService indexFailureService, Indexer indexer, Configuration configuration, MongoConnection mongoConnection, com.codahale.metrics.MetricRegistry metricRegistry)
public void doRun()
doRun in class Periodicalprotected org.slf4j.Logger getLogger()
getLogger in class Periodicalpublic boolean runsForever()
runsForever in class Periodicalpublic boolean stopOnGracefulShutdown()
stopOnGracefulShutdown in class Periodicalpublic boolean masterOnly()
masterOnly in class Periodicalpublic boolean startOnThisNode()
startOnThisNode in class Periodicalpublic boolean isDaemon()
isDaemon in class Periodicalpublic int getInitialDelaySeconds()
getInitialDelaySeconds in class Periodicalpublic int getPeriodSeconds()
getPeriodSeconds in class Periodicalpublic void initialize()
initialize in class PeriodicalCopyright © 2012–2014 TORCH GmbH. All rights reserved.