Home

 

Controlling cache operations

Use Profiles administrative commands to control the operation of full report-to and mini report-to caches.

To edit configuration files, use wsadmin. See Start the wsadmin client for information about how to start the wsadmin command-line tool.


Profiles uses two in-memory caches to support the organizational structure views: the full reports-to cache and the mini reports-to cache. If these caches are disabled, the reporting structure information is available, but displays more slowly.

To control cache operations for Profiles...

  1. Start wsadmin so that you can access the Profiles configuration files.

    1. Access the Profiles configuration files:

  2. Use the following commands to control cache operations:


    Profiles cache operation commands

    Option Description
    ProfilesService.enableMiniReportsToCache(startDelay, interval, scheduledTime) Enables the mini reports-to 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 mini report-to chain view to the right of the business card in a profile. This cache contains one entry for every profile in the database. Every time this cache is loaded from the database, it is saved to the file system. This operation enables quick reloading of the cache when the Profiles application is restarted. Sample command:

      ProfilesService.enableMiniReports
       ToCache(5, 720, "23:30")
      

    ProfilesService.disableMiniReportsToCache() Disables the mini reports-to cache capability.Sample command:

      ProfilesService.disableMiniReportsToCache()
      

    ProfilesService.reloadMiniReportsToCache() Forces a reload of the cache from the Profiles database.

    If the mini reports-to cache is disabled, then it cannot be reloaded. This command fails when the cache is disabled. Sample command:

      ProfilesService.reloadMiniReportsToCache()
      

    ProfilesService.enableFullReportsToCache(startDelay, interval, schedTime) Enables the full reports-to 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 reports-to chain view available under the business card in a 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. Sample command:

      ProfilesService.enableFullReports
       ToCache(5, 1440, "23:00")
      

    ProfilesService.disableFullReportsToCache() Disables the full reports-to cache capability.Sample command:

      ProfilesService.disableFullReportsToCache()
      

    ProfilesService.reloadFullReportsToCache() Forces a reload of the cache from the Profiles database.

    If the full reports-to cache is disabled, it cannot be reloaded. This command fails when the cache is disabled. Sample command:

      ProfilesService.reloadFullReportsToCache()
      


Administer cache


+

Search Tips   |   Advanced Search