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 Details

    • onImageWritten

      default void onImageWritten(OperationList opList)

      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.