seda.sandStorm.lib.aSocket
Interface aSocketConst

All Known Implementing Classes:
aSocketRCTMSleep, aSocketThreadManager, DatagramSockState, DatagramSockState, DatagramSockState, SockState, SockState, SockState, WriteEventHandler

public interface aSocketConst

Internal constants used by the aSocket implementation.


Field Summary
static int EVENT_QUEUE_SPIN
          Number of times to spin on event queue
static int EVENT_QUEUE_TIMEOUT
          Time in ms to sleep waiting on event queue
static int LARGE_AGGREGATION
          Maximum aggregation constant for aSocketRCTM.
static java.lang.String LISTENSTAGE_NAME
           
static int MAX_ACCEPTS_AT_ONCE
          Maximum number of accepts to process at once
static int MAX_WRITE_LEN
          Maximum number of bytes to try writing at once; -1 if no limit
static int MAX_WRITE_REQS_PER_SOCKET
          Maximum number of write reqs on a socket to process at once
static int MAX_WRITES_AT_ONCE
          Maximum number of writes to process at once
static int MEASUREMENT_SIZE
          Number of measurements to use when adjusting rate in aSocketRCTM.
static boolean READ_BUFFER_COPY
          Indicates whether the reader should copy data into a new buffer
static int READ_BUFFER_SIZE
          The size of the internal read buffer in bytes
static java.lang.String READSTAGE_NAME
           
static int SELECT_SPIN
          Number of times to spin on select
static int SELECT_TIMEOUT
          Time in ms to sleep waiting for select
static int TRYWRITE_SPIN
          Number of times to try to finish a socket write
static int WRITE_MASK_DISABLE_THRESHOLD
          Number of empty writes after which write-ready mask is disabled.
static java.lang.String WRITESTAGE_NAME
           
 

Field Detail

READ_BUFFER_SIZE

static final int READ_BUFFER_SIZE
The size of the internal read buffer in bytes

See Also:
Constant Field Values

READ_BUFFER_COPY

static final boolean READ_BUFFER_COPY
Indicates whether the reader should copy data into a new buffer

See Also:
Constant Field Values

TRYWRITE_SPIN

static final int TRYWRITE_SPIN
Number of times to try to finish a socket write

See Also:
Constant Field Values

MAX_WRITE_LEN

static final int MAX_WRITE_LEN
Maximum number of bytes to try writing at once; -1 if no limit

See Also:
Constant Field Values

MAX_WRITE_REQS_PER_SOCKET

static final int MAX_WRITE_REQS_PER_SOCKET
Maximum number of write reqs on a socket to process at once

See Also:
Constant Field Values

MAX_WRITES_AT_ONCE

static final int MAX_WRITES_AT_ONCE
Maximum number of writes to process at once

See Also:
Constant Field Values

MAX_ACCEPTS_AT_ONCE

static final int MAX_ACCEPTS_AT_ONCE
Maximum number of accepts to process at once

See Also:
Constant Field Values

WRITE_MASK_DISABLE_THRESHOLD

static final int WRITE_MASK_DISABLE_THRESHOLD
Number of empty writes after which write-ready mask is disabled. If set to -1, no disable will occur.

See Also:
Constant Field Values

SELECT_TIMEOUT

static final int SELECT_TIMEOUT
Time in ms to sleep waiting for select

See Also:
Constant Field Values

SELECT_SPIN

static final int SELECT_SPIN
Number of times to spin on select

See Also:
Constant Field Values

EVENT_QUEUE_TIMEOUT

static final int EVENT_QUEUE_TIMEOUT
Time in ms to sleep waiting on event queue

See Also:
Constant Field Values

EVENT_QUEUE_SPIN

static final int EVENT_QUEUE_SPIN
Number of times to spin on event queue

See Also:
Constant Field Values

LARGE_AGGREGATION

static final int LARGE_AGGREGATION
Maximum aggregation constant for aSocketRCTM.

See Also:
Constant Field Values

MEASUREMENT_SIZE

static final int MEASUREMENT_SIZE
Number of measurements to use when adjusting rate in aSocketRCTM.

See Also:
Constant Field Values

READSTAGE_NAME

static final java.lang.String READSTAGE_NAME
See Also:
Constant Field Values

WRITESTAGE_NAME

static final java.lang.String WRITESTAGE_NAME
See Also:
Constant Field Values

LISTENSTAGE_NAME

static final java.lang.String LISTENSTAGE_NAME
See Also:
Constant Field Values