All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.lettuce.core.KqueueProvider Maven / Gradle / Ivy

Go to download

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 kqueue classes. This is to protect the user from {@link ClassNotFoundException}'s caused by the absence of
 * the {@literal netty-transport-native-kqueue} library during runtime. Internal API.
 *
 * @author Mark Paluch
 * @since 4.4
 * @deprecated since 6.0, use {@link io.lettuce.core.resource.KqueueProvider} instead.
 */
@Deprecated
public class KqueueProvider {

    /**
     * @return {@code true} if kqueue is available.
     */
    public static boolean isAvailable() {
        return io.lettuce.core.resource.KqueueProvider.isAvailable();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy