/** * {@inheritDoc} */ public boolean removeAll(Channel channel) { ChannelCreation creation = connectionTtlEnabled ? channel.attr(CHANNEL_CREATION_ATTRIBUTE_KEY).get() : null; return !isClosed.get() && creation != null && partitions.get(creation.partitionKey).remove(new IdleChannel(channel, Long.MIN_VALUE)); }
q = pendingQueries.iterator().next(); pendingQueries.remove(q); pendingContext.remove(q); harvestedContext.add(q); TwitterTimeline tl = TwitterScraper.search(q, Order.CREATED_AT, true, false, 400);
@Override public void finalizeReferent() { CACHE.remove(this); } }
public void removeObserver(NotificationObserver observer, int notificationId) { synchronized (observers) { if (observers.containsKey(notificationId)) { observers.get(notificationId).remove(observer); } } }
public void unregistFactory(P11ModuleFactory factory) { //might be null if dependency is optional if (factory == null) { LOG.info("unregistFactory invoked with null."); return; } if (factories.remove(factory)) { LOG.info("removed P11ModuleFactory binding for {}", factory); } else { LOG.info("no P11ModuleFactory binding found to remove for '{}'", factory); } }
public void unregistFactory(CertPublisherFactory factory) { //might be null if dependency is optional if (factory == null) { LOG.info("unregistFactory invoked with null."); return; } if (factories.remove(factory)) { LOG.info("removed CertPublisherFactory binding for {}", factory); } else { LOG.info("no CertPublisherFactory binding found to remove for {}", factory); } }
public void unregistFactory(CertprofileFactory factory) { //might be null if dependency is optional if (factory == null) { LOG.debug("unregistFactory invoked with null."); return; } if (factories.remove(factory)) { LOG.info("removed CertprofileFactory binding for {}", factory); } else { LOG.info("no CertprofileFactory binding found to remove for '{}'", factory); } }
public void unregistFactory(SignerFactory factory) { //might be null if dependency is optional if (factory == null) { LOG.info("unregistFactory invoked with null."); return; } if (factories.remove(factory)) { LOG.info("removed SignerFactory binding for {}", factory); } else { LOG.info("no SignerFactory binding found to remove for '{}'", factory); } }
public void unbindService(final AuditService service) { //might be null if dependency is optional if (service == null) { LOG.debug("unbindService invoked with null."); return; } if (services.remove(service)) { LOG.info("removed AuditService binding for {}", service); } else { LOG.info("no AuditService binding found to remove for '{}'", service); } }
public void unbindService(P11ModuleFactory service) { //might be null if dependency is optional if (service == null) { LOG.info("unbindService invoked with null."); return; } if (services.remove(service)) { LOG.info("removed P11ModuleFactory binding for {}", service); } else { LOG.info("no P11ModuleFactory binding found to remove for '{}'", service); } }
public void unbindService(final SignerFactory service) { //might be null if dependency is optional if (service == null) { LOG.info("unbindService invoked with null."); return; } if (services.remove(service)) { LOG.info("removed SignerFactory binding for {}", service); } else { LOG.info("no SignerFactory binding found to remove for '{}'", service); } }
public void registFactory(CertPublisherFactory factory) { //might be null if dependency is optional if (factory == null) { LOG.info("registFactory invoked with null."); return; } boolean replaced = factories.remove(factory); factories.add(factory); String action = replaced ? "replaced" : "added"; LOG.info("{} CertPublisherFactory binding for {}", action, factory); }
public void bindService(final OcspStoreFactory service) { //might be null if dependency is optional if (service == null) { LOG.info("bindService invoked with null."); return; } boolean replaced = services.remove(service); services.add(service); String action = replaced ? "replaced" : "added"; LOG.info("{} CertStatusStoreFactory binding for {}", action, service); }
public void registFactory(SignerFactory factory) { //might be null if dependency is optional if (factory == null) { LOG.info("registFactory invoked with null."); return; } boolean replaced = factories.remove(factory); factories.add(factory); String action = replaced ? "replaced" : "added"; LOG.info("{} SignerFactory binding for {}", action, factory); }
public void bindService(final SignerFactory service) { //might be null if dependency is optional if (service == null) { LOG.info("bindService invoked with null."); return; } boolean replaced = services.remove(service); services.add(service); String action = replaced ? "replaced" : "added"; LOG.info("{} SignerFactory binding for {}", action, service); }
public void bindService(P11ModuleFactory service) { //might be null if dependency is optional if (service == null) { LOG.info("bindService invoked with null."); return; } boolean replaced = services.remove(service); services.add(service); String action = replaced ? "replaced" : "added"; LOG.info("{} P11ModuleFactory binding for {}", action, service); }
public void registFactory(P11ModuleFactory factory) { //might be null if dependency is optional if (factory == null) { LOG.info("registFactory invoked with null."); return; } boolean replaced = factories.remove(factory); factories.add(factory); String action = replaced ? "replaced" : "added"; LOG.info("{} P11ModuleFactory binding for {}", action, factory); }
public final void setChunk(LocalChunk<T> chunk) { LocalChunk previous = this.blocks.put(chunk.longHash(), (LocalChunk) chunk); if (previous != null) { chunks.remove(previous); } chunks.add((LocalChunk) chunk); }
/** * remove component id from store * * @param id */ @Override public void remove(final String id) { getIds().remove(id); getOrderedIds().remove(id); }
@Override public void cancel() { for (Subscription upstreamPublisherSubscription : upstreamPublisherSubscriptions) { upstreamPublisherSubscription.cancel(); upstreamPublisherSubscriptions.remove(this); } upstreamPublishers.clear(); downstreamSubscriber = null; } });