| 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 | |
| EpollDomainSocketChannelConfig | back to summary |
|---|---|
| pack-priv EpollDomainSocketChannelConfig(AbstractEpollChannel 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 EpollDomainSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setAllowHalfClosure | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig 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 EpollDomainSocketChannelConfig setAutoClose(boolean autoClose) Overrides io. Implements io. Doc from io. Sets whether the
| |
| setAutoRead | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Sets if
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Overrides io. Implements io. Doc from io. Sets the connect timeout of the channel in milliseconds. If the
| |
| setEpollMode | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setEpollMode(EpollMode mode) Overrides io. Doc from io. Set the
| |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig 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;
}
| |
| setReadMode | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setReadMode(DomainSocketReadMode mode) Implements io. Doc from io. Change the
| |
| setReceiveBufferSize | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) | |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setSendBufferSize | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setSendBufferSize(int sendBufferSize) | |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig 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 EpollDomainSocketChannelConfig 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 EpollDomainSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public EpollDomainSocketChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Sets the maximum loop count for a write operation until
| |