com.atlassian.cache.impl
Class LazyCachedReferenceListenerSupport<V>

java.lang.Object
  extended by com.atlassian.cache.impl.LazyCachedReferenceListenerSupport<V>
All Implemented Interfaces:
CachedReferenceListenerSupport<V>

public class LazyCachedReferenceListenerSupport<V>
extends Object
implements CachedReferenceListenerSupport<V>


Field Summary
 
Fields inherited from interface com.atlassian.cache.impl.CachedReferenceListenerSupport
EMPTY
 
Constructor Summary
LazyCachedReferenceListenerSupport()
           
 
Method Summary
 void add(CachedReferenceListener<V> listener, boolean includeValues)
           
protected  CachedReferenceListenerSupport<V> createDelegate()
           
protected  void init()
           
 void notifyEvict(V oldValue)
           
 void notifyReset(V oldValue)
           
 void notifySet(V value)
           
 void remove(CachedReferenceListener<V> listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyCachedReferenceListenerSupport

public LazyCachedReferenceListenerSupport()
Method Detail

init

protected void init()

createDelegate

protected CachedReferenceListenerSupport<V> createDelegate()

add

public void add(CachedReferenceListener<V> listener,
                boolean includeValues)
Specified by:
add in interface CachedReferenceListenerSupport<V>

remove

public void remove(CachedReferenceListener<V> listener)
Specified by:
remove in interface CachedReferenceListenerSupport<V>

notifyEvict

public void notifyEvict(V oldValue)
Specified by:
notifyEvict in interface CachedReferenceListenerSupport<V>

notifySet

public void notifySet(V value)
Specified by:
notifySet in interface CachedReferenceListenerSupport<V>

notifyReset

public void notifyReset(V oldValue)
Specified by:
notifyReset in interface CachedReferenceListenerSupport<V>


Copyright © 2015 Atlassian. All rights reserved.