Package | Description |
---|---|
org.modeshape.common.collection.ring |
A ring buffer and the components it uses internally.
|
org.modeshape.jcr.bus |
Modifier and Type | Field and Description |
---|---|
protected RingBuffer.ConsumerAdapter<T,C> |
RingBuffer.consumerAdapter |
Modifier and Type | Method and Description |
---|---|
static <T,C> RingBufferBuilder<T,C> |
RingBufferBuilder.withMultipleProducers(Executor executor,
RingBuffer.ConsumerAdapter<T,C> adapter)
Create a builder for ring buffers that use the supplied
Executor to create consumer threads and the supplied
RingBuffer.ConsumerAdapter to adapt to custom consumer implementations. |
static <T,C> RingBufferBuilder<T,C> |
RingBufferBuilder.withSingleProducer(Executor executor,
RingBuffer.ConsumerAdapter<T,C> adapter)
Create a builder for ring buffers that use the supplied
Executor to create consumer threads and the supplied
RingBuffer.ConsumerAdapter to adapt to custom consumer implementations. |
Constructor and Description |
---|
RingBufferBuilder(Executor executor,
RingBuffer.ConsumerAdapter<T,C> adapter) |
Modifier and Type | Class and Description |
---|---|
protected class |
RepositoryChangeBus.ChangeSetListenerConsumerAdapter |
Modifier and Type | Method and Description |
---|---|
static <T,C> RingBufferBuilder<T,C> |
RepositoryRingBufferBuilder.withMultipleProducers(Executor executor,
RingBuffer.ConsumerAdapter<T,C> adapter,
RepositoryStatistics statistics)
Create a builder for ring buffers that use the supplied
Executor to create consumer threads and the supplied
RingBuffer.ConsumerAdapter to adapt to custom consumer implementations. |
Constructor and Description |
---|
RepositoryRingBufferBuilder(Executor executor,
RingBuffer.ConsumerAdapter<T,C> adapter,
RepositoryStatistics statistics) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.