Class 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 NonRecursiveEContentAdapter
    • Constructor Detail

      • CacheAdapter

        public CacheAdapter()
      • CacheAdapter

        public CacheAdapter​(int initialCapacity)
        Since:
        2.26
    • Method Detail

      • 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)
      • notifyChanged

        public void notifyChanged​(org.eclipse.emf.common.notify.Notification notification)
        Specified by:
        notifyChanged in interface org.eclipse.emf.common.notify.Adapter
        Overrides:
        notifyChanged in class org.eclipse.emf.ecore.util.EContentAdapter
      • clearValues

        public void clearValues()
      • isSemanticStateChange

        protected boolean isSemanticStateChange​(org.eclipse.emf.common.notify.Notification notification)
        Since:
        2.23
      • isAdapterForType

        public boolean isAdapterForType​(java.lang.Object type)
        Specified by:
        isAdapterForType in interface org.eclipse.emf.common.notify.Adapter
        Overrides:
        isAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImpl
      • isIgnoreNotifications

        public boolean isIgnoreNotifications()
      • resolve

        protected boolean resolve()
        Overrides:
        resolve in 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