com.atlassian.cache.impl
Class ValueCacheEntryListenerSupport<K,V>

java.lang.Object
  extended by com.atlassian.cache.impl.ValueCacheEntryListenerSupport<K,V>
All Implemented Interfaces:
CacheEntryListenerSupport<K,V>

public class ValueCacheEntryListenerSupport<K,V>
extends Object
implements CacheEntryListenerSupport<K,V>


Field Summary
 
Fields inherited from interface com.atlassian.cache.impl.CacheEntryListenerSupport
EMPTY
 
Constructor Summary
ValueCacheEntryListenerSupport()
           
 
Method Summary
 void add(CacheEntryListener<K,V> listener, boolean includeValues)
           
protected  void init(CacheEntryListenerSupport<K,V> actualListenerSupport)
           
protected  void initValue(CacheEntryListenerSupport<K,V> actualListenerSupport)
           
protected  void initValueless(CacheEntryListenerSupport<K,V> actualListenerSupport)
           
 void notifyAdd(K key, V value)
           
 void notifyEvict(K key, V oldValue)
           
 void notifyRemove(K key, V oldValue)
           
 void notifyUpdate(K key, V value, V oldValue)
           
 void remove(CacheEntryListener<K,V> listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueCacheEntryListenerSupport

public ValueCacheEntryListenerSupport()
Method Detail

init

protected void init(CacheEntryListenerSupport<K,V> actualListenerSupport)

initValue

protected void initValue(CacheEntryListenerSupport<K,V> actualListenerSupport)

initValueless

protected void initValueless(CacheEntryListenerSupport<K,V> actualListenerSupport)

add

public void add(CacheEntryListener<K,V> listener,
                boolean includeValues)
Specified by:
add in interface CacheEntryListenerSupport<K,V>

remove

public void remove(CacheEntryListener<K,V> listener)
Specified by:
remove in interface CacheEntryListenerSupport<K,V>

notifyAdd

public void notifyAdd(K key,
                      V value)
Specified by:
notifyAdd in interface CacheEntryListenerSupport<K,V>

notifyEvict

public void notifyEvict(K key,
                        V oldValue)
Specified by:
notifyEvict in interface CacheEntryListenerSupport<K,V>

notifyRemove

public void notifyRemove(K key,
                         V oldValue)
Specified by:
notifyRemove in interface CacheEntryListenerSupport<K,V>

notifyUpdate

public void notifyUpdate(K key,
                         V value,
                         V oldValue)
Specified by:
notifyUpdate in interface CacheEntryListenerSupport<K,V>


Copyright © 2015 Atlassian. All rights reserved.