Example usage for java.util.concurrent LinkedBlockingQueue subclass-usage

List of usage examples for java.util.concurrent LinkedBlockingQueue subclass-usage

Introduction

In this page you can find the example usage for java.util.concurrent LinkedBlockingQueue subclass-usage.

Usage

From source file org.jcurl.demo.tactics.HFBlockingQueue.java

/**
 * @author <a href="mailto:m@jcurl.org">M. Rohrmoser </a>
 * @version $Id$
 */
public class HFBlockingQueue<E> extends LinkedBlockingQueue<E> {

From source file org.sonar.server.search.IndexQueue.java

public class IndexQueue extends LinkedBlockingQueue<Runnable> implements ServerComponent, WorkQueue<IndexAction> {

    private static final Logger LOGGER = LoggerFactory.getLogger(IndexQueue.class);

    private static final Integer DEFAULT_QUEUE_SIZE = 200;
    private static final int TIMEOUT = 30000;

From source file org.wso2.carbon.event.publisher.core.internal.BlockingEventQueue.java

public class BlockingEventQueue extends LinkedBlockingQueue<EventPublisher.EventWrapper> {
    private static final Log log = LogFactory.getLog(BlockingEventQueue.class);
    private int maxSizeInBytes;
    private Semaphore semaphore;
    private AtomicInteger currentSize;
    private final Object lock;