comparison src/main/java/alice/daemon/CommandMessage.java @ 547:e91a574b69de dispose

remove index
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Tue, 18 Aug 2015 16:15:17 +0900
parents 4aeebea0c9b5
children
comparison
equal deleted inserted replaced
546:15eeb439830c 547:e91a574b69de
6 * DSのヘッダー 6 * DSのヘッダー
7 */ 7 */
8 @Message 8 @Message
9 public class CommandMessage { 9 public class CommandMessage {
10 public int type;//PUT, PEEKなどのコマンドタイプ 10 public int type;//PUT, PEEKなどのコマンドタイプ
11 public int index;//キューの中でのDSの位置?
12 public int seq;//DSの待ち合わせを行っているCSを表すunique number 11 public int seq;//DSの待ち合わせを行っているCSを表すunique number
13 public String key;//DS key 12 public String key;//DS key
14 public boolean quickFlag = false;//SEDAを挟まずに処理を行うかどうか 13 public boolean quickFlag = false;//SEDAを挟まずに処理を行うかどうか
15 public boolean serialized = false;//シリアライズされているかどうか 14 public boolean serialized = false;//シリアライズされているかどうか
16 public boolean compressed = false;//圧縮されているかどうか 15 public boolean compressed = false;//圧縮されているかどうか
20 public long time;//? 19 public long time;//?
21 public int depth;//? 20 public int depth;//?
22 21
23 public CommandMessage() {} 22 public CommandMessage() {}
24 23
25 public CommandMessage(int type, int index, int seq, String key 24 public CommandMessage(int type, int seq, String key
26 , boolean qFlag, boolean sFlag, boolean cFlag, int datasize) { 25 , boolean qFlag, boolean sFlag, boolean cFlag, int datasize) {
27 this.type = type; 26 this.type = type;
28 this.index = index;
29 this.seq = seq; 27 this.seq = seq;
30 this.key = key; 28 this.key = key;
31 this.quickFlag = qFlag; 29 this.quickFlag = qFlag;
32 this.serialized = sFlag; 30 this.serialized = sFlag;
33 this.compressed = cFlag; 31 this.compressed = cFlag;