public class OutboundTcpConnection
extends java.lang.Thread
Constructor and Description |
---|
OutboundTcpConnection(OutboundTcpConnectionPool pool) |
Modifier and Type | Method and Description |
---|---|
void |
enqueue(MessageOut<?> message,
java.lang.String id) |
long |
getCompletedMesssages() |
long |
getDroppedMessages() |
int |
getPendingMessages() |
int |
getTargetVersion() |
void |
run() |
static void |
write(MessageOut message,
java.lang.String id,
long timestamp,
java.io.DataOutputStream out,
int version) |
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
public OutboundTcpConnection(OutboundTcpConnectionPool pool)
public void enqueue(MessageOut<?> message, java.lang.String id)
public int getTargetVersion()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public int getPendingMessages()
public long getCompletedMesssages()
public long getDroppedMessages()
public static void write(MessageOut message, java.lang.String id, long timestamp, java.io.DataOutputStream out, int version) throws java.io.IOException
java.io.IOException
Copyright © 2014 The Apache Software Foundation