Package org.eclipse.epsilon.emc.emf
Class CachedResourceSet.Cache
- java.lang.Object
-
- org.eclipse.epsilon.emc.emf.CachedResourceSet.Cache
-
- Enclosing class:
- CachedResourceSet
public static class CachedResourceSet.Cache extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CachedResourceSet.Cache.CacheItem
-
Field Summary
Fields Modifier and Type Field Description protected Collection<CachedResourceSet.Cache.CacheItem>
items
-
Constructor Summary
Constructors Constructor Description Cache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cacheResource(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.resource.Resource resource)
org.eclipse.emf.ecore.resource.Resource
checkoutResource(org.eclipse.emf.common.util.URI uri)
void
clear()
Collection<CachedResourceSet.Cache.CacheItem>
getItems()
boolean
isCached(org.eclipse.emf.common.util.URI uri)
void
returnResource(org.eclipse.emf.ecore.resource.Resource resource)
int
size()
-
-
-
Field Detail
-
items
protected Collection<CachedResourceSet.Cache.CacheItem> items
-
-
Method Detail
-
cacheResource
public void cacheResource(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.resource.Resource resource)
-
isCached
public boolean isCached(org.eclipse.emf.common.util.URI uri)
-
checkoutResource
public org.eclipse.emf.ecore.resource.Resource checkoutResource(org.eclipse.emf.common.util.URI uri)
-
returnResource
public void returnResource(org.eclipse.emf.ecore.resource.Resource resource)
-
clear
public void clear()
-
size
public int size()
-
getItems
public Collection<CachedResourceSet.Cache.CacheItem> getItems()
-
-