public static final class PauseRequest.Builder extends AbstractLogonMessage.Builder<PauseRequest,PauseRequest.Builder>
PauseRequest messages. Used
by eBus to de-serialize an encoded message.mTargetClass| Modifier and Type | Method and Description |
|---|---|
protected PauseRequest |
buildImpl()
Returns the newly instantiated
PauseRequest
based on this builder configuration. |
PauseRequest.Builder |
discardPolicy(EConfigure.DiscardPolicy policy)
Sets the discard policy to the given value.
|
PauseRequest.Builder |
maximumBacklogSize(int size)
Sets the maximum message backlog size to the given
value.
|
PauseRequest.Builder |
pauseTime(Duration time)
Sets the pause time to the given value.
|
protected void |
validate(List<String> problems)
Adds any and all configuration problems to the list.
|
eidsubject, timestamp, timestampbuildprotected PauseRequest buildImpl()
PauseRequest
based on this builder configuration.buildImpl in class EMessageObject.Builder<PauseRequest,PauseRequest.Builder>protected void validate(List<String> problems)
validate in class AbstractLogonMessage.Builder<PauseRequest,PauseRequest.Builder>problems - list of mis-configurations.public PauseRequest.Builder pauseTime(Duration time)
time - pause time.this pause request builder.NullPointerException - if time is null.public PauseRequest.Builder maximumBacklogSize(int size)
size - maximum message backlog size.this pause request builder.IllegalArgumentException - if size < zero.public PauseRequest.Builder discardPolicy(EConfigure.DiscardPolicy policy)
policy - discard policy.this pause request builder.NullPointerException - if policy is null.Copyright © 2019. All rights reserved.