Uses of Interface
org.openhab.core.common.SafeCallerBuilder
-
Uses of SafeCallerBuilder in org.openhab.core.common
Modifier and TypeMethodDescription<T> SafeCallerBuilder<T>
Create a safe call builder for the given object.SafeCallerBuilder.onException
(Consumer<Throwable> exceptionHandler) Specifies a callback in case of execution errors.Specifies a callback in case of timeouts.SafeCallerBuilder.withAsync()
Denotes that the calls should be executed asynchronously, i.e.SafeCallerBuilder.withIdentifier
(Object identifier) Specifies the identifier for the context in which only one thread may be occupied at the same time.SafeCallerBuilder.withTimeout
(long timeout) Sets the timeout