public interface SseEventBusConfigurer
Used together with EnableSseEventBus
| Modifier and Type | Method and Description |
|---|---|
default Duration |
clientExpiration()
Duration after the last successful data connection, a client is removed from the
internal registry.
|
default Duration |
clientExpirationJobDelay()
Specifies the delay between runs of the internal job that checks for expired
clients.
|
default BlockingQueue<ClientEvent> |
errorQueue() |
default SseEventBusListener |
listener() |
default int |
noOfSendResponseTries()
Number of tries to send an event.
|
default Duration |
schedulerDelay()
Specifies the delay between runs of the internal error queue job.
|
default BlockingQueue<ClientEvent> |
sendQueue() |
default ScheduledExecutorService |
taskScheduler()
An executor that schedules and runs the internal jobs
|
default Duration schedulerDelay()
Default: 500 milliseconds
default Duration clientExpirationJobDelay()
Default: clientExpiration() (1 day)
default Duration clientExpiration()
Default: 1 day
default int noOfSendResponseTries()
default ScheduledExecutorService taskScheduler()
By default this is an instance created with
Executors#newScheduledThreadPool(2)
default BlockingQueue<ClientEvent> errorQueue()
default BlockingQueue<ClientEvent> sendQueue()
default SseEventBusListener listener()
Copyright © 2016–2020. All rights reserved.