Skip to content

PankratzLab/BackgroundDataProcessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background Data Processor

A lightweight Java utility for single-pass processing of item collections.

Designed to improve application responsiveness with the following key features:

Hybrid Loading: The constructor blocks until the first item in a collection is loaded; then processes the remaining items asynchronously in the background. This allows your application to start working with data immediately.

Thread-Safety: Guarantees safe access in concurrent environments. Calls to retrieve items that are still being processed will block until the data is ready.

Memory-Efficiency: Operates in a single-pass workflow. Once an item is retrieved, its reference is dropped from the internal cache to minimize memory footprint. Retrieving the same item again will trigger a new, synchronous load. If items require multiple uses, references to the items must be maintained externally.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages