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

Method adjustTableConf

ZezeJava/ZezeJavaTest/src/demo/App.java:90–97  ·  view source on GitHub ↗
(Config.TableConf conf)

Source from the content-addressed store, hash-verified

88 }
89
90 private static void adjustTableConf(Config.TableConf conf) {
91 if (null != conf) {
92 if (conf.getRealCacheCapacity() < ABasicSimpleAddOneThread.AddCount) {
93 conf.setCacheCapacity(ABasicSimpleAddOneThread.AddCount);
94 conf.setCacheFactor(1.0f);
95 }
96 }
97 }
98
99 public ProviderApp providerApp;
100 private boolean started = false;

Callers 1

StartMethod · 0.95

Calls 3

getRealCacheCapacityMethod · 0.80
setCacheFactorMethod · 0.80
setCacheCapacityMethod · 0.45

Tested by

no test coverage detected