static void checkForEpollLibrary ( ) { LettuceAssert . assertState ( EPOLL_ENABLED , String . format ( "epoll use is disabled via System properties (%s)" , EPOLL_ENABLED_KEY ) ) ; LettuceAssert . assertState ( isAvailable ( ) , "netty-transport-native-epoll is not available. Make sure netty-transport-native-epoll library on the class path and supported by your operating system." ) ; }
Check whether the Epoll library is available on the class path .