Class StaleBalanceReservationCleanupTool
java.lang.Object
oracle.communication.brm.charging.sdk.query.StaleBalanceReservationCleanupTool
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMain execution method - coordinates the cleanup processcom.tangosol.net.NamedCachegetSecureNamedCache(String cacheName) Retrieves a named cache with appropriate security handlingvoidLoads application configuration from properties filestatic voidMain entry point for the cleanup toolvoidPrints all loaded configuration properties for debuggingvoidprocessBalanceCacheInParallel(com.tangosol.net.NamedCache balanceCache) Processes the balance cache using parallel threads
-
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
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
Main entry point for the cleanup tool
-