comparison src/main/java/alice/datasegment/RemoteDataSegmentManager.java @ 574:ea21af9a4762 dispose

delete serializeFlag, fix MessagePack pack&unpack
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Tue, 15 Dec 2015 11:49:07 +0900
parents 5a9b83c64ddf
children
comparison
equal deleted inserted replaced
570:b7cb1062828e 574:ea21af9a4762
90 take1(quickFlag, cmd); 90 take1(quickFlag, cmd);
91 } 91 }
92 92
93 public void take1(boolean quickFlag, Command cmd) { 93 public void take1(boolean quickFlag, Command cmd) {
94 int seq = this.seq.getAndIncrement(); 94 int seq = this.seq.getAndIncrement();
95 System.err.println("DataSegment take seq :" + seq); 95 //System.err.println("DataSegment take seq :" + seq);
96 cmd.setSeq(seq); 96 cmd.setSeq(seq);
97 seqHash.put(seq, cmd); 97 seqHash.put(seq, cmd);
98 cmd.setQuickFlag(quickFlag); 98 cmd.setQuickFlag(quickFlag);
99 if (quickFlag){ 99 if (quickFlag){
100 connection.write(cmd); 100 connection.write(cmd);