class BucketCache.WriterThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private BlockingQueue<BucketCache.RAMQueueEntry> |
inputQueue |
private ByteBuffer |
metaBuff |
private boolean |
writerEnabled |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
WriterThread(BlockingQueue<BucketCache.RAMQueueEntry> queue) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
disableWriter() |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private final BlockingQueue<BucketCache.RAMQueueEntry> inputQueue
private volatile boolean writerEnabled
private final ByteBuffer metaBuff
WriterThread(BlockingQueue<BucketCache.RAMQueueEntry> queue)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.