public abstract class StatsDProcessor extends Object implements Runnable
Modifier and Type | Class and Description |
---|---|
protected class |
StatsDProcessor.ProcessingTask |
Modifier and Type | Field and Description |
---|---|
protected BufferPool |
bufferPool |
protected CountDownLatch |
endSignal |
protected ExecutorService |
executor |
protected StatsDClientErrorHandler |
handler |
protected static Charset |
MESSAGE_CHARSET |
protected static String |
MESSAGE_TOO_LONG |
protected BlockingQueue<ByteBuffer> |
outboundQueue |
protected int |
qcapacity |
protected boolean |
shutdown |
protected static int |
WAIT_SLEEP_MS |
protected int |
workers |
Modifier and Type | Method and Description |
---|---|
protected abstract StatsDProcessor.ProcessingTask |
createProcessingTask() |
BufferPool |
getBufferPool() |
BlockingQueue<ByteBuffer> |
getOutboundQueue() |
int |
getQcapacity() |
void |
run() |
protected abstract boolean |
send(com.timgroup.statsd.Message message) |
protected static final Charset MESSAGE_CHARSET
protected static final String MESSAGE_TOO_LONG
protected static final int WAIT_SLEEP_MS
protected final StatsDClientErrorHandler handler
protected final BufferPool bufferPool
protected final BlockingQueue<ByteBuffer> outboundQueue
protected final ExecutorService executor
protected final CountDownLatch endSignal
protected final int workers
protected final int qcapacity
protected volatile boolean shutdown
protected abstract StatsDProcessor.ProcessingTask createProcessingTask()
protected abstract boolean send(com.timgroup.statsd.Message message)
public BufferPool getBufferPool()
public BlockingQueue<ByteBuffer> getOutboundQueue()
public int getQcapacity()
Copyright © 2020. All rights reserved.