AmService.Builder |
AmService.Builder.enableNotifications(boolean enabled) |
Enable or disable the notifications.
|
AmService.Builder |
AmService.Builder.notificationClientProvider(WebSocketClientProvider notificationClientProvider) |
|
AmService.Builder |
AmService.Builder.notificationService(NotificationService notificationService) |
|
AmService.Builder |
AmService.Builder.notificationServiceConnectionAttempts(Integer initialConnectionAttempts) |
Specifies the number of Websocket connection attempts to try before failing the AmService creation.
|
AmService.Builder |
AmService.Builder.notificationServiceHeartbeat(Duration interval,
ScheduledExecutorService executorService) |
Set up heartbeats sent to AM to keep the connection busy.
|
AmService.Builder |
AmService.Builder.notificationServiceProxyOptions(ProxyOptions proxyOptions) |
Specifies the ProxyOptions to use for the websocket connection.
|
AmService.Builder |
AmService.Builder.notificationServiceReconnectDelay(Duration delay) |
Specifies the delay to wait between connection re-establishments
when web-socket connection is lost (or cannot be acquired at startup).
|
AmService.Builder |
AmService.Builder.notificationServiceTls(ClientTlsOptions tlsOptions) |
Specifies the TLS options to use for establishing a connection to the Web-socket endpoint.
|
AmService.Builder |
AmService.Builder.sessionCache(com.github.benmanes.caffeine.cache.Caffeine<Object,Object> caffeine,
Duration maximumTimeout,
DisconnectionStrategy disconnectionStrategy) |
|
AmService.Builder |
AmService.Builder.sessionIdleRefresh(boolean enabled,
Duration interval) |
Enable or disable the session idle refresh service and set the refresh interval.
|
AmService.Builder |
AmService.Builder.sessionProperties(Set<String> sessionProperties) |
Set the session properties and return this builder.
|
AmService.Builder |
AmService.Builder.sessionService(SessionService sessionService) |
|