ibmint clear cache command

Use the ibmint clear cache command to clear the contents of an embedded global cache map or multiple embedded global cache maps.

Supported platforms

  • Windows
  • Linux®
  • Linux on POWER®
  • Linux on Z
  • AIX®
  • IBM® z/OS® Container Extensions (zCX)

Purpose

Use the ibmint clear cache command to clear the contents of an embedded global cache map or multiple embedded global cache maps.

Syntax

Read syntax diagramSkip visual syntax diagramibmint display cache--integration-node<nodeName>--integration-server<serverName>--integration-node-file<filePath>--integration-server<serverName>--admin-uri<tcp://[<user>[:<password>]@]<host>:<port>>--admin-uri<tcp://[<user>[:<password>]@]<host>:<port>.>--integration-server<serverName>--admin-uri ssl://[<user>[:<password>]@]<host>:<port>>--admin-uri<ssl://[<user>[:<password>]@]<host>:<port>>--integration-server<serverName>--admin-host<host>--admin-port<port>--admin-host<host>--admin-port<port>--integration-server<serverName>--integration-node<nodeName>--https--cacertcertFile--cacert-passwordcacertPassword--insecure--no-https--map-name<mapName>  --trace<filePath>  --help 

Parameters

connectionSpec is one of the following options:

(a)
--integration-node nodeName--integration-server serverName
The name of a locally defined integration node, and the name of a server within it.
(b)
--integration-node-file filePath--integration-server serverName
A file with a .broker file extension that contains remote integration node connection parameters, and the name of a server within it.
(c)
--admin-uri URI
URI for a remote integration server in the form tcp://[<user>[:<password>]@]<host>:<port>.
(d)
--admin-uri URI--integration-server serverName
URI for a remote integration node in the form tcp://[<user>[:<password>]@]<host>:<port>, and the name of a server within it.
(e)
--admin-uri URI --cacert-password cacertPassword --insecure
URI for a remote integration server in the form ssl://[<user>[:<password>]@]<host>:<port>. Optionally followed by options for REST communications.
(f)
--admin-uri URI --integration-server serverName --cacert cacertFile --cacert-password cacertPassword --insecure
URI for a remote integration server in the form ssl://[<user>[:<password>]@]<host>:<port>. Optionally followed by options for REST communications.
(g)
--admin-host host admin-port port --https / --no-https --cacert cacertFile --cacert-password cacertPassword--insecure
The hostname or IP address, and the port number of a remote integration server. Optionally followed by options for REST communications.
(h)
--admin-uri URI--integration-server serverName --cacert cacertFile --cacert-password cacertPassword --insecure
The hostname or IP address, and the port number of a remote integration node, and the name of a server within it. 'integration-node' is optional for validation. Optionally followed by options for REST communications.
--https
(Optional) Specifies that HTTPS will be used for the connection to the integration node or server. If neither --https nor --no-https is specified, the connection is tried first with HTTPS and then without using HTTPS if the first attempt fails.
--no-https
(Optional) Specifies that HTTPS will not be used for the connection to the integration node or server. If neither --https nor --no-https is specified, the connection is tried first with HTTPS and then without using HTTPS if the first attempt fails.
--cacert cacertFile
(Optional) Specifies the path to the certificate file (in either PEM, P12, or JKS format) to be used to verify the integration node or server. If no cacert file is specified and default admin-ssl is enabled, the cacert file defaults to the default pem file for admin-ssl.
--cacert-password cacertPassword
(Optional) The password for password-protected cacert files.
--insecure
(Optional) Specifies that the certificate that is returned by the integration node or server will not be verified.
--map-name mapName
The name of the embedded global cache map to clear (can be specified multiple times for multiple maps).
--trace filePath
Send verbose internal trace to the specified file.
--help
Use this parameter to display help about the command.

Examples

Clear an embedded global cache map for an integration node:
ibmint clear cache --integration-node MY_NODE --integration-server default -map-name SYSTEM.BROKER.DEFAULTMAP
Clear multiple embedded global cache maps for an integration server
ibmint clear cache --integration-node MY_NODE --integration-server default --map-name SYSTEM.BROKER.DEFAULTMAP1 --map-name SYSTEM.BROKER.DEFAULTMAP2