Which API is invoked by coherence when a object meets it's expiry interval
Hi,
Need an Information about which API is invoked by Coherence Internally when an cached object meets it's expiry delay time or interval?
Will Coherence invokes CacheFactory. releaseCache(NamedCache map) API or CacheFactory.destroyCache()?
We need this details because we see increase in size(byte) of object and count as 0 in our JMX stats. expiry-delay is 10 sec.
Hi Jonathan,
Thanks a lot for the response. We've observed that cached objects size shrinks and it's sporadic and for expired cache objects we see increase in size of the object. We are using following code to calculate size of cache object in bytes.
import com.vladium.utils.ObjectProfiler;
* Returns the size of near cache
* @param cache
* @return size of near cache
int getSizeInBytes(){
NamedCache cache = CacheFactory.getCache(cacheName);
return ObjectProfiler.sizeof(((NearCache) cache)
.getFrontMap());
}
Similar Messages
-
Which Api..?
Hello everyone, as a newbie in xml, I would like your help :)
I would like to create an application, that allows a user to create/modify/save an xml file that follows a specific w3c xml-schema,not dtd (although if it gets much easier with dtd i will probably use that in the end). The user should be able to see the tree structure of the xml and to be able to navigate through it [in one frame(left)] and fill in values to the fields that he wants(e.g. add in the xml that "david" is the 'author') [in a second frame(right)]. Ideally, this should run on a web server, so that the user can create/modify/save the xml by visiting a webpage.
The procedure to do so (the way i have it in my mind right now) is this:
1)somehow parse my xml-sxhema and create a tree(?) data structure (on the memory(?)) that contains all the empty fields
2)present this structure to the user
3)when the user clicks on an a tree item [left frame], that has fields that can be filled, then I must find out(how?) which are these fields and present them to the user, to fill them in[right frame].
I have been searching on the subject on the web the last few days, but got myself really confused. I am not sure which API to use e.g. JAXB, JAXP, DOM, JDOM, SAX etc.Since random access of the xml is needed, will I need to create java classes that manipulate the xml file or a simple parser will be fine?
Which one would you recommend me to use and why? Please enlighten me :)
Thanx in advance, your help is greatlly appreciated!
-OrestisThe Price_Request procedure in the QP_PREQ_PUB package is the pricing engine API that is available for public use. However, you need to prepare data before and for calling this API. Here is a proposed structure
Qp_Attr_Mapping_Pub.Build_Contexts
...here you build the various data records (E.g. LINE_TBL_TYPE, CONTROL_RECORD_TYPE etc..)
QP_PREQ_PUB.PRICE_REQUEST -- to compute the price
I suggest you look at the price_line and price_order apis that order management uses. While these are not public apis, they will give you a sense for how to call the pricing engine.
Hope this helps.
Thanks.
Kannan -
Does resteasy API have class loader issues when using via OSGi
Does resteasy API have class loader issues when using via OSGi
Hi Scott,
THis isnt an answer to ur Question, but could u tell me which jar files are needed for the packages:
com.sap.portal.pcm.system.ISystems
com.sap.portal.pcm.system.ISystem
and under which path I coul dfind them.
Thnx
Regards
Meesum. -
Is there a way to tell which Java is invoked (without programming some diagnostic) when an applet is called? Also, I need to be able to switch between the MSJVM and Sun's JVM. How can I do that?
Thanks for any insight.Open the Java console -- at the top of the console should be displayed the JVM's version information.
There is a Java control panel installed by the Sun JVM, which allows you to enable or disable the Sun JVM within MSIE and Netscape Navigator. To get MSJVM, just disable the Sun JVM. -
HI Team, Recently One week back I bought a new iphone 5 from India. They have given me a used mobile which has a different IMEI number when compared to the IMEI number present on the box. Please let me know how to proceed further
When you went back to the place where you purchased this phone, & asked them, what did they say?
No one here can help you with this, nor can/will Apple. You need to take this up with whoever you purchased this phone from. -
I am trying to use sites on the internet which require Adobe Flash Player, and when I click for a free download it says that "it is not available for your device because of restrictions that Apple has put in place". Any suggestions on how to overcome this?
Flash is not, and probably never will be, supported on the iPad : http://www.apple.com/hotnews/thoughts-on-flash/ . Plus it would be up to Adobe to make a version of their flash player that works on iOS devices, something which they have never managed to do and which they have now given up on trying to do.
Browser apps such as Skyfire, iSwifter and Puffin 'work' on some sites, but judging by their reviews not all sites. Also some websites, especially news sites, have their own apps in the App Store, so your could try checking there for your sites (and there is the built-in YouTube app). -
My hard drive on my IMac died, so I have a new hard drive. I want to sync my Ipad(which has the files I lost when my old hard drive died) back with my IMac. How can I sync my Ipad with my new IMac hard drive without erasing my legacy files on the Ipad at the same time?
Copy everything from your backup copy of your cpomputer to your new hard drive.
-
I have Photoshop CS2 but my computer crashed on me which means I lost it..when I try to download it from adobe web site it stops at 173/340...is there anyway I can use my original CD and then use a different serial number
No, you have the web site version because this applies:
Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
The rest we cannot know. You have not provided any system information or details like what browser you use, so nobody can help you with your technical issues.
Mylenium -
Which API can use to save PDF document with Adobe Reader 9?
Hello,
which API can use to save PDF document with Adobe Reader 9? It is said that "CosDocSaveWithParams" can't be used.
thanks!
jimmyUnless the PDF file is "READER ENABLED for SAVE" (see the adobe product pages on LiveCycle Reader extensions server)
You are not able to call a Save at all, if the document is reader enabled then you need to use the JavaScript call to save the document,
As you appear to be wanting to do this in a plug-in you would need to call the script from a plug-in, this can be done using the AFExecuteThisScript () function call.
Please note that this does will fail if the document is not reader enabled for save and you need to include the Forms HFT in your plug-in,
This plug-in would also have to be approved by Adobe to be used with the reader and as you are implementing a function that is available in the full Acrobat product this may not be a straight forward approval.
HTH
Malky -
The MRP_ATP_PUB.Call_ATP api not retrieving requested_date_quantity value when executed in custom schema but when executed in apps its working fine, can anyone help on this..
We are passing the required values to the ATP API.
1) The x_return_status is showing as 'S' i.e. success but x_atp_rec.Requested_Date_Quantity is not returning any value.
2) If there is a grant issue how to identify it.
Regards,
Vinod AnnukaranPl do not post duplicates -0 MRP_ATP_PUB.Call_ATP api not retrieving requested_date_quantity value when executed in custom schema but when executed in apps its working fine, can anyone help on this..
-
well i m having an iphone 45 which i puchaes second hand ,well when i upgraded my phone to ios7 its asking me a paascode ,n my phone is disabled ,i never put a passcode ,,can anyone help . any solutios
Try this. turn it off > hold power and home button uuntil it says connect to itunes with the connect picture on it > then connect it to itunes > its gunna say you need to restore the iphone. download the software. hope it helps.
-
I am trying to make a signature in MS Word (2007) which includes a jpg image, but when I save it as a HTML file and attach it the text appers OK but the image doesn't. I have tried various formats but still no luck. Can anyone help? edit
C'mon! Anyone???? I'm desperate!
-
Which API can be used to write to an XML file(web.xml) programmatically
Hi,
I wish to write to the web.xml file programmatically.Could anyone point me to the
API that is to be used.
I am aware of the API to be used for extracting the node and the tag values - com.bea.p13n.xml.util.DomHelper
but this class has only getters and I wish to know which API should be used to set
the xml nodes.
It is important and am looking forward to pointers.
Thanks in advance!
Regards,
ShikhaS. Bajaj
org.w3c.dom Api
Deepak
shikha wrote:
Hi,
I wish to write to the web.xml file programmatically.Could anyone point me to the
API that is to be used.
I am aware of the API to be used for extracting the node and the tag values - com.bea.p13n.xml.util.DomHelper
but this class has only getters and I wish to know which API should be used to set
the xml nodes.
I am unable to find answer to this.
Looking forward to pointers and help.
Thanks in advance!
Regards,
Shikha -
Regarding where can I check logs to see which user ID did it and when
Hi,
In RSA1, if some one deletes the source system, where can I check logs to see which user ID did it and when.
Please help me..
Thanks.Hi,
Check if there is any job in sm37 with DEL ans user as *. Perhaps you may get some clue.
Bye
Dinesh -
Which API updates employee info
Hi,
we are working in oracle applications 11i
I need update /add existing employee info in PER_ALL_PEOPLE_F table . Especially EMAIL_ADDRESS column. I can see that we add or update email address from Office Details Tab in People -> Enter and Maintain form.
So which API can I use to update employee emails???
thank you...Hi,
this is a sample of updating Person API:
hr_person_api.update_person
(p_validate => FALSE
,p_effective_date => TRUNC(SYSDATE)
,p_datetrack_update_mode => 'CORRECTION'
,p_person_id => l_person_id
,p_object_version_number => l_object_version_number
,p_national_identifier => lcursor.national_id
,p_employee_number => l_employee_number
,p_effective_start_date => l_effective_start_date
,p_effective_end_date => l_effective_end_date
,p_full_name => l_full_name
,p_comment_id => l_comment_id
,p_name_combination_warning => l_name_combination_warning
,p_assign_payroll_warning => l_assign_payroll_warning
,p_orig_hire_warning => l_orig_hire_warning
regards,
taha
Maybe you are looking for
-
Incoming payment rows details in Crystal report
Hi Xperts I want to create Payment Advice print layout in Crystal Report. Can anybody tell me which table is related Incoming payment Row wise details in SAP. I need following Details in SAP (Row Details) Document No, Document Date, Document Total
-
Populating the segments of idocs
Hi, How do segments of the idoc get populated with data from SAP tables ? (for SAP standard idoc or newly created idoc and outbound process) Can anyone say in details? Good answer will be rewarded Thanks , Manas Behera
-
Need my user account to have sysdba rights. Can't get it to work.
Hi All, I have installed sql developer and i don't know how to change my user account to have system rights. when i try to login as sysdba i keep getting errors. I have tried a tutorial, the one were you're suppose to create an hr account but I can't
-
Disable Mouse and other Keys except Number and Directional keys in a screen
Hi all, Recently we have developed a sceen program as per the requirements of client who are used to enter meter readings using only Enter key. They used to give Enter key to give meter readings, date of meter reading, meter reading note and consumpt
-
Lynksys wag54g! help cannot get online
Having just got amini mac with airport extreme, I have connected to my exsisting wireless network which uses a lynksys wag54-G wireless router, but I am unable to connect to the internet on the mac My PC is still working fine online but the MAC just