public void unset(String key) { configuration.removeAll(key); }
public void unset(String key) { configuration.removeAll(key); }
public void unset(String key) { configuration.removeAll(key); }
@Override public Collection<V> remove(@Nullable Object key) { Collection<V> collection = removeAll(key); return collection.isEmpty() ? null : collection; } };
@Override public Collection<V> remove(@Nullable Object key) { Collection<V> collection = removeAll(key); return collection.isEmpty() ? null : collection; } };
@Override public Collection<V> remove(@Nullable Object key) { Collection<V> collection = removeAll(key); return collection.isEmpty() ? null : collection; } };
@Override public Collection<V> remove(@Nullable Object key) { Collection<V> collection = removeAll(key); return collection.isEmpty() ? null : collection; } };
public TupleInfo remove(String key) { List<TupleInfo> expired = buffer.removeAll(key); if (expired==null || expired.isEmpty()) return null; return expired.get(0); // 'expired' will have only one element due to dedup } } // class JoinInfo
@Override public Collection<V> remove(@Nullable Object key) { Collection<V> collection = removeAll(key); return collection.isEmpty() ? null : collection; } };
@Override public void putParameter(final String key, final Object val) { // Try remapping MetadataDictionary dict = null; try { dict = MetadataDictionary.lookup(); } catch (NamespaceException ex) { // Remapping not enabled } final String n = dict != null ? dict.map(key) : key; this.parameters.removeAll(n); if (val instanceof Iterable) { this.parameters.putAll(n, (Iterable<?>) val); } else { this.parameters.put(n, val); } }
} else { if (!conditionalFailed) { waitingAppends.removeAll(append.getWriterId()); latestEventNumbers.remove(Pair.of(append.getSegment(), append.getWriterId()));