MCPcopy Create free account
hub / github.com/e2wugui/zeze / shuffleRafts

Method shuffleRafts

ZezeJava/ZezeJava/src/main/java/Zeze/Raft/Test.java:563–565  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

561 }
562
563 private TestRaft[] shuffleRafts() {
564 return Random.shuffle(rafts.values().toArray(new TestRaft[rafts.size()]));
565 }
566
567 public static final class AddCount extends RaftRpc<EmptyBean, BCountResult> {
568 public static final int ProtocolId_ = Bean.hash32(AddCount.class.getName());

Callers 1

runTraceMethod · 0.95

Calls 4

shuffleMethod · 0.95
valuesMethod · 0.65
sizeMethod · 0.65
toArrayMethod · 0.45

Tested by

no test coverage detected