
io.dropwizard.redis.event.DefaultEventLoopGroupProviderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-redis Show documentation
Show all versions of dropwizard-redis Show documentation
Provides easy integration for Dropwizard applications with Redis
The newest version!
package io.dropwizard.redis.event;
import com.fasterxml.jackson.annotation.JsonTypeName;
import io.lettuce.core.resource.DefaultEventLoopGroupProvider;
import io.lettuce.core.resource.EventLoopGroupProvider;
@JsonTypeName("default")
public class DefaultEventLoopGroupProviderFactory implements EventLoopGroupProviderFactory {
@Override
public EventLoopGroupProvider build(int threads) {
return new DefaultEventLoopGroupProvider(threads);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy