Mercurial > hg > Database > Alice
comparison src/main/java/alice/test/codesegment/remote/RemoteStartCodeSegment.java @ 647:e321c5ec9b58
fix toplogy manager; ring worked
author | suruga |
---|---|
date | Sun, 31 Dec 2017 19:32:27 +0900 |
parents | 646f705e65b1 |
children |
comparison
equal
deleted
inserted
replaced
646:3c060de44c2e | 647:e321c5ec9b58 |
---|---|
1 package alice.test.codesegment.remote; | 1 package alice.test.codesegment.remote; |
2 | 2 |
3 import alice.codesegment.CodeSegment; | 3 import alice.codesegment.CodeSegment; |
4 import org.msgpack.type.ValueFactory; | |
4 | 5 |
5 public class RemoteStartCodeSegment extends CodeSegment { | 6 public class RemoteStartCodeSegment extends CodeSegment { |
6 | 7 |
7 @Override | 8 @Override |
8 public void run() { | 9 public void run() { |
9 RemoteIncrement cs = new RemoteIncrement(); | 10 RemoteIncrement cs = new RemoteIncrement(); |
10 ods.put("compressedremote", "num", 0); | 11 ods.put("compressedremote", "num", 0); |
11 ods.put("num2",0); | 12 ods.put("num2",0); |
13 | |
14 ods.put("remote","null-value", ValueFactory.createNilValue()); | |
15 ods.put("remote-null-value", ValueFactory.createNilValue()); | |
16 | |
12 new RemoteIncrement1(); | 17 new RemoteIncrement1(); |
13 cs.num.setKey("compressedlocal", "num"); | |
14 } | 18 } |
15 } | 19 } |