redis.clients.util.IOUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis Show documentation
Show all versions of jedis Show documentation
Jedis Redis java client with some modifications to support new commands in YB Redis.
package redis.clients.util;
import java.io.IOException;
import java.net.Socket;
public class IOUtils {
private IOUtils() {
}
public static void closeQuietly(Socket sock) {
// It's same thing as Apache Commons - IOUtils.closeQuietly()
if (sock != null) {
try {
sock.close();
} catch (IOException e) {
// ignored
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy