loci.formats.cache

## Interface CacheReporter

- All Known Subinterfaces:
    ICacheStrategy
  All Known Implementing Classes:
    Cache, CacheStrategy, CrosshairStrategy, RectangleStrategy

      public interface CacheReporter

  Interface for components capable of reporting cache updates.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCacheListener(CacheListener l)` Adds a listener for status update events.
    `CacheListener[]` | `getCacheListeners()` Gets a list of all registered status update listeners.
    `void` | `removeCacheListener(CacheListener l)` Removes a listener for status update events.

- - ### Method Detail

    - #### addCacheListener

          void addCacheListener(CacheListener l)

      Adds a listener for status update events.

    - #### removeCacheListener

          void removeCacheListener(CacheListener l)

      Removes a listener for status update events.

    - #### getCacheListeners

          CacheListener[] getCacheListeners()

      Gets a list of all registered status update listeners.

Copyright © 2026 Open Microscopy Environment