public class HeronSocketOptions
extends java.lang.Object
Constructor and Description |
---|
HeronSocketOptions(long networkWriteBatchSizeInBytes,
long networkWriteBatchTimeInMs,
long networkReadBatchSizeInBytes,
long networkReadBatchTimeInMs,
int socketSendBufferSizeInBytes,
int socketReceivedBufferSizeInBytes) |
Modifier and Type | Method and Description |
---|---|
long |
getNetworkReadBatchSizeInBytes() |
long |
getNetworkReadBatchTimeInMs() |
long |
getNetworkWriteBatchSizeInBytes() |
long |
getNetworkWriteBatchTimeInMs() |
int |
getSocketReceivedBufferSizeInBytes() |
int |
getSocketSendBufferSizeInBytes() |
void |
setNetworkReadBatchSizeInBytes(long networkReadBatchSizeInBytes) |
void |
setNetworkReadBatchTimeInMs(long networkReadBatchTimeInMs) |
void |
setNetworkWriteBatchSizeInBytes(long networkWriteBatchSizeInBytes) |
void |
setNetworkWriteBatchTimeInMs(long networkWriteBatchTimeInMs) |
void |
setSocketReceivedBufferSizeInBytes(int socketReceivedBufferSizeInBytes) |
void |
setSocketSendBufferSizeInBytes(int socketSendBufferSizeInBytes) |
public HeronSocketOptions(long networkWriteBatchSizeInBytes, long networkWriteBatchTimeInMs, long networkReadBatchSizeInBytes, long networkReadBatchTimeInMs, int socketSendBufferSizeInBytes, int socketReceivedBufferSizeInBytes)
public long getNetworkWriteBatchSizeInBytes()
public void setNetworkWriteBatchSizeInBytes(long networkWriteBatchSizeInBytes)
public long getNetworkWriteBatchTimeInMs()
public void setNetworkWriteBatchTimeInMs(long networkWriteBatchTimeInMs)
public long getNetworkReadBatchSizeInBytes()
public void setNetworkReadBatchSizeInBytes(long networkReadBatchSizeInBytes)
public long getNetworkReadBatchTimeInMs()
public void setNetworkReadBatchTimeInMs(long networkReadBatchTimeInMs)
public int getSocketSendBufferSizeInBytes()
public void setSocketSendBufferSizeInBytes(int socketSendBufferSizeInBytes)
public int getSocketReceivedBufferSizeInBytes()
public void setSocketReceivedBufferSizeInBytes(int socketReceivedBufferSizeInBytes)