
io.lettuce.core.EpollProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lettuce-core Show documentation
Show all versions of lettuce-core Show documentation
Advanced and thread-safe Java Redis client for synchronous, asynchronous, and
reactive usage. Supports Cluster, Sentinel, Pipelining, Auto-Reconnect, Codecs
and much more.
The newest version!
package io.lettuce.core;
/**
* Wraps and provides Epoll classes. This is to protect the user from {@link ClassNotFoundException}'s caused by the absence of
* the {@literal netty-transport-native-epoll} library during runtime. Internal API.
*
* @author Mark Paluch
* @since 4.4
* @deprecated Use {@link io.lettuce.core.resource.EpollProvider} instead.
*/
@Deprecated
public class EpollProvider {
/**
* @return {@code true} if epoll is available.
*/
public static boolean isAvailable() {
return io.lettuce.core.resource.EpollProvider.isAvailable();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy