Hi,

I am trying to enable client side caching with geode using
CACHING_PROXY_HEAP_LRU region shortcut. However I am not sure how this sets
the threshold on the client side.
clientCache.createClientRegionFactory(ClientRegionShortcut.
CACHING_PROXY_HEAP_LRU)

  .setPoolName("Pool1")
  .create("Test");



I tried to enable fine level log on the client side and could see that
evictionThreshold is set to 80. Is it possible to change it on the client
side lets say to 60-50?




[debug 2020/07/14 19:00:52.996 IST <Distributed system shutdown hook>
tid=0xc] Removed Memory MXBean notification listenerHeapMemoryMonitor
[thresholds=MemoryThresholds@[2143571436 maxMemoryBytes:1789919232,
criticalThreshold:0.0, criticalThresholdBytes:0,
criticalThresholdClearBytes:-35798384, evictionThreshold:80.0,
evictionThresholdBytes:1431935385, evictionThresholdClearBytes:1396137000],
mostRecentEvent=MemoryEvent@548795052
[Member:xxxx(18348:loner):62075:c147854d,type:HEAP_MEMORY,previousState:DISABLED,state:CRITICAL_DISABLED,bytesUsed:6917096,isLocal:true,thresholds:MemoryThresholds@[2143571436
maxMemoryBytes:1789919232, criticalThreshold:0.0, criticalThresholdBytes:0,
criticalThresholdClearBytes:-35798384, evictionThreshold:80.0,
evictionThresholdBytes:1431935385,
evictionThresholdClearBytes:1396137000]], criticalToleranceCounter=0,
evictionToleranceCounter=0]


Thanks,

Ashish

Reply via email to