com.atlassian.cache.impl
Class CacheEntryNotificationSupport

java.lang.Object
  extended by com.atlassian.cache.impl.CacheEntryNotificationSupport

public class CacheEntryNotificationSupport
extends Object


Constructor Summary
CacheEntryNotificationSupport()
           
 
Method Summary
static CacheEntryNotificationSupport getInstance()
           
<K,V> void
notify(Iterable<CacheEntryListener<K,V>> listeners, com.atlassian.fugue.Effect<CacheEntryListener<K,V>> effect)
           
<K,V> void
notifyAdd(Iterable<CacheEntryListener<K,V>> listeners, CacheEntryEvent<K,V> event)
           
<K,V> void
notifyEvict(Iterable<CacheEntryListener<K,V>> listeners, CacheEntryEvent<K,V> event)
           
<K,V> void
notifyRemove(Iterable<CacheEntryListener<K,V>> listeners, CacheEntryEvent<K,V> event)
           
<K,V> void
notifyUpdate(Iterable<CacheEntryListener<K,V>> listeners, CacheEntryEvent<K,V> event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheEntryNotificationSupport

public CacheEntryNotificationSupport()
Method Detail

getInstance

public static CacheEntryNotificationSupport getInstance()

notifyAdd

public <K,V> void notifyAdd(Iterable<CacheEntryListener<K,V>> listeners,
                            CacheEntryEvent<K,V> event)

notifyEvict

public <K,V> void notifyEvict(Iterable<CacheEntryListener<K,V>> listeners,
                              CacheEntryEvent<K,V> event)

notifyRemove

public <K,V> void notifyRemove(Iterable<CacheEntryListener<K,V>> listeners,
                               CacheEntryEvent<K,V> event)

notifyUpdate

public <K,V> void notifyUpdate(Iterable<CacheEntryListener<K,V>> listeners,
                               CacheEntryEvent<K,V> event)

notify

public <K,V> void notify(Iterable<CacheEntryListener<K,V>> listeners,
                         com.atlassian.fugue.Effect<CacheEntryListener<K,V>> effect)


Copyright © 2015 Atlassian. All rights reserved.