My Oracle Support Banner

Deprecated Method GetActiveBatchThread from the AbstractThreadWorker class (Doc ID 2147502.1)

Last updated on SEPTEMBER 27, 2022

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.5.0.1.0 and later
Oracle Utilities Framework - Version 4.3.0.1.0 to 4.3.0.2.0 [Release 4.3]
Information in this document applies to any platform.

Goal

Deprecated method getActiveBatchThread

Per OUAF v4.2.0.0, com.splwg.base.api.batch.AbstractThreadWorker.getActiveBatchThread method is already deprecated. It did mention that the new method to use is com.splwg.base.api.batch.AbstractThreadWorker.getBatchThreadMBean. However, we can't find any methods on the ActiveBatchThreadMBean class which is being returned by getBatchThreadMBean to use in exchange of the following methods.

e.g.
getActiveBatchThread().getWorkUnitSizeThisRun()
getActiveBatchThread().getRecordsProcessed()
getActiveBatchThread().getRecordsInError()
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.