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

Method undoBatch

ZezeJava/ZezeJava/src/main/java/Zeze/Dbh2/Dbh2Agent.java:97–102  ·  view source on GitHub ↗
(long tid)

Source from the content-addressed store, hash-verified

95 }
96
97 public TaskCompletionSource<RaftRpc<BBatchTid.Data, EmptyBean.Data>> undoBatch(long tid) {
98 var r = new UndoBatch();
99 r.Argument.setTid(tid);
100 r.setTimeout(config.getRpcTimeout());
101 return raftClient.sendForWait(r);
102 }
103
104 private void verifyFastFail() {
105 if (System.currentTimeMillis() - lastErrorTime < config.getServerFastErrorPeriod())

Callers 3

testDbh2Method · 0.45
applyMethod · 0.45
undoMethod · 0.45

Calls 4

setTimeoutMethod · 0.80
sendForWaitMethod · 0.80
setTidMethod · 0.45
getRpcTimeoutMethod · 0.45

Tested by 1

testDbh2Method · 0.36