org.eclipse.xtext.util
Class OnChangeEvictingCache.CacheAdapter
java.lang.Object
   org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.common.notify.impl.AdapterImpl
       org.eclipse.emf.ecore.util.EContentAdapter
org.eclipse.emf.ecore.util.EContentAdapter
           org.eclipse.xtext.util.OnChangeEvictingCache.CacheAdapter
org.eclipse.xtext.util.OnChangeEvictingCache.CacheAdapter
- All Implemented Interfaces: 
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
- Enclosing class:
- OnChangeEvictingCache
- public static class OnChangeEvictingCache.CacheAdapter 
- extends org.eclipse.emf.ecore.util.EContentAdapter
 
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter | 
| org.eclipse.emf.common.notify.Adapter.Internal | 
 
 
| Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl | 
| target | 
 
 
 
| Methods inherited from class org.eclipse.emf.ecore.util.EContentAdapter | 
| addAdapter, basicSetTarget, basicUnsetTarget, handleContainment, removeAdapter, selfAdapt, setTarget, setTarget, setTarget, setTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget | 
 
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl | 
| getTarget | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OnChangeEvictingCache.CacheAdapter
public OnChangeEvictingCache.CacheAdapter()
set
public void set(java.lang.Object name,
                java.lang.Object value)
- 
 
listenToNotifications
public void listenToNotifications()
- 
- Since:
- 2.1
 
ignoreNotifications
public void ignoreNotifications()
- 
- Since:
- 2.1
 
cacheMiss
protected void cacheMiss()
- 
- Since:
- 2.1
 
cacheHit
protected void cacheHit()
- 
- Since:
- 2.1
 
get
public <T> T get(java.lang.Object name)
- 
 
addCacheListener
public void addCacheListener(OnChangeEvictingCache.Listener listener)
- 
 
removeCacheListener
public void removeCacheListener(OnChangeEvictingCache.Listener listener)
- 
 
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
- 
- Specified by:
- notifyChangedin interface- org.eclipse.emf.common.notify.Adapter
- Overrides:
- notifyChangedin class- org.eclipse.emf.ecore.util.EContentAdapter
 
- 
 
clearValues
public void clearValues()
- 
 
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
- 
- Specified by:
- isAdapterForTypein interface- org.eclipse.emf.common.notify.Adapter
- Overrides:
- isAdapterForTypein class- org.eclipse.emf.common.notify.impl.AdapterImpl
 
- 
 
setIgnoreNotifications
@Deprecated
public void setIgnoreNotifications(boolean ignoreNotifications)
- Deprecated. use ignoreNotifications()andlistenToNotifications()instead.
 
- 
 
isIgnoreNotifications
public boolean isIgnoreNotifications()
- 
 
resolve
protected boolean resolve()
- 
- Overrides:
- resolvein class- org.eclipse.emf.ecore.util.EContentAdapter
 
- 
 
getResource
protected org.eclipse.emf.ecore.resource.Resource getResource()
- 
- Since:
- 2.1
 
setResource
protected void setResource(org.eclipse.emf.ecore.resource.Resource resource)
- 
- Since:
- 2.1