Interface CacheObserver
public interface CacheObserver
Observer of cache operations that may complete asynchronously.
At the time of its addition, this was used only to make various tests less dependent on timing.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
onImageWritten
(OperationList opList) Invoked when a stream returned fromVariantCache.newVariantImageOutputStream(OperationList)
was fully written, closed, and any asynchronous operations completed.
-
Method Details
-
onImageWritten
Invoked when a stream returned from
VariantCache.newVariantImageOutputStream(OperationList)
was fully written, closed, and any asynchronous operations completed.May be invoked from another thread.
The default implementation is a no-op.
- Parameters:
opList
- Instance describing the image that was written.
-