Use this command to clear all entities from the cache of
the repository adapter.
Purpose
Use the clearIdMgrRepositoryCache command
to clear all the entities from all of the caches of a specified repository
adapter or all repository adapters.
Avoid trouble: Frequent use of this command to clear the cache may result
in performance degradation. When the entire cache is cleared, the
subsequent operation has to get the details from the repository and
update the cache with this newly retrieved data; so the subsequent
operation takes longer to complete.
Syntax
clearIdMgrRepositoryCache { -id repositoryID [-securityDomainName domainName] }
Parameters
- -id repository_ID
- Use this parameter to specify the repository ID of the repository
adapter whose cache must be cleared. If you do not specify this parameter
all the caches of all of the repository adapters are cleared.
- -securityDomainName domainName
- Specifies the name that uniquely identifies the security domain.
If you do not specify this parameter, the command uses the global
federated repository.
Sample
To clear the repository cache, issue
this command:
$AdminTask clearIdMgrRepositoryCache {-id repository_ID}