@SuppressFBWarnings("RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORE")
    private static void cacheAttributeType(final AttributeType _role)
    {
        final Cache<String, AttributeType> nameCache = InfinispanCache.get()
                        .<String, AttributeType>getIgnReCache(AttributeType.NAMECACHE);
        nameCache.putIfAbsent(_role.getName(), _role);

        final Cache<Long, AttributeType> idCache = InfinispanCache.get().<Long, AttributeType>getIgnReCache(
                        AttributeType.IDCACHE);
        idCache.putIfAbsent(_role.getId(), _role);
    }
@ SuppressFBWarnings ( "RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORE" ) private static void cacheAttributeType ( final AttributeType _role ) { final Cache < String , AttributeType > nameCache = InfinispanCache . get ( ) . < String , AttributeType > getIgnReCache ( AttributeType . NAMECACHE ) ; nameCache . putIfAbsent ( _role . getName ( ) , _role ) ; final Cache < Long , AttributeType > idCache = InfinispanCache . get ( ) . < Long , AttributeType > getIgnReCache ( AttributeType . IDCACHE ) ; idCache . putIfAbsent ( _role . getId ( ) , _role ) ; }
@param _role AttributeType to be cached