Package org.jtrim2.ui.concurrent.query
Interface AsyncRendererFactory
- All Known Implementing Classes:
GenericAsyncRendererFactory
public interface AsyncRendererFactory
Creates new independent
AsyncRenderer instances. The
AsyncRenderer instances must be independent in a way that no two
AsyncRenderer instances will overwrite each other's rendering
requests.
For further detail on asynchronous rendering see the documentation of
AsyncRenderer.
Thread safety
Implementations of this interface are required to be safe to be accessed from multiple threads concurrently.Synchronization transparency
Implementations of this interface are not required to be synchronization transparent.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreates anAsyncRendererwhich is able to render a component.
-
Method Details
-
createRenderer
AsyncRenderer createRenderer()Creates anAsyncRendererwhich is able to render a component.Note that it is not strictly required that this method return a new unique instance but to avoid independent
AsyncRendereroverwriting each other's rendering requests, it is usually necessary.- Returns:
- an
AsyncRendererwhich is able to render a component. This method never returnsnull.
-