|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.apache.cassandra.net.OutboundTcpConnection
public class OutboundTcpConnection
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
OutboundTcpConnection(OutboundTcpConnectionPool pool)
|
|
| Method Summary | |
|---|---|
void |
enqueue(Message message,
java.lang.String id)
|
long |
getCompletedMesssages()
|
long |
getDroppedMessages()
|
int |
getPendingMessages()
|
static int |
messageLength(Header header,
java.lang.String id,
byte[] bytes)
|
void |
run()
|
static void |
write(Message message,
java.lang.String id,
java.io.DataOutputStream out)
|
| Methods inherited from class java.lang.Thread |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OutboundTcpConnection(OutboundTcpConnectionPool pool)
| Method Detail |
|---|
public void enqueue(Message message,
java.lang.String id)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic int getPendingMessages()
public long getCompletedMesssages()
public long getDroppedMessages()
public static void write(Message message,
java.lang.String id,
java.io.DataOutputStream out)
throws java.io.IOException
java.io.IOException
public static int messageLength(Header header,
java.lang.String id,
byte[] bytes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||