List of usage examples for io.netty.util.internal PlatformDependent newMpscQueue
public static <T> Queue<T> newMpscQueue()
From source file:com.addthis.hydra.query.FileRefSource.java
License:Apache License
FileRefSource(ChannelMaster master) { super(master); this.references = PlatformDependent.newMpscQueue(); this.semaphore = new StampedLock(); // throw away a writeLock so that we can immediately park the consumer this.semaphore.writeLock(); this.shortCircuited = false; }