Diego Lovison created ISPN-12238:
------------------------------------
Summary: Cli should support size command for the cache operation
Key: ISPN-12238
URL:
https://issues.redhat.com/browse/ISPN-12238
Project: Infinispan
Issue Type: Enhancement
Components: CLI
Affects Versions: 11.0.3.Final, 12.0.0.Dev02
Reporter: Diego Lovison
dist cache owners="2"
I have 3 nodes
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2695,
"time_since_reset" : 2695,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-1-11783@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2758,
"time_since_reset" : 2758,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-2-20579@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2825,
"time_since_reset" : 2825,
"current_number_of_entries" : 56,
"current_number_of_entries_in_memory" : 56,
{noformat}
How many entries I have in my cache?
cli should support size command
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> size
Command not found
{noformat}
The following rest call will return the size of the cache
{noformat}
GET /rest/v2/caches/{name}
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)