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

For more information, please explore the Attic.

public class

ForwardingListener

extends Object
implements RemovalListener<K, V>
java.lang.Object
   ↳ 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

Summary

Public Constructors
ForwardingListener()
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)
[Expand]
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)