Returns for given parameter <i>_name</i> the instance of class
{@link Consortium}.

@param _name name to search in the cache
@return instance of class {@link Consortium}
@throws CacheReloadException on error
@see #getCache
189382
public static Consortium get(final String _name)
        throws CacheReloadException
    {
        final Cache<String, Consortium> cache = InfinispanCache.get().<String, Consortium>getCache(Consortium.IDCACHE);
        if (!cache.containsKey(_name) && !Consortium.getConsortiumFromDB(Consortium.SQL_NAME, _name)) {
            cache.put(_name, Consortium.NULL, 100, TimeUnit.SECONDS);
        }
        final Consortium ret = cache.get(_name);
        return ret.equals(Consortium.NULL) ? null : ret;
    }
1072087
@Override
    public <K, V> Cache<K, V> getCache(String cacheName) {
        return this.getCache(cacheName, true);
    }
951288
@Programmatic
    public ApplicationTenancy findByNameCached(final String name) {
        return queryResultsCache.execute(new Callable<ApplicationTenancy>() {
            @Override
            public ApplicationTenancy call() throws Exception {
                return findByName(name);
            }
        }, ApplicationTenancyRepository.class, "findByNameCached", name);
    }
424244
@SuppressWarnings("unchecked")
  public <T> T getQuery(String name) {
    return (T) getQuery().get(name);
  }
870793
public static WebOperation getOperationByName(final String name) throws WebOperationNotFoundException{
        if(!cache.containsKey(name)){
            WebOperation wo = null;

            Map<String,Object> cls = Objects.find((List<Map<String,Object>>)Options.getStorage().getSystem(List.class,"webOperations", new ArrayList()),new Closure<Map<String, Object>, Boolean>() {
                @Override
                public Boolean call(Map<String, Object> input) {
                    return name.equals(Objects.get(input, "name"));
                }
            });
            if(!Objects.isNullOrEmpty(cls)){
                try{
                    wo = (WebOperation)Class.forName(Objects.get(String.class,cls,"class")).newInstance();
                    wo.setConfig(Objects.get(cls, "config", Objects.newHashMap(String.class, Object.class)));
                }catch (Exception e){
                    throw new WebOperationNotFoundException("Cannot initialize WebOperation ("+cls+"): "+e.getMessage(),e);
                }
            }
            if(wo == null)
                throw new WebOperationNotFoundException("WebOperation "+name+" not found");
            cache.put(name,wo);
        }
        return cache.get(name);
    }
983887
public Project getProject(final String name) {
    Project fetchedProject = this.projectsByName.get(name);
    if (fetchedProject == null) {
      try {
        fetchedProject = this.projectLoader.fetchProjectByName(name);
        if (fetchedProject != null) {
          logger.info("Project " + name + " not found in cache, fetched from DB.");
        } else {
          logger.info("No active project with name " + name + " exists in cache or DB.");
        }
      } catch (final ProjectManagerException e) {
        logger.error("Could not load project from store.", e);
      }
    }
    return fetchedProject;
  }
678320
public <T> T get(Class<T> clazz, final String name)
	{
		JAXBNamedResourceFactory<T> cached = cachedReferences.get(name);

		if (cached == null)
		{
			cached = new JAXBNamedResourceFactory<T>(this.config, this.factory, name, clazz);
			cachedReferences.put(name, cached);
		}

		return cached.get();
	}
721414
public static Dimension get(final String _name)
        throws CacheReloadException
    {
        final Cache<String, Dimension> cache = InfinispanCache.get().<String, Dimension>getCache(Dimension.NAMECACHE);
        if (!cache.containsKey(_name)) {
            Dimension.getDimensionFromDB(Dimension.SQL_NAME, _name);
        }
        return cache.get(_name);
    }
1344914
public static Consortium get(final long _id)
        throws CacheReloadException
    {
        final Cache<Long, Consortium> cache = InfinispanCache.get().<Long, Consortium>getCache(Consortium.IDCACHE);
        if (!cache.containsKey(_id) && !Consortium.getConsortiumFromDB(Consortium.SQL_ID, _id)) {
            cache.put(_id, Consortium.NULL, 100, TimeUnit.SECONDS);
        }
        final Consortium ret = cache.get(_id);
        return ret.equals(Consortium.NULL) ? null : ret;
    }
940114
public static Store get(final String _name)
        throws CacheReloadException
    {
        final Cache<String, Store> cache = InfinispanCache.get().<String, Store>getCache(Store.NAMECACHE);
        if (!cache.containsKey(_name)) {
            Store.getStoreFromDB(CIDB.Store.Name, _name);
        }
        return cache.get(_name);
    }
214800
def get(self, name: str, sig: Tuple) -> Optional[object]:
        
        if name not in self._cache:
            return None
        if self._cache[name].sig != sig:
            del self._cache[name]
            self._update()
            return None
        with open(self._cache[name].loc, 'rb') as f:
            return pickle.load(f)
88888
public static AccessSet get(final String _name)
        throws CacheReloadException
    {
        final Cache<String, AccessSet> cache = InfinispanCache.get().<String, AccessSet>getCache(AccessSet.NAMECACHE);
        if (!cache.containsKey(_name)) {
            AccessSet.getAccessSetFromDB(AccessSet.SQL_NAME, _name);
        }
        return cache.get(_name);
    }
923402
public ICache getCache(String name) {
        return cacheFactory != null ? cacheFactory.createCache(name) : null;
    }
278999
public static Company get(final UUID _uuid)
        throws CacheReloadException
    {
        final Cache<UUID, Company> cache = InfinispanCache.get().<UUID, Company>getCache(Company.UUIDCACHE);
        if (!cache.containsKey(_uuid)) {
            Company.getCompanyFromDB(Company.SQL_UUID, String.valueOf(_uuid));
        }
        return cache.get(_uuid);
    }
447014
public static Cache getSyncCache(String name) {
		if (StrKit.isBlank(name) || !GlobalSyncRedis.caches.containsKey(name)) {
			return Redis.use();
		}
		return GlobalSyncRedis.caches.get(name);
	}
836786
public static JClass localForName(String name)
  {
    JClassLoaderWrapper jLoader = JClassLoaderWrapper.create();
    
    return jLoader.forName(name);
  }
801321
public static Form get(final String _name)
        throws CacheReloadException
    {
        return AbstractUserInterfaceObject.<Form>get(_name, Form.class, CIAdminUserInterface.Form.getType());
    }