
io.dropwizard.redis.metrics.event.wrapper.VisitableConnectedEventWrapper 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.metrics.event.wrapper;
import io.dropwizard.redis.metrics.event.visitor.EventVisitor;
import io.lettuce.core.event.connection.ConnectedEvent;
import static java.util.Objects.requireNonNull;
public class VisitableConnectedEventWrapper implements VisitableEventWrapper {
private final ConnectedEvent event;
public VisitableConnectedEventWrapper(final ConnectedEvent event) {
this.event = requireNonNull(event);
}
@Override
public void accept(final EventVisitor visitor) {
visitor.visit(event);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy