Package | Description |
---|---|
org.modeshape.common.collection.ring |
A ring buffer and the components it uses internally.
|
org.modeshape.jcr.bus |
Modifier and Type | Method and Description |
---|---|
RingBufferBuilder<T,C> |
RingBufferBuilder.garbageCollect(boolean gcEntries) |
protected RingBufferBuilder<T,C> |
RingBufferBuilder.multipleProducers() |
RingBufferBuilder<T,C> |
RingBufferBuilder.named(String bufferName) |
RingBufferBuilder<T,C> |
RingBufferBuilder.ofSize(int bufferSize) |
protected RingBufferBuilder<T,C> |
RingBufferBuilder.singleProducer() |
RingBufferBuilder<T,C> |
RingBufferBuilder.waitUsing(WaitStrategy waitStrategy) |
static <T,C extends Consumer<T>> |
RingBufferBuilder.withMultipleProducers(Executor executor,
Class<T> entryClass)
|
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 extends Consumer<T>> |
RingBufferBuilder.withSingleProducer(Executor executor,
Class<T> entryClass)
|
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. |
Modifier and Type | Class and Description |
---|---|
class |
RepositoryRingBufferBuilder<T,C>
An extension to the
RingBufferBuilder which adds functionality required by the repository. |
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. |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.