Use Profiles administrative commands to control the operation of the full report-to chain cache.
Before you begin
To edit configuration files, you must use the wsadmin client. See Starting the wsadmin client
for information about how to start the wsadmin command-line tool.
About this task
Profiles uses an in-memory cache to support the organizational structure view available in every profile – the full report-to chain cache. If this cache is disabled, the reporting structure information is still available, but it displays more slowly.
To control cache operations for Profiles, complete the following steps.
- Start the wsadmin client from the following directory of the system on which you installed the deployment manager:
You must start the client from this directory or subsequent commands that you enter do not execute correctly. For more information, see Starting the wsadmin client.
- Start the Profiles Jython script interpreter.
- Use the following command to access the Profiles configuration files:
- Use the following commands to control cache operations.
ProfilesService.enableFullReportsToCache(startDelay, interval, schedTime) ProfilesService.disableFullReportsToCache()
Enables the full report-to chain cache with the specified start delay in minutes, refresh interval in minutes, and scheduled refresh time in HH:MM format.
This cache is used to populate the full report-to chain view available in a user's profile. The cache contains the specified number of top employees in the organizational pyramid; it is not intended to store an entry for each profile. It stores the profiles of those people at the top of the chain who are included in many full report-to chain views.
ProfilesService.enableFullReportsToCache(5, 15, "23:00")
Disables the full report-to chain cache capability. This command does not take any arguments.ProfilesService.reloadFullReportsToCache()
Forces a reload of the full report-to chain cache from the Profiles database. This command does not take any arguments.
Note: If the full report-to cache is disabled, it cannot be reloaded. This command fails when the cache is disabled.
Parent topic: Administering cache