Package org.openhab.core.common
Interface SafeCaller
@NonNullByDefault
public interface SafeCaller
OSGi service to obtain a
SafeCallerBuilder
.
Safe-calls are used within the framework in order to protect it from hanging/blocking binding code and log meaningful
messages to detect and identify such hanging code.- Author:
- Simon Kaufmann - Initial contribution
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
Default timeout for actions in milliseconds. -
Method Summary
Modifier and TypeMethodDescription<T> SafeCallerBuilder
<@NonNull T> Create a safe call builder for the given object.