
io.dropwizard.redis.event.DefaultEventBusFactory 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.event.DefaultEventBus;
import io.lettuce.core.event.EventBus;
import reactor.core.scheduler.Scheduler;
@JsonTypeName("default")
public class DefaultEventBusFactory implements EventBusFactory {
@Override
public EventBus build(final Scheduler scheduler) {
return new DefaultEventBus(scheduler);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy