Package com.codeheadsystems.queue
Interface QueueConfiguration
@Immutable
public interface QueueConfiguration
The interface Queue configuration.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanException on enqueue fail boolean.default intQueue executor idle seconds int.default intQueue executor max threads int.default intQueue executor min threads int.default intQueue processor initial delay int for processing the durable queue for entries.default intQueue processor interval int for processing the durable queue for entries.default intWait between polls seconds int.
-
Method Details
-
waitBetweenPollsSeconds
@Default default int waitBetweenPollsSeconds()Wait between polls seconds int.- Returns:
- the int
-
exceptionOnEnqueueFail
@Default default boolean exceptionOnEnqueueFail()Exception on enqueue fail boolean.- Returns:
- the boolean
-
queueProcessorInitialDelay
@Default default int queueProcessorInitialDelay()Queue processor initial delay int for processing the durable queue for entries.- Returns:
- the int
-
queueProcessorInterval
@Default default int queueProcessorInterval()Queue processor interval int for processing the durable queue for entries.- Returns:
- the int
-
queueExecutorMinThreads
default int queueExecutorMinThreads()Queue executor min threads int.- Returns:
- the int
-
queueExecutorMaxThreads
default int queueExecutorMaxThreads()Queue executor max threads int.- Returns:
- the int
-
queueExecutorIdleSeconds
default int queueExecutorIdleSeconds()Queue executor idle seconds int.- Returns:
- the int
-