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

Last updated on JUNE 08, 2016

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.5.0.1.0 and later
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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms