Cache Management

Cache categories

Cache category list defined in the oracle.iam.platform.utils.cache.Cache class as follows:

public static final String[] oracle.iam.platform.utils.cache.Cache.categories;
public static final List<String> oracle.iam.platform.utils.cache.Cache.categoriesList;

Note: you cannot reach these variables in client environment.

both hold the following list:

  1. DataObjectEventHandlers
  2. ProcessDefinition
  3. EmailDefinition
  4. LinguisticSort
  5. RuleDefinition
  6. LookupDefinition
  7. FormDefinition
  8. ColumnMap
  9. UserDefinedColumns
  10. ObjectDefinition
  11. NoNeedToFlush
  12. UserGroups
  13. MetaData
  14. LookupValues
  15. ITResourceKey
  16. AdapterInformation
  17. OrgnizationName
  18. RecordExists
  19. Reconciliation
  20. ServerProperties
  21. SystemProperties
  22. StoredProcAPI
  23. ColumnMetaData
  24. API
  25. CustomResourceBundle
  26. CustomDefaultBundle
  27. ConnectorResourceBundle
  28. GenericConnector
  29. GCProviders
  30. PluginFramework
  31. User
  32. UserConfig
  33. CallbackConfiguration
  34. OESDefinition
  35. SchedulerTaskDefinition
  36. UserStatus
  37. LocaleCodeLanguageMapping

Purge cache

to purge, say the MetaData cache:

OIMClient oimClient = getOIMClient();
PlatformUtilsService service = (PlatformUtilsService)oimClient.getService(PlatformUtilsService.class);
service.purgeCache("MetaData");

Links

  1. PlatformUtilsService Java API
  2. in Eric Fisher's blog
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License