public class SSKInsertHandler extends java.lang.Object implements PrioRunnable, ByteCounter
Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
int |
getTotalReceivedBytes() |
int |
getTotalSentBytes() |
void |
receivedBytes(int x) |
void |
run() |
void |
sentBytes(int x)
Sent some bytes.
|
void |
sentPayload(int x)
Sent payload - only include the number of bytes of actual payload i.e.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public void run()
run
in interface java.lang.Runnable
public void sentBytes(int x)
ByteCounter
sentBytes
in interface ByteCounter
public void receivedBytes(int x)
receivedBytes
in interface ByteCounter
public int getTotalSentBytes()
public int getTotalReceivedBytes()
public void sentPayload(int x)
ByteCounter
sentPayload
in interface ByteCounter
x
- Number of bytes sentpublic int getPriority()
getPriority
in interface PrioRunnable