public class MessageTracker extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BUFFERED_MESSAGE_SIZE |
static String |
MESSAGE_TRACKER_BUFFER_SIZE |
static String |
MESSAGE_TRACKER_ENABLED |
Constructor and Description |
---|
MessageTracker(int buffer_size) |
Modifier and Type | Method and Description |
---|---|
void |
dumpToLog(String serverAddress) |
org.apache.zookeeper.server.util.MessageTracker.BufferedMessage |
peekReceived() |
long |
peekReceivedTimestamp() |
org.apache.zookeeper.server.util.MessageTracker.BufferedMessage |
peekSent() |
long |
peekSentTimestamp() |
void |
trackReceived(int packetType) |
void |
trackReceived(long timestamp) |
void |
trackSent(int packetType) |
void |
trackSent(long timestamp) |
public static final String MESSAGE_TRACKER_BUFFER_SIZE
public static final String MESSAGE_TRACKER_ENABLED
public static final int BUFFERED_MESSAGE_SIZE
public void trackSent(long timestamp)
public void trackSent(int packetType)
public void trackReceived(long timestamp)
public void trackReceived(int packetType)
public final org.apache.zookeeper.server.util.MessageTracker.BufferedMessage peekSent()
public final org.apache.zookeeper.server.util.MessageTracker.BufferedMessage peekReceived()
public final long peekSentTimestamp()
public final long peekReceivedTimestamp()
public void dumpToLog(String serverAddress)
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.