Skip to content

Commit

Permalink
- Removed unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jul 19, 2023
1 parent 5e8c440 commit aa39012
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 306 deletions.
8 changes: 8 additions & 0 deletions src/org/jgroups/demos/RelayDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ protected boolean process(String line) {
System.out.printf("configured sites: %s\n", relay.getSites());
return true;
}
if(line.startsWith("tp")) { // topo-print
System.out.printf("\n%s\n", relay.topo().print());
return true;
}
if(line.startsWith("tc")) { // topo-clean
relay.topo().removeAll(null);
return true;
}
if(line.startsWith("topo")) {
String sub=line.substring("topo".length()).trim();
String site=null;
Expand Down
Loading

0 comments on commit aa39012

Please sign in to comment.