2015/07/26 - Apache DirectMemory has been retired.

For more information, please explore the Attic.

public class


extends Object
implements RemovalListener<K, V>
   ↳ org.apache.directmemory.guava.ForwardingListener<K, V>

Class Overview

Listener which forwards the notifications to a delegate. It is used to bridge the Guava Cache with DirectMemory CacheService


Public Constructors
ForwardingListener(RemovalListener<K, V> delegate)
Public Methods
static <K, V> ForwardingListener<K, V> newInstance()
static <K, V> ForwardingListener<K, V> newInstance(RemovalListener<K, V> delegate)
void onRemoval(RemovalNotification<K, V> notification)
void setDelegate(RemovalListener<K, V> delegate)
Inherited Methods
From class java.lang.Object
From interface com.google.common.cache.RemovalListener

Public Constructors

public ForwardingListener ()

public ForwardingListener (RemovalListener<K, V> delegate)

Public Methods

public static ForwardingListener<K, V> newInstance ()

public static ForwardingListener<K, V> newInstance (RemovalListener<K, V> delegate)

public void onRemoval (RemovalNotification<K, V> notification)

public void setDelegate (RemovalListener<K, V> delegate)