public interface AsynchronousModelFilter extends Model
TableModelcan be called synchronously in AWT thread as a direct response to user action (this is the default behavior), or asynchronously in a Request Processor or other thread. Register an implementation of this along with other models, if you need to change the original threading.
|Modifier and Type||Interface and Description|
This enumeration identifies method(s) of view models for which threading information is provided by
|Modifier and Type||Field and Description|
Executor for invocation of models method calls in the current thread.
Executor, which uses a shared
|Modifier and Type||Method and Description|
Change the threading information for view models method calls.
static final Executor CURRENT_THREAD
static final Executor DEFAULT
RequestProcessorwith throughoutput = 1 for models method calls, making the method invocation asynchronous. The UI gives a visual feedback to the user if models method calls take a long time. Use this to keep the UI responsive. This is the default executor for
Executor asynchronous(Executor original, AsynchronousModelFilter.CALL asynchCall, Object node) throws UnknownTypeException
original- The original
asynchCall- Identification of the method call
node- Object node
Built on May 31 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.