]
Ryan Emerson commented on ISPN-7359:
------------------------------------
[~vblagojevic] I think it would still be a nice feature to have for CLI users and
obviously we can simplify the console code if it is ever implemented. I'll keep it
open but set the priority to optional. It could be a low-hanging fruit when we're
exposing other cache info in the future.
Allow cache statuses to be retrieved by profile at the container
level
----------------------------------------------------------------------
Key: ISPN-7359
URL:
https://issues.jboss.org/browse/ISPN-7359
Project: Infinispan
Issue Type: Enhancement
Components: JMX, reporting and management, Server
Affects Versions: 9.0.0.Beta1
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Optional
Currently to get the status of a cache, it's necessary to perform the following DMR
request on a host/server that contains the cache:
`/host=master/server=server-one/subsystem=datagrid-infinispan/cache-container=container/distributed-cache=default:read-attribute(name=cache-availability)`
This is acceptable when the status of only a few cache's is required, however this
can result in many management requests from the console etc if a container contains many
cache's. Therefore we should expose a method at the profile level, that retrieves the
status of all cache's within a given container. For example:
`profile=clustered/subsystem=datagrid-infinispan/cache-container=clustered:get-cache-statuses()`