Class ClientResourcesFactory
- java.lang.Object
-
- io.dropwizard.redis.clientresources.ClientResourcesFactory
-
- All Implemented Interfaces:
io.dropwizard.jackson.Discoverable
- Direct Known Subclasses:
DefaultClientResourcesFactory
public abstract class ClientResourcesFactory extends Object implements io.dropwizard.jackson.Discoverable
-
-
Field Summary
Fields Modifier and Type Field Description protected @Valid @NotNull CommandLatencyRecorderFactorycommandLatencyRecorderprotected @jakarta.validation.constraints.Min(1L) intcomputationThreadsprotected @Valid @NotNull DelayFactorydelayprotected @Valid @NotNull EventBusFactoryeventBusFactoryprotected @Valid @NotNull EventExecutorGroupFactoryeventExecutorGroupprotected @Valid @NotNull EventLoopGroupProviderFactoryeventLoopGroupProviderprotected @Valid @NotNull EventPublisherOptionsFactoryeventPublisherOptionsprotected @jakarta.validation.constraints.Min(1L) intioThreads
-
Constructor Summary
Constructors Constructor Description ClientResourcesFactory()
-
Method Summary
-
-
-
Field Detail
-
commandLatencyRecorder
@Valid @NotNull protected @Valid @NotNull CommandLatencyRecorderFactory commandLatencyRecorder
-
eventPublisherOptions
@Valid @NotNull protected @Valid @NotNull EventPublisherOptionsFactory eventPublisherOptions
-
eventBusFactory
@Valid @NotNull protected @Valid @NotNull EventBusFactory eventBusFactory
-
eventExecutorGroup
@Valid @NotNull protected @Valid @NotNull EventExecutorGroupFactory eventExecutorGroup
-
eventLoopGroupProvider
@Valid @NotNull protected @Valid @NotNull EventLoopGroupProviderFactory eventLoopGroupProvider
-
computationThreads
@Min(1L) protected @jakarta.validation.constraints.Min(1L) int computationThreads
-
ioThreads
@Min(1L) protected @jakarta.validation.constraints.Min(1L) int ioThreads
-
delay
@Valid @NotNull protected @Valid @NotNull DelayFactory delay
-
-
Method Detail
-
getCommandLatencyRecorder
public CommandLatencyRecorderFactory getCommandLatencyRecorder()
-
setCommandLatencyRecorder
public void setCommandLatencyRecorder(CommandLatencyRecorderFactory commandLatencyRecorder)
-
getEventPublisherOptions
public EventPublisherOptionsFactory getEventPublisherOptions()
-
setEventPublisherOptions
public void setEventPublisherOptions(EventPublisherOptionsFactory eventPublisherOptions)
-
getEventBusFactory
public EventBusFactory getEventBusFactory()
-
setEventBusFactory
public void setEventBusFactory(EventBusFactory eventBusFactory)
-
getEventExecutorGroup
public EventExecutorGroupFactory getEventExecutorGroup()
-
setEventExecutorGroup
public void setEventExecutorGroup(EventExecutorGroupFactory eventExecutorGroup)
-
getEventLoopGroupProvider
public EventLoopGroupProviderFactory getEventLoopGroupProvider()
-
setEventLoopGroupProvider
public void setEventLoopGroupProvider(EventLoopGroupProviderFactory eventLoopGroupProvider)
-
getComputationThreads
public int getComputationThreads()
-
setComputationThreads
public void setComputationThreads(int computationThreads)
-
getIoThreads
public int getIoThreads()
-
setIoThreads
public void setIoThreads(int ioThreads)
-
getDelay
public DelayFactory getDelay()
-
setDelay
public void setDelay(DelayFactory delay)
-
build
public abstract io.lettuce.core.resource.ClientResources build(String name, com.codahale.metrics.MetricRegistry metrics, @Nullable brave.Tracing tracing)
-
-