org.apache.storm.windowing.persistence

## Interface WindowPartitionCache.RemovalListener<K,V>

- Enclosing interface:
    WindowPartitionCache<K,V>

      public static interface WindowPartitionCache.RemovalListener<K,V>

  A callback interface for handling removal of events from the cache.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onRemoval(K key, V val, WindowPartitionCache.RemovalCause removalCause)` The method that is invoked when an entry is removed from the cache.

- - ### Method Detail

    - #### onRemoval

          void onRemoval(K key,
                         V val,
                         WindowPartitionCache.RemovalCause removalCause)

      The method that is invoked when an entry is removed from the cache.

      Parameters:
        `key` - the key of the entry that was removed
        `val` - the value of the entry that was removed
        `removalCause` - the `WindowPartitionCache.RemovalCause`

Copyright © 2019 The Apache Software Foundation. All rights reserved.