public static Type get(final UUID _uuid)
        throws CacheReloadException
    {
        final Cache<UUID, Type> cache = InfinispanCache.get().<UUID, Type>getCache(Type.UUIDCACHE);
        if (!cache.containsKey(_uuid)) {
            Type.getTypeFromDB(Type.SQL_UUID, _uuid.toString());
        }
        Type ret = cache.get(_uuid);
        if (ret != null && ret.isDirty()) {
            Type.LOG.debug("Recaching dirty Type for uuid: {}", ret);
            Type.cacheType(ret);
            ret = cache.get(_uuid);
        }
        return ret;
    }
public static Type get ( final UUID _uuid ) throws CacheReloadException { final Cache < UUID , Type > cache = InfinispanCache . get ( ) . < UUID , Type > getCache ( Type . UUIDCACHE ) ; if ( ! cache . containsKey ( _uuid ) ) { Type . getTypeFromDB ( Type . SQL_UUID , _uuid . toString ( ) ) ; } Type ret = cache . get ( _uuid ) ; if ( ret != null && ret . isDirty ( ) ) { Type . LOG . debug ( "Recaching dirty Type for uuid: {}" , ret ) ; Type . cacheType ( ret ) ; ret = cache . get ( _uuid ) ; } return ret ; }
Returns for given parameter <i>_uuid</i> the instance of class
{@link Type}.

@param _uuid uuid of the type to get
@return instance of class {@link Type}
@throws CacheReloadException on error