MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / main

Method main

java/tests/multirepo/MultiRepoMaster.java:13–29  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

11public class MultiRepoMaster extends MultiRepoBase {
12
13 public static void main(String[] args) throws Exception {
14 setUp(args);
15 try {
16 // Master process initiates a write on DOMAIN1
17 MultiRepoWorker writer = createWorker(DOMAIN1_ID);
18 writer.write("Photography?");
19
20 MultiRepoWorker reader = createWorker(DOMAIN2_ID);
21 reader.read();
22
23 Thread.sleep(5000);
24 assert (reader.isRead());
25
26 } finally {
27 tearDown();
28 }
29 }
30}

Callers

nothing calls this directly

Calls 6

writeMethod · 0.95
readMethod · 0.95
isReadMethod · 0.95
createWorkerMethod · 0.80
setUpMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected