public class ConcurrencyUtils extends Object
Constructor and Description |
---|
ConcurrencyUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
await(CyclicBarrier barrier) |
static <T,U extends T,V extends BlockingQueue<T>> |
put(V queue,
U value) |
static <T> T |
take(BlockingQueue<T> queue) |
public static <T,U extends T,V extends BlockingQueue<T>> void put(V queue, U value)
public static <T> T take(BlockingQueue<T> queue)
public static void await(CyclicBarrier barrier)
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.