-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProtocol.java
23 lines (23 loc) · 1.27 KB
/
Protocol.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
public class Protocol {
public static final String LIST = "LIST";
public static final String STORE = "STORE";
public static final String LOAD = "LOAD";
public static final String LOAD_DATA = "LOAD_DATA";
public static final String RELOAD = "RELOAD";
public static final String REMOVE = "REMOVE";
public static final String STORE_TO = "STORE_TO";
public static final String STORE_COMPLETE = "STORE_COMPLETE";
public static final String LOAD_FROM = "LOAD_FROM";
public static final String REMOVE_COMPLETE = "REMOVE_COMPLETE";
public static final String REBALANCE = "REBALANCE";
public static final String ERROR_FILE_DOES_NOT_EXIST = "ERROR_FILE_DOES_NOT_EXIST";
public static final String ERROR_FILE_ALREADY_EXISTS = "ERROR_FILE_ALREADY_EXISTS";
public static final String ERROR_NOT_ENOUGH_DSTORES = "ERROR_NOT_ENOUGH_DSTORES";
public static final String ERROR_LOAD = "ERROR_LOAD";
public static final String ACK = "ACK";
public static final String STORE_ACK = "STORE_ACK";
public static final String REMOVE_ACK = "REMOVE_ACK";
public static final String JOIN = "JOIN";
public static final String REBALANCE_STORE = "REBALANCE_STORE";
public static final String REBALANCE_COMPLETE = "REBALANCE_COMPLETE";
}