public class DisruptorBuilder<T> extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
com.lmax.disruptor.dsl.Disruptor<T> |
build() |
com.lmax.disruptor.EventFactory<T> |
getEventFactory() |
com.lmax.disruptor.dsl.ProducerType |
getProducerType() |
int |
getRingBufferSize() |
ThreadFactory |
getThreadFactory() |
com.lmax.disruptor.WaitStrategy |
getWaitStrategy() |
static <T> DisruptorBuilder<T> |
newInstance() |
DisruptorBuilder<T> |
setEventFactory(com.lmax.disruptor.EventFactory<T> eventFactory) |
DisruptorBuilder<T> |
setProducerType(com.lmax.disruptor.dsl.ProducerType producerType) |
DisruptorBuilder<T> |
setRingBufferSize(int ringBufferSize) |
DisruptorBuilder<T> |
setThreadFactory(ThreadFactory threadFactory) |
DisruptorBuilder<T> |
setWaitStrategy(com.lmax.disruptor.WaitStrategy waitStrategy) |
public static <T> DisruptorBuilder<T> newInstance()
public com.lmax.disruptor.EventFactory<T> getEventFactory()
public DisruptorBuilder<T> setEventFactory(com.lmax.disruptor.EventFactory<T> eventFactory)
public int getRingBufferSize()
public DisruptorBuilder<T> setRingBufferSize(int ringBufferSize)
public ThreadFactory getThreadFactory()
public DisruptorBuilder<T> setThreadFactory(ThreadFactory threadFactory)
public com.lmax.disruptor.dsl.ProducerType getProducerType()
public DisruptorBuilder<T> setProducerType(com.lmax.disruptor.dsl.ProducerType producerType)
public com.lmax.disruptor.WaitStrategy getWaitStrategy()
public DisruptorBuilder<T> setWaitStrategy(com.lmax.disruptor.WaitStrategy waitStrategy)
public com.lmax.disruptor.dsl.Disruptor<T> build()
Copyright © 2021. All rights reserved.