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

Method getRankCacheTimeout

ZezeJava/ZezeJava/src/main/java/Zeze/Game/Rank.java:217–222  ·  view source on GitHub ↗
(int rankType)

Source from the content-addressed store, hash-verified

215 }
216
217 public final long getRankCacheTimeout(int rankType) {
218 var volatileTmp = funcRankCacheTimeout;
219 if (null != volatileTmp)
220 return volatileTmp.applyAsLong(rankType);
221 return 5 * 60 * 1000; // default
222 }
223
224 /**
225 * 排行榜中间数据的数量。【有默认值】

Callers 1

getRankTotalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected