java.util.concurrent.BlockingQueue.retainAll()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(110)

本文整理了Java中java.util.concurrent.BlockingQueue.retainAll()方法的一些代码示例,展示了BlockingQueue.retainAll()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。BlockingQueue.retainAll()方法的具体详情如下:
包路径:java.util.concurrent.BlockingQueue
类名称:BlockingQueue
方法名:retainAll

BlockingQueue.retainAll介绍

暂无

代码示例

代码示例来源:origin: apache/hbase

@Override
public boolean retainAll(Collection<?> elements) {
 return underlyingQueue.retainAll(elements);
}

代码示例来源:origin: co.cask.hbase/hbase

@Override
public boolean retainAll(Collection<?> elements) {
 return underlyingQueue.retainAll(elements);
}

代码示例来源:origin: com.mycila/mycila-pubsub

@Override
public boolean retainAll(Collection<?> c) {
  return delegate.retainAll(c);
}

代码示例来源:origin: org.apache.hbase/hbase-thrift

@Override
public boolean retainAll(Collection<?> elements) {
 return underlyingQueue.retainAll(elements);
}

代码示例来源:origin: smallnest/ZKRecipesByExample

@Override
public boolean retainAll(Collection<?> c) {
  return localInternalQueue.retainAll(c);
}

代码示例来源:origin: rsb/rsb

@Override
public boolean retainAll(
    @SuppressWarnings("PMD.ShortVariable") final Collection<?> c) {
  synchronized (this) {
    return this.queue.retainAll(c);
  }
}

代码示例来源:origin: org.deeplearning4j/deeplearning4j-nn

@Override
public boolean retainAll(Collection<?> c) {
  return backingQueue.retainAll(c);
}

代码示例来源:origin: com.aliyun.hbase/alihbase-thrift

@Override
public boolean retainAll(Collection<?> elements) {
 return underlyingQueue.retainAll(elements);
}

代码示例来源:origin: org.jboss.errai.io.netty/netty-transport-sctp

@Override
public boolean retainAll(Collection<?> c) {
  return queue.retainAll(c);
}

代码示例来源:origin: com.github.rholder/moar-concurrent

public boolean retainAll(Collection<?> c) {
  return blockingQueue.retainAll(c);
}

代码示例来源:origin: mycila/pubsub

@Override
public boolean retainAll(Collection<?> c) {
  return delegate.retainAll(c);
}

代码示例来源:origin: out0fmemory/GuozhongCrawler

public boolean retainAll(final Collection<?> c) {
  return queue.retainAll(c);
}

代码示例来源:origin: vidageek/crawler

public boolean retainAll(final Collection<?> c) {
  return queue.retainAll(c);
}

代码示例来源:origin: org.terracotta/product-upgradability-testing-utils

public boolean retainAll(Collection<?> c) {
 Lock l = lock.writeLock();
 l.lock();
 try {
 return backing.retainAll(c);
 } finally {
  l.unlock();
 }
}

代码示例来源:origin: org.opendaylight.aaa/aaa-authn

@Override
public boolean retainAll(Collection<?> c) {
  return queue.retainAll(fromData(c));
}

代码示例来源:origin: net.sf.jabb/jabb-core

@Override
public boolean retainAll(Collection<?> c) {
  boolean b = queue.retainAll(c);
  if (b){
    signalSizeReduced();
  }
  return b;
}

相关文章