| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private volatile DomainSocketReadMode |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| allowHalfClosure | back to summary |
|---|---|
| private volatile boolean allowHalfClosure | |
| mode | back to summary |
|---|---|
| private volatile DomainSocketReadMode mode | |
| KQueueDomainSocketChannelConfig | back to summary |
|---|---|
| pack-priv KQueueDomainSocketChannelConfig(AbstractKQueueChannel channel) | |
| getOption | back to summary |
|---|---|
| public <T> T getOption(ChannelOption<T> option) Overrides io. Implements io. Doc from io. Return the value of the given
| |
| getOptions | back to summary |
|---|---|
| public Map Overrides io. Implements io. Doc from io. Return all set
| |
| getReadMode | back to summary |
|---|---|
| public DomainSocketReadMode getReadMode() Implements io. Doc from io. Return the
| |
| getReceiveBufferSize | back to summary |
|---|---|
| public int getReceiveBufferSize() | |
| getSendBufferSize | back to summary |
|---|---|
| public int getSendBufferSize() | |
| isAllowHalfClosure | back to summary |
|---|---|
| public boolean isAllowHalfClosure() Implements io. Doc from io. Returns
| |
| setAllocator | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setAllowHalfClosure | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setAllowHalfClosure(boolean allowHalfClosure) Implements io. Doc from io. Sets whether the channel should not close itself when its remote peer shuts down output to
make the connection half-closed. If
| |
| setAutoClose | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setAutoClose(boolean autoClose) Overrides io. Implements io. Doc from io. Sets whether the
| |
| setAutoRead | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Sets if
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Overrides io. Implements io. Doc from io. Sets the connect timeout of the channel in milliseconds. If the
| |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator) Overrides io. Implements io. Doc from io. Set the
| |
| setOption | back to summary |
|---|---|
| public <T> boolean setOption(ChannelOption<T> option, T value) Overrides io. Implements io. Doc from io. Sets a configuration property with the specified name and value. To override this method properly, you must call the super class:
public boolean setOption(ChannelOption<T> option, T value) {
if (super.setOption(option, value)) {
return true;
}
if (option.equals(additionalOption)) {
....
return true;
}
return false;
}
| |
| setRcvAllocTransportProvidesGuess | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess) Overrides io. Doc from io. If this is
| |
| setReadMode | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setReadMode(DomainSocketReadMode mode) Implements io. Doc from io. Change the
| |
| setReceiveBufferSize | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) | |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setSendBufferSize | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setSendBufferSize(int sendBufferSize) | |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark) Overrides io. Implements io. Doc from io. Deprecated
Sets the high water mark of the write buffer. If the number of bytes
queued in the write buffer exceeds this value,
| |
| setWriteBufferLowWaterMark | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark) Overrides io. Implements io. Doc from io. Deprecated
Sets the low water mark of the write buffer. Once the number of bytes
queued in the write buffer exceeded the
high water mark and then
dropped down below this value,
| |
| setWriteBufferWaterMark | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public KQueueDomainSocketChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Sets the maximum loop count for a write operation until
| |