public static class DispatcherChannelSetup.ChannelServiceConfiguration extends DispatcherChannelSetup
DispatcherChannelSetup.BoundedByChannelConfiguration, DispatcherChannelSetup.BoundedByChannelId, DispatcherChannelSetup.ChannelServiceConfiguration| Constructor and Description |
|---|
ChannelServiceConfiguration(String serviceId) |
| Modifier and Type | Method and Description |
|---|---|
DispatcherChannelSetup.ChannelServiceConfiguration |
copy() |
String |
getDispatcherId()
getter for dispatcherId
|
long |
getHeartbeatTimeOutInMS()
getter for service heartbeat timeout in ms
|
protected Long |
getMaxMessageSize()
getter for max channel size
|
String |
getName()
getter for name of channel component
|
long |
getPeriodicRepetitionIntervalMS()
getter for periodic repetition interval of service in ms
|
PrivateChannelWorkerRequirement |
getPrivateChannelWorkerRequirement()
getter for private channel worker requirement
|
Class<? extends IChannelComponent>[] |
getScopes()
specified scopes allowed to apply this configuration type
|
String |
getServiceId()
getter for service id
|
long |
getStartDelayInMS()
getter for start delay of service in ms
|
long |
getTimeOutInMS()
getter for service timeout in ms
|
DispatcherChannelSetup.ChannelServiceConfiguration |
setHeartbeatTimeOutInMS(long heartbeatTimeOutInMS)
setter for service heartbeat timeout in ms
|
protected DispatcherChannelSetup.ChannelServiceConfiguration |
setMaxMessageSize(Long maxMessageSize)
setter for max channel size
|
DispatcherChannelSetup.ChannelServiceConfiguration |
setName(String name)
setter for name of channel component
|
DispatcherChannelSetup.ChannelServiceConfiguration |
setPeriodicRepetitionIntervalMS(long periodicRepetitionIntervalMS)
setter for periodic repetition interval of service in ms
|
DispatcherChannelSetup.ChannelServiceConfiguration |
setPrivateChannelWorkerRequirement(PrivateChannelWorkerRequirement privateChannelWorkerRequirement)
setter for private channel worker requirement
|
DispatcherChannelSetup.ChannelServiceConfiguration |
setStartDelayInMS(long startDelayInMS)
setter for start delay of service in ms
|
DispatcherChannelSetup.ChannelServiceConfiguration |
setTimeOutInMS(long timeOutInMS)
setter for service timeout in ms
|
isOptional, setDispatcherId, setOptionalpublic ChannelServiceConfiguration(String serviceId)
public String getDispatcherId()
DispatcherChannelSetupgetDispatcherId in class DispatcherChannelSetuppublic String getName()
DispatcherChannelSetupgetName in class DispatcherChannelSetuppublic DispatcherChannelSetup.ChannelServiceConfiguration setName(String name)
DispatcherChannelSetupsetName in class DispatcherChannelSetupname - name of channel componentpublic long getTimeOutInMS()
public DispatcherChannelSetup.ChannelServiceConfiguration setTimeOutInMS(long timeOutInMS)
timeOutInMS - service timeout in mspublic long getHeartbeatTimeOutInMS()
public DispatcherChannelSetup.ChannelServiceConfiguration setHeartbeatTimeOutInMS(long heartbeatTimeOutInMS)
heartbeatTimeOutInMS - service heartbeat timeout in mspublic long getStartDelayInMS()
public DispatcherChannelSetup.ChannelServiceConfiguration setStartDelayInMS(long startDelayInMS)
startDelayInMS - start delay of service in mspublic long getPeriodicRepetitionIntervalMS()
public DispatcherChannelSetup.ChannelServiceConfiguration setPeriodicRepetitionIntervalMS(long periodicRepetitionIntervalMS)
periodicRepetitionIntervalMS - repetition interval of service in msprotected DispatcherChannelSetup.ChannelServiceConfiguration setMaxMessageSize(Long maxMessageSize)
DispatcherChannelSetupsetMaxMessageSize in class DispatcherChannelSetupmaxMessageSize - max size of messagespublic DispatcherChannelSetup.ChannelServiceConfiguration setPrivateChannelWorkerRequirement(PrivateChannelWorkerRequirement privateChannelWorkerRequirement)
DispatcherChannelSetupsetPrivateChannelWorkerRequirement in class DispatcherChannelSetupprivateChannelWorkerRequirement - declares necessity to use same channel worker thread for synchronized channel activities at all timesprotected Long getMaxMessageSize()
DispatcherChannelSetupgetMaxMessageSize in class DispatcherChannelSetuppublic PrivateChannelWorkerRequirement getPrivateChannelWorkerRequirement()
DispatcherChannelSetupgetPrivateChannelWorkerRequirement in class DispatcherChannelSetuppublic String getServiceId()
public Class<? extends IChannelComponent>[] getScopes()
DispatcherChannelSetupgetScopes in class DispatcherChannelSetuppublic DispatcherChannelSetup.ChannelServiceConfiguration copy()
copy in class DispatcherChannelSetupCopyright © 2020. All rights reserved.