public interface ChannelOptions
Channel
.
The ChannelOptions is not tied to a particular type of transport. So it could
contain TCP based transport, but it could also contain e.g. UDP transport
configuration.Modifier and Type | Method and Description |
---|---|
<T> T |
getOption(ChannelOption<T> option)
Gets an option value.
|
<T> ChannelOptions |
setOption(ChannelOption<T> option,
T value)
Sets an option value.
|
<T> ChannelOptions setOption(ChannelOption<T> option, T value)
T
- the type of the valueoption
- the optionvalue
- the valueNullPointerException
- if option or value is null.HazelcastException
- if the value could not be set.<T> T getOption(ChannelOption<T> option)
T
- the type of the valueoption
- the optionHazelcastException
- if the value could not be get.Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.