public <V> Cache<V> getCache(String name, CacheScope scope) {
    switch (scope) {
    case INSTANCE:
      return getInstanceCache(name);
    case CLUSTERINVALIDATED:
      return getInstanceCache(name);
    case CLUSTERREPLICATED:
      return getInstanceCache(name);
    case REQUEST:
      return getRequestCache(name);
    case THREAD:
      return getThreadCache(name);
    default:
      return getInstanceCache(name);
    }
  }
public <V> Cache<V> getCache(String name, CacheScope scope) {
    switch (scope) {
    case INSTANCE:
      return getInstanceCache(name);
    case CLUSTERINVALIDATED:
      return getInstanceCache(name);
    case CLUSTERREPLICATED:
      return getInstanceCache(name);
    case REQUEST:
      return getRequestCache(name);
    case THREAD:
      return getThreadCache(name);
    default:
      return getInstanceCache(name);
    }
  }
public < V > Cache < V > getCache ( String name , CacheScope scope ) { switch ( scope ) { case INSTANCE : return getInstanceCache ( name ) ; case CLUSTERINVALIDATED : return getInstanceCache ( name ) ; case CLUSTERREPLICATED : return getInstanceCache ( name ) ; case REQUEST : return getRequestCache ( name ) ; case THREAD : return getThreadCache ( name ) ; default : return getInstanceCache ( name ) ; } }
{@inheritDoc}

@see org.sakaiproject.nakamura.api.memory.CacheManagerService#getCache(java.lang.String)
{ @inheritDoc }