Discussion
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Virtusa
IN
Last activity: 27 Apr 2016 10:46 EDT
"estimatePageDataSize" Java Method in Pega Private API "com.pega.pegarules.priv..."
Hi,
[Reference: https://pdn.pega.com/how-estimate-memory-required-pages
Private API function
The PegaAPI interface of com.pega.pegarules.priv includes a Java method estimatePageDataSize which, given a page as parameter, returns the size of the page. See the V4.1 PublicAPI Javadocs This method is for diagnostic purposes only, and in non-production environments only, as it depends on private Java classes and methods.
Note: Beginning with V4.2SP2 SmartBuild, Java classes in the "priv" package are not included in the PublicAPI Javadocs. Code in the "priv" packages is subject to change from release to release, without notice, and is intended to support rule-assembly generated Java and other internal capabilities. Use of private methods by Pega-supplied applications, frameworks, and/or customer configurations is NOT recommended because of upgrade considerations.]
I am trying to use the Java method "estimatePageDataSize" of "com.pega.pegarules.priv" API in the Java step of an activity rule.
As per the above article, the details of the Private API is given in the "V4.1 PublicAPI Javadocs". But I am not able to find this "V4.1 PublicAPI Javadocs" on the PDN.
I would like to know the following for the Method/function "estimatePageDataSize".
1. Complete Package name of this Private API (like com.pega.pegarules.priv.xxxxxx?)
2. Class name
3. Syntax of this method
4. Example
Or Somebody could provide/share the "V4.1 PublicAPI Javadocs".
I am working on the PRPC v6.3 SP1 currently.
Thanks in Advance.