List-Caches
Table of Contents
Lists all configured Hazelcast distributed caches.
Description
This command can be used to list the Hazelcast distributed caches configured in the corresponding target.
For each cache entry, a minimal amount of information is printed out.
Options
asadmin-options:
Options for the asadmin utility. For information about these options, see the asadmin help page.
--help:
-?:
Displays the help text for the subcommand.
--target:
This option helps specify the target on which you are executing this operation. Valid values are:
server;;
Applies to the default server instance. This is the default value.
instance_name;;
Applies to a specified server instance.
Examples
Example 1 Lists the Hazelcast distributed caches in the domain.
asadmin> list-caches
{
HZMap payara-instance-map hz:impl:mapService 4 entries
HZMap payara.instance.store hz:impl:mapService 2 entries
HZMap payara.micro.applications.store hz:impl:mapService 1 entries
}
Command list-caches executed successfully.