Mercurial > hg > Database > Alice
view src/alice/test/codesegment/local/StartCodeSegment.java @ 182:52a1fa5ba38b working
add filp api
author | e095732 |
---|---|
date | Tue, 26 Feb 2013 13:46:18 +0900 |
parents | d7816b9b72e9 |
children | a85ff8dc16c1 |
line wrap: on
line source
package alice.test.codesegment.local; import alice.codesegment.CodeSegment; public class StartCodeSegment extends CodeSegment { public static long t = 0; @Override public void run() { System.out.println("run StartCodeSegment"); /* TestCodeSegment cs = new TestCodeSegment(); cs.arg1.setKey("key1"); // unbound datasegment key1 is created and connect to cs. // cs is waiting for local.key1 ods.update("local", "key1", 0); // bind string data to datasegment local.key1 // this startup TestCodeSegment. */ t = System.currentTimeMillis(); ods.put("local", "key1", 0); //ods.put("local", "key1", 1); //ods.put("local", "key1", 2); //ods.put("local", "key1", 3); new TestCodeSegment(); //System.out.println("create TestCodeSegment"); //ods.update("local", "key1", 0); } }