Created
February 16, 2016 22:45
-
-
Save rsds143/529dcd2d2f95e1e1a2fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class KeepAlive{ | |
public static void main(String[] args){ | |
Cluster cluster = Cluster.builder().addContactPoint("foo") | |
.withSocketOptions(new SocketOptions().setKeepAlive(true)) | |
.build(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment