changing default constructor to use default host and port (localhost)

This commit is contained in:
Nykolas Lima
2014-09-27 13:37:42 -03:00
parent f065b80ab0
commit 833065b670
7 changed files with 47 additions and 37 deletions

View File

@@ -18,6 +18,7 @@ public final class Protocol {
private static final String ASK_RESPONSE = "ASK";
private static final String MOVED_RESPONSE = "MOVED";
private static final String CLUSTERDOWN_RESPONSE = "CLUSTERDOWN";
public static final String DEFAULT_HOST = "localhost";
public static final int DEFAULT_PORT = 6379;
public static final int DEFAULT_SENTINEL_PORT = 26379;
public static final int DEFAULT_TIMEOUT = 2000;