Only refreshes UI on the basis of an already sorted and filtered set of items.
Standard invocation scenario:
filtering job (FilterJob class extending Job class)
cache refresh without checking for duplicates (RefreshCacheJob class extending Job class)
UI refresh (RefreshJob class extending UIJob class)
cache refresh with checking for duplicates (CacheRefreshJob class extending Job class)
UI refresh (RefreshJob class extending UIJob class)
The scenario is rather complicated, but it had to be applied, because:
refreshing cache is rather a long action and cannot be run in the UI - cannot be run in a UIJob
refreshing cache checking for duplicates is twice as long as refreshing cache without checking for duplicates; results of the search could be displayed earlier
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.