public abstract class StatsDProcessor extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
StatsDProcessor.ProcessingTask |
| Modifier and Type | Field and Description |
|---|---|
protected StatsDAggregator |
aggregator |
protected BufferPool |
bufferPool |
protected CountDownLatch |
endSignal |
protected StatsDClientErrorHandler |
handler |
protected Queue<Message> |
highPrioMessages |
protected static String |
MESSAGE_TOO_LONG |
protected BlockingQueue<ByteBuffer> |
outboundQueue |
protected int |
qcapacity |
protected boolean |
shutdown |
protected Telemetry |
telemetry |
protected ThreadFactory |
threadFactory |
protected static int |
WAIT_SLEEP_MS |
protected Thread[] |
workers |
| Modifier and Type | Method and Description |
|---|---|
protected abstract StatsDProcessor.ProcessingTask |
createProcessingTask() |
StatsDAggregator |
getAggregator() |
BufferPool |
getBufferPool() |
BlockingQueue<ByteBuffer> |
getOutboundQueue() |
int |
getQcapacity() |
Telemetry |
getTelemetry() |
protected abstract boolean |
send(Message message) |
protected boolean |
sendHighPrio(Message message) |
void |
setTelemetry(Telemetry telemetry) |
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 CountDownLatch endSignal
protected final ThreadFactory threadFactory
protected final Thread[] workers
protected final int qcapacity
protected StatsDAggregator aggregator
protected volatile Telemetry telemetry
protected volatile boolean shutdown
protected abstract StatsDProcessor.ProcessingTask createProcessingTask()
protected abstract boolean send(Message message)
protected boolean sendHighPrio(Message message)
public BufferPool getBufferPool()
public BlockingQueue<ByteBuffer> getOutboundQueue()
public int getQcapacity()
public StatsDAggregator getAggregator()
public void setTelemetry(Telemetry telemetry)
public Telemetry getTelemetry()
Copyright © 2025. All rights reserved.