public abstract class AbstractCacheWorkerThread extends Periodical
| Modifier and Type | Field and Description |
|---|---|
protected com.codahale.metrics.Meter |
outOfCapacity |
protected com.codahale.metrics.Meter |
writtenMessages |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCacheWorkerThread(ServerStatus serverStatus) |
| Modifier and Type | Method and Description |
|---|---|
int |
getInitialDelaySeconds() |
protected org.slf4j.Logger |
getLogger() |
int |
getPeriodSeconds() |
boolean |
isDaemon() |
boolean |
masterOnly() |
boolean |
runsForever() |
boolean |
startOnThisNode() |
boolean |
stopOnGracefulShutdown() |
protected void |
work(Cache cache,
Buffer targetBuffer) |
doRun, initialize, runprotected com.codahale.metrics.Meter writtenMessages
protected com.codahale.metrics.Meter outOfCapacity
protected AbstractCacheWorkerThread(ServerStatus serverStatus)
protected 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 PeriodicalCopyright © 2012–2014 TORCH GmbH. All rights reserved.