void load(K key) throws InterruptedException
This must be implemented in a thread-safe manner. Multiple threads are allowed to call this method at the same time with the same key. The expected behaviour is that the data is loaded only once and the result is made visible on all threads.
InterruptedException- if the loading operation was interrupted.
Copyright © 2015–2017 Fiji. All rights reserved.