Class RemovalListeners

java.lang.Object
com.google.common.cache.RemovalListeners

@Beta @Deprecated(since="2022-12-01") public final class RemovalListeners extends Object
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
A collection of common removal listeners.
Since:
10.0
  • Method Details

    • asynchronous

      public static <K, V> RemovalListener<K,V> asynchronous(RemovalListener<K,V> listener, Executor executor)
      Deprecated.
      Returns a RemovalListener which processes all eviction notifications using executor.
      Parameters:
      listener - the backing listener
      executor - the executor with which removal notifications are asynchronously executed