Class StaleBalanceReservationCleanupTool

java.lang.Object
oracle.communication.brm.charging.sdk.query.StaleBalanceReservationCleanupTool

public class StaleBalanceReservationCleanupTool extends Object
This tool scans balance caches to find reservations associated with stale reservations(non existent sessions) and either reports them in a csv file (PLAN mode) or removes them (ACT mode).
  • Constructor Details

    • StaleBalanceReservationCleanupTool

      public StaleBalanceReservationCleanupTool()
  • Method Details

    • loadApplicationConfiguration

      public void loadApplicationConfiguration()
      Loads application configuration from properties file
    • printLoadedConfiguration

      public void printLoadedConfiguration()
      Prints all loaded configuration properties for debugging
    • getSecureNamedCache

      public com.tangosol.net.NamedCache getSecureNamedCache(String cacheName)
      Retrieves a named cache with appropriate security handling
      Parameters:
      cacheName - Name of the cache to retrieve
      Returns:
      NamedCache instance
    • executeCleanupProcess

      public void executeCleanupProcess()
      Main execution method - coordinates the cleanup process
    • processBalanceCacheInParallel

      public void processBalanceCacheInParallel(com.tangosol.net.NamedCache balanceCache)
      Processes the balance cache using parallel threads
    • main

      public static void main(String[] args)
      Main entry point for the cleanup tool