5.4.2.3. 既存キャッシュの検査

既存のキャッシュを調べる管理 CLI コマンド

/core-service=management/security-realm=LDAPRealm/authentication=ldap/cache=by-access-time:read-resource(include-runtime=true)

{
  "outcome" => "success",
  "result" => {
    "cache-failures" => true,
    "cache-size" => 1,
    "eviction-time" => 300,
    "max-cache-size" => 100
  }
}

include-runtime 属性は、キャッシュ内の現在のアイテム数を表示する cache-size を追加します。上記の出力では 1 です。