public static class OnChangeEvictingCache.CacheAdapter
extends org.eclipse.emf.ecore.util.EContentAdapter
Constructor and Description |
---|
OnChangeEvictingCache.CacheAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addCacheListener(OnChangeEvictingCache.Listener listener) |
protected void |
cacheHit() |
protected void |
cacheMiss() |
void |
clearValues() |
<T> T |
get(java.lang.Object name) |
protected org.eclipse.emf.ecore.resource.Resource |
getResource() |
void |
ignoreNotifications() |
boolean |
isAdapterForType(java.lang.Object type) |
boolean |
isIgnoreNotifications() |
void |
listenToNotifications() |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification) |
void |
removeCacheListener(OnChangeEvictingCache.Listener listener) |
protected boolean |
resolve() |
void |
set(java.lang.Object name,
java.lang.Object value) |
void |
setIgnoreNotifications(boolean ignoreNotifications)
Deprecated.
use
ignoreNotifications() and listenToNotifications() instead. |
protected void |
setResource(org.eclipse.emf.ecore.resource.Resource resource) |
public void set(java.lang.Object name, java.lang.Object value)
public void listenToNotifications()
public void ignoreNotifications()
protected void cacheMiss()
protected void cacheHit()
public <T> T get(java.lang.Object name)
public void addCacheListener(OnChangeEvictingCache.Listener listener)
public void removeCacheListener(OnChangeEvictingCache.Listener listener)
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
notifyChanged
in class org.eclipse.emf.ecore.util.EContentAdapter
public void clearValues()
public boolean isAdapterForType(java.lang.Object type)
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
isAdapterForType
in class org.eclipse.emf.common.notify.impl.AdapterImpl
@Deprecated public void setIgnoreNotifications(boolean ignoreNotifications)
public boolean isIgnoreNotifications()
protected boolean resolve()
resolve
in class org.eclipse.emf.ecore.util.EContentAdapter
protected org.eclipse.emf.ecore.resource.Resource getResource()
protected void setResource(org.eclipse.emf.ecore.resource.Resource resource)