java.lang.Object
org.praxislive.base.AbstractRoot.DelegateConfiguration
- Enclosing class:
AbstractRoot
A configuration object used for customizing
AbstractRoot.Delegate behaviour in
a subclass. Create using AbstractRoot.delegateConfig().-
Method Summary
Modifier and TypeMethodDescriptionforceUpdateAfter(long time, TimeUnit unit) Whether to force an update on another thread if the delegate hasn't called update in the given time period.Whether to poll for incoming calls in another thread in-between calls to update.
-
Method Details
-
pollInBackground
Whether to poll for incoming calls in another thread in-between calls to update. Default is disabled.Background polling will use the original root thread or executor.
- Returns:
- this for chaining
-
forceUpdateAfter
Whether to force an update on another thread if the delegate hasn't called update in the given time period. Default is disabled.Forced updates will use the original root thread or executor.
- Parameters:
time- maximum time period before update will be forcedunit- unit of time argument- Returns:
- this for chaining
-