]
Ryan Emerson closed ISPN-7359.
------------------------------
Resolution: Won't Do
Closing as a cache's status can be retrieved from all nodes via the following
command:
{code:java}
/host=*/server=*/subsystem=datagrid-infinispan/cache-container=container/distributed-cache=default:read-attribute(name=cache-availability)
{code}
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()`