Details
Description
To reproduce:
1. Change cache memory mode in CachePutGetExample to OFFHEAP_TIERED.
2. Run the example.
3. Connect with Visor and run cache -a command. See result below - number of entries is zero. With ONHEAP_TIERED it shows the correct cache size.
visor> cache -a Time of the snapshot: 02/25/16, 13:10:44 +==============================================================================================================+ | Name(@) | Mode | Nodes | Entries | Hits | Misses | Reads | Writes | +==============================================================================================================+ | CachePutGetExample(@c0) | PARTITIONED | 1 | min: 0 | min: 40 | min: 0 | min: 40 | min: 40 | | | | | avg: 0.00 | avg: 40.00 | avg: 0.00 | avg: 40.00 | avg: 40.00 | | | | | max: 0 | max: 40 | max: 0 | max: 40 | max: 40 | +--------------------------------------------------------------------------------------------------------------+