[
https://issues.redhat.com/browse/ISPN-12238?page=com.atlassian.jira.plugi...
]
Diego Lovison updated ISPN-12238:
---------------------------------
Description:
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,
"total_number_of_entries" : 4827,
"off_heap_memory_used" : 378000,
"data_memory_used" : 541056,
"stores" : 4827,
"retrievals" : 4830,
"hits" : 4759,
"misses" : 71,
"remove_hits" : 0,
"remove_misses" : 0,
"evictions" : 0,
"average_read_time" : 0,
"average_read_time_nanos" : 347614,
"average_write_time" : 2,
"average_write_time_nanos" : 2076623,
"average_remove_time" : 0,
"average_remove_time_nanos" : 0,
"required_minimum_number_of_nodes" : 2
}
[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? ( the first has the full output the others I
truncated )
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}
was:
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,
"total_number_of_entries" : 4827,
"off_heap_memory_used" : 378000,
"data_memory_used" : 541056,
"stores" : 4827,
"retrievals" : 4830,
"hits" : 4759,
"misses" : 71,
"remove_hits" : 0,
"remove_misses" : 0,
"evictions" : 0,
"average_read_time" : 0,
"average_read_time_nanos" : 347614,
"average_write_time" : 2,
"average_write_time_nanos" : 2076623,
"average_remove_time" : 0,
"average_remove_time_nanos" : 0,
"required_minimum_number_of_nodes" : 2
[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? ( the first has the full output the others I
truncated )
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}
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: 12.0.0.Dev02, 11.0.3.Final
Reporter: Diego Lovison
Priority: Major
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,
"total_number_of_entries" : 4827,
"off_heap_memory_used" : 378000,
"data_memory_used" : 541056,
"stores" : 4827,
"retrievals" : 4830,
"hits" : 4759,
"misses" : 71,
"remove_hits" : 0,
"remove_misses" : 0,
"evictions" : 0,
"average_read_time" : 0,
"average_read_time_nanos" : 347614,
"average_write_time" : 2,
"average_write_time_nanos" : 2076623,
"average_remove_time" : 0,
"average_remove_time_nanos" : 0,
"required_minimum_number_of_nodes" : 2
}
[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? ( the first has the full output the others I
truncated )
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)