public class ForwardingListener<K,V> extends java.lang.Object implements RemovalListener<K,V>
Constructor and Description |
---|
ForwardingListener() |
ForwardingListener(RemovalListener<K,V> delegate) |
Modifier and Type | Method and Description |
---|---|
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) |
public ForwardingListener()
public ForwardingListener(RemovalListener<K,V> delegate)
public void onRemoval(RemovalNotification<K,V> notification)
onRemoval
in interface RemovalListener<K,V>
public void setDelegate(RemovalListener<K,V> delegate)
public static <K,V> ForwardingListener<K,V> newInstance()
public static <K,V> ForwardingListener<K,V> newInstance(RemovalListener<K,V> delegate)
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.