@Override
    public void delete(String key) {
        final String KEY = calcCacheKey(key);
        try {
            if (keyMode == KeyMode.HASH) {
                getJedis().hdel(getName(), KEY);
            } else {
                getJedis().del(KEY);
            }
        } catch (Exception e) {
            throw e instanceof CacheException ? (CacheException) e : new CacheException(e);
        }
    }
@Override
    public void delete(String key) {
        final String KEY = calcCacheKey(key);
        try {
            if (keyMode == KeyMode.HASH) {
                getJedis().hdel(getName(), KEY);
            } else {
                getJedis().del(KEY);
            }
        } catch (Exception e) {
            throw e instanceof CacheException ? (CacheException) e : new CacheException(e);
        }
    }
@ Override public void delete ( String key ) { final String KEY = calcCacheKey ( key ) ; try { if ( keyMode == KeyMode . HASH ) { getJedis ( ) . hdel ( getName ( ) , KEY ) ; } else { getJedis ( ) . del ( KEY ) ; } } catch ( Exception e ) { throw e instanceof CacheException ? ( CacheException ) e : new CacheException ( e ) ; } }
{@inheritDoc}
{