public static class TimeoutProperties.MessageHandlerTimeoutProperties extends Object
Constructor and Description |
---|
MessageHandlerTimeoutProperties() |
Modifier and Type | Method and Description |
---|---|
TaskTimeoutSettings |
getCommands()
The timeout configuration for command handlers.
|
TaskTimeoutSettings |
getDeadlines()
The timeout configuration for deadline handlers.
|
TaskTimeoutSettings |
getEvents()
The timeout configuration for event handlers.
|
TaskTimeoutSettings |
getQueries()
The timeout configuration for query handlers.
|
void |
setCommands(TaskTimeoutSettings commands)
Sets the timeout configuration for command handlers.
|
void |
setDeadlines(TaskTimeoutSettings deadlines)
Sets the timeout configuration for deadline handlers.
|
void |
setEvents(TaskTimeoutSettings events)
Sets the timeout configuration for event handlers.
|
void |
setQueries(TaskTimeoutSettings queries)
Sets the timeout configuration for query handlers.
|
HandlerTimeoutConfiguration |
toMessageHandlerTimeoutConfiguration()
Converts this configuration to a
HandlerTimeoutConfiguration . |
public TaskTimeoutSettings getEvents()
public void setEvents(TaskTimeoutSettings events)
events
- the timeout configuration for event handlerspublic TaskTimeoutSettings getCommands()
public void setCommands(TaskTimeoutSettings commands)
commands
- the timeout configuration for command handlerspublic TaskTimeoutSettings getQueries()
public void setQueries(TaskTimeoutSettings queries)
queries
- the timeout configuration for query handlerspublic TaskTimeoutSettings getDeadlines()
public void setDeadlines(TaskTimeoutSettings deadlines)
deadlines
- the timeout configuration for deadline handlerspublic HandlerTimeoutConfiguration toMessageHandlerTimeoutConfiguration()
HandlerTimeoutConfiguration
.HandlerTimeoutConfiguration
based on this configurationCopyright © 2010–2025. All rights reserved.