/** {@inheritDoc} */ @Override public byte[] remove(int hash, byte[] keyBytes) { return segmentFor(hash).remove(hash, keyBytes); }
/** * @param hash Hash. * @param keyBytes Key bytes. * @param p Value predicate. * @return {@code True} if value was removed. */ boolean removex(int hash, byte[] keyBytes, IgniteBiPredicate<Long, Integer> p) { return remove(hash, keyBytes, false, p) == EMPTY_BYTES; }
/** * @param hash Hash. * @param keyBytes Key bytes. * @return Removed value bytes. */ @SuppressWarnings("TooBroadScope") byte[] remove(int hash, byte[] keyBytes) { return remove(hash, keyBytes, true, null); }
/** * @param hash Hash. * @param keyBytes Key bytes. * @return {@code True} if value was removed. */ boolean removex(int hash, byte[] keyBytes) { return remove(hash, keyBytes, false, null) == EMPTY_BYTES; }
/** {@inheritDoc} */ @Override public byte[] remove(int hash, byte[] keyBytes) { return segmentFor(hash).remove(hash, keyBytes); }
/** * @param hash Hash. * @param keyBytes Key bytes. * @return {@code True} if value was removed. */ boolean removex(int hash, byte[] keyBytes) { return remove(hash, keyBytes, false, null) == EMPTY_BYTES; }
/** * @param hash Hash. * @param keyBytes Key bytes. * @return Removed value bytes. */ byte[] remove(int hash, byte[] keyBytes) { return remove(hash, keyBytes, true, null); }
/** * @param hash Hash. * @param keyBytes Key bytes. * @param p Value predicate. * @return {@code True} if value was removed. */ boolean removex(int hash, byte[] keyBytes, IgniteBiPredicate<Long, Integer> p) { return remove(hash, keyBytes, false, p) == EMPTY_BYTES; }