Code examples for SynchronousQueue

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
66:	Entry e = queue.poll(); 
Full Snippet Info
7
CodeRank
46:	private static final ExecutorService _executorService = new ERXTaskThreadPoolExecutor(0, Integer.MAX_VALUE, 60L, 
47:	TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), new ERXTaskThreadFactory()); 
Full Snippet Info
7
CodeRank
194:	new SynchronousQueue<Runnable>(), 
Full Snippet Info
7
CodeRank
184:	return new SynchronousQueue<Runnable>(); 
Full Snippet Info
6
CodeRank
28:	return new ZoieThreadPoolExecutor(0, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, 
29:	new SynchronousQueue<Runnable>()); 
Full Snippet Info
6
CodeRank
17:	private SynchronousQueue<Handler> mHandlerQueue = new SynchronousQueue<Handler>(); 
-
40:	sHandler = lt.mHandlerQueue.take(); 
Full Snippet Info
6
CodeRank
41:	BlockingQueue<String> queue = new SynchronousQueue<>(); 
42:	(new Thread(new Producer(queue))).start(); 
43:	(new Thread(new Consumer(queue))).start(); 
Full Snippet Info
6
CodeRank
32:	mDataQueue.put("ERROR\n" + msg + "\n"); 
-
43:	String data = mDataQueue.poll(); 
-
51:	data = mDataQueue.take(); 
Full Snippet Info
6
CodeRank
211:	return new SynchronousQueue<Runnable>(); 
Full Snippet Info
6
CodeRank
33:	super(new SynchronousQueue<Message<?>>()); 
Full Snippet Info
6
CodeRank
50:	new SynchronousQueue<WebSocketConnection>(); 
Full Snippet Info
6
CodeRank
26:	private final BlockingQueue<FindBugsResult> findbugsResults = new SynchronousQueue<FindBugsResult>(); 
Full Snippet Info
6
CodeRank
32:	mDataQueue.put("ERROR\n" + msg + "\n"); 
-
43:	String data = mDataQueue.poll(); 
-
51:	data = mDataQueue.take(); 
Full Snippet Info
6
CodeRank
27:	private final BlockingQueue<PlayAppLifecycleUpdate> stopEvent = new SynchronousQueue<PlayAppLifecycleUpdate>(); 
Full Snippet Info
6
CodeRank
46:	private static final ExecutorService _executorService = new ERXTaskThreadPoolExecutor(0, Integer.MAX_VALUE, 60L, 
47:	TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), new ERXTaskThreadFactory()); 
Full Snippet Info
6
CodeRank
22:	SynchronousQueue<String> q = new SynchronousQueue<String>(); 
23:	q.add(tainted); 
-
25:	String taintedElement3 = q.poll(); 
Full Snippet Info
6
CodeRank
58:	inbound.put(task); 
Full Snippet Info
6
CodeRank
80:	workQueue = new SynchronousQueue<Runnable>(); 
-
86:	ThreadPoolExecutor answer = new RejectableThreadPoolExecutor(corePoolSize, maxPoolSize, keepAliveTime, timeUnit, workQueue); 
Full Snippet Info
6
CodeRank
32:	mDataQueue.put("ERROR\n" + msg + "\n"); 
-
43:	String data = mDataQueue.poll(); 
-
51:	data = mDataQueue.take(); 
Full Snippet Info
6
CodeRank
264:	new SynchronousQueue<Runnable>(), 
Full Snippet Info
6
CodeRank