@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.
- Simon Kaufmann - Initial contribution
Field SummaryModifier and TypeFieldDescription
static final longDefault timeout for actions in milliseconds.
DEFAULT_TIMEOUTstatic final long DEFAULT_TIMEOUTDefault timeout for actions in milliseconds.
createCreate a safe call builder for the given object.
target- the object on which calls should be protected by the safe caller
interfaceType- the interface which defines the relevant methods
- a safe call builder instance.