Last Access and Last Update Times for objects in Cache

Hi,
     We are looking to implement Tangosol cache for our one of our critical J2EE systems and I am pretty new to it. One of the requirements is to know the following timings
     -Time when an object was put in a cache X (Last update of the object)
     -Time when an object was last accessed in the cache X (Last access time of an object)
     Is it possible to get these values through the Tangosol J2EE API?
     Thanks,
     ravi

Hi Ravi,
     You can use InvocationService to access this information - an example is attached.
     Regards,
     Dimitri<br><br> <b> Attachment: </b><br>DumpCache.java <br> (*To use this attachment you will need to rename 529.bin to DumpCache.java after the download is complete.)

Similar Messages

  • Recording a last updated time for each record in a table

    hi
    i have a table with 5 columns. and the table has 100 rows of data.
    i need to add a sixth column and this column should contain the last updated time of that particular row.
    i am allowed to use triggers.
    for example, if the 55th row undergoes a change, the 6th column's value for the 55th row should update itself with that particular time.
    can any one of you come up with an optimized solution for this please ???
    thanx a million in advance and best regards,
    novice DBA
    :)

    Hi,
    Here's an example:
    CREATE OR REPLACE TRIGGER table_x_biu
    BEFORE INSERT OR UPDATE ON table_x
    FOR EACH ROW
    BEGIN
         :NEW.modified_dt := SYSDATE;
    END     table_x_biu
    SHOW ERRORSwhere table_x is your table name, and modified_dt is the DATE column to be populated.
    You won't have to specify modified_dt in any INSERT or UPDATE statements. In fact, if you do, the value you give will be ignored, and the trigger will always substitute SYSDATE.
    WARNING: if you do get an error message, the line number reported will usually be relative to the first DECLARE or BEGIN statement in the trigger. For example, if I had mis-spelled SYSDATE in the example above, the error message would say there was a problem in line 2, not line 5.

  • How to get the last update time for a table ?

    I want to know the last change of the table data , for example, a record has been changed, how can i get that time?
    Regards,
    Lament

    Hello
    check the tables CDHDR & CDPOS
    But the condition when u r checking the these table.for a particular field the at data element level- futhur charactestictab level we have one check box called change document it as tick
    Thank u,
    santhosh

  • What exactly is the "last scan time" and "last update" time

    There was a topic last year about this confusion. Here shows the topic and the answers that you might be looking for :)
    Have a great day!
    -Isaac

    It is my understanding that the 'discovery scan' is just for the initial scan and then there is also an update scan that just checks for differences. 
    I have my remote collectors to search specific subnets and scan once a week. Ever since the initial scan they all show up during in the inventory. I see most of them being 'updated' in inventory according to the schedule and the timestamp but the "Last Scan Time" never changes. As such my not scanned in 30 days just continues to build up. The "Last Updated Time" gets updated correctly but nothing else.
    Is this normal behavior? It doesn't seem like it is considering the Not Scanned in 30 days group exists. It wouldn't make sense for that group to exist if there was no need for a "scan" if "updates" worked just fine.
    This topic first appeared in the Spiceworks Community

  • Sql statement for retrieving the last update time of a table

    Hello all,
    Can somebody give me an example of sql statement for retrieving the last update time of an oracle table.
    Thank you
    Il

    Thanks for the fast replies. It works great when I test it as a sql statement but when trying to populate a datalist with it it raises the following exception:
    Exception Details: System.ArgumentException: SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN is neither a DataColumn nor a DataRelation for table DefaultView
    Part of the Datalist Code:
    ItemTemplate>
    Line 12:             SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN)):
    Line 13:             <asp:Label ID="SCN_TO_TIMESTAMP_MAX_ORA_ROWSCN__Label" runat="server" Text='<%# Eval("[SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN))]") %>'>
    Line 14:             </asp:Label><br/>
    Line 15:             <br/>
    {code}
    Why is this happening? Any ideas?
    Il                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • RUEI 12.1.0.3.0 - Collectors Status Okay but Last Update time not updated

    Hi all,
    Under System > Status > Collectors Status
    Status shows OK but Last Update Time is not updated. The last update time is frozen.
    Anyone has a similar experience? Would someone help, please?
    Regards,
    Nathan

    Hi Nathan,
    that seems odd indeed. would not know the cause or any sensibl explaination unless I have system details, Can you pls file an SR for this issue and upload the helpdesk file to the SR?
    a helpdesk file is created under system >>maintenance>>helpdesk report
    It will create a zip file that we can read in support, see the events the system is capturing, analyze your configuration. That will allow us for very quick follow up. if you want me to track it internally at Oracle pls send me the SR# in a direct mail: [email protected] -- I'm the responsible product manager for RUEI so happy to follow up on this.
    R, jurgen

  • Last Scan Time vs Last Update Time

    All,
    I have been using SW to track my Server 2003 boxes as MS will be EOL of these next week. In my Inventory report I include Last Scan and Last Update.  As we migrate the boxes to Server 2012 - I had expected to see the 2003 Server OS drop off of the list but that is not happening. 
    I am getting current "Last Update" (7/13/2015) but the report still says the box has OS Server 2003 and I know it is Server 2012.
    What am I missing and the bigger question is - This is for servers only.  Do I have confidence that my PC inventory is reflecting the correct updates in my larger inventory?
    Any advice would be appreciated.
    This topic first appeared in the Spiceworks Community

    It is my understanding that the 'discovery scan' is just for the initial scan and then there is also an update scan that just checks for differences. 
    I have my remote collectors to search specific subnets and scan once a week. Ever since the initial scan they all show up during in the inventory. I see most of them being 'updated' in inventory according to the schedule and the timestamp but the "Last Scan Time" never changes. As such my not scanned in 30 days just continues to build up. The "Last Updated Time" gets updated correctly but nothing else.
    Is this normal behavior? It doesn't seem like it is considering the Not Scanned in 30 days group exists. It wouldn't make sense for that group to exist if there was no need for a "scan" if "updates" worked just fine.
    This topic first appeared in the Spiceworks Community

  • Last updated time of procedure

    Hi
    I want to know last updated time of a procedure.
    can any body tell me.
    thanks

    select last_ddl_time from all_objects where object_name = 'procedure_name' and object_type = 'PROCEDURE';

  • How to find out last update date for business partner's marketing attribute

    How to find out last update date for business partner's marketing attribute??
    Im freshie for SAP Application and im assigned to find out last update date for marketing attribute changed
    which table is involved??
    Yours kindness will be appreciated
    thanks

    You can take a look at table AUSP as well as CRMD_AUSP_HIST.
    The "changed by" and "changed at" are logged on attribute level, not on attribute value level. When you change one specific value, the system does a "re-insert" of all existing values of this attribute.
    Take a look at the SAP notes 938426 and 966670  these may assit you in resolving the issue.
    Regards,
    William Laverde

  • I have iphone 4s and i updated it for iso 6 , the icon passbook its not working what shall i do

    I have iphone 4s and i updated it for iso 6 , the icon passbook its not working what shall i do, please note that i live in united arab emirates

    Hae you tried to do a hard reset of your phone? This will not lose any data. Hold the sleep/wake button and the home button until the phone turns off ignoring any slide to power off messages. Then power the phone back on.

  • If I rent a movie and I later I decide that I want to buy it, Am I going to need to download it once for the rental and a second time for the purchase?

    I just wanted to know if I rent a movie and I later I decide that I want to buy it, Am I going to need to download it once for the rental and a second time for the purchase?

    You will need to redownload it - rentals expire and are deleted, either 30 days after renting it, or 48 hours (24 hours if you are in the US) after starting to watch it, whichever is the soonest.

  • On several of my apps my iPad 2 w/ IOS 4.3.3 said I needed to update the apps and the updates were for ios4.3.3 but now the apps don't work at all after updating.  They just flash on the screen but don't stay displayed.  What is going on?

    On several of my apps my iPad 2 w/ IOS 4.3.3 said I needed to update the apps and the updates were for IOS4.3.3 but when the update was complete the apps would no longer work.  They would just flash when I tapped the screen to bring them up but will stay displayed.  What is the problem?

    I Also have this problem!!
    In my situation, the screen simply started exhibiting the same symptoms a few weeks ago (early February) for no apparent reason.  At first I thought the screen was dead, but discovered the heat solution by accident.  Now I turn it on and keep it from going to sleep until I go to bed.  Thank goodness the battery is still awesome on this thing.
    I bought it new and still has the original screen, I keep it at home (never below 62 degrees).  Coincidentally, this happened a day or two after the expiration of the warranty!!  Any help figuring this one out would be eternally appreciated.
    iPad mini retina Wi-Fi, iOS 8.1.3

  • Insert multiple images in one slide and setting dsiplay time for each

    Hi,
    I am using Adobe Captivate4.
    I could not able to insert multiple images in one slide and set display time for each image.
    Need help in this regard.

    This is not about background image.
    I have 3 images and want to insert in one slide only. I could able to insert image1 for first time, but could not able to insert image2 and image3.
    I have followed the same steps: Insert Menu>Image.

  • Need to know how to find the last execution time for a function module

    HI all
    I need to know
    1) How to find out the last execution time of the function module ?
      say for eg. I have executed a func. module at 1:39pm. How to retrieve this time  (1:39pm)
    2) I have created 3 billing document in tcode VF01 i.e 3 billing doucment no. would be created in SAP TABLE "VBRP" b/w 12am to 12:30 am.
    How to capture the latest SAP database update b/w time intervals?
    3) Suppose I am downloading TXT file using "GUI_DOWNLOAD" and say in 20th record some error has happened. I can capture the error using the exception.
    Is it possible to run the program once again from 21st records ? All this will be running in background...
    Kindly clarify....
    Points will be rewarded
    Thanks in advance

    1.Use tcode STAT input as Tcode of Fm and execute .
    2. See the billing documents are created in table VBRk header and there will always be Creation date and time.
    VBRk-Erdat "date ., u can check the time field also
    So now if u talk the date and time we can filter then display the records in intervals.
    3. with an error exeption how is my txt download finished .
    once exception is raised there will not be a download .
    regards,
    vijay

  • Query to get last updated time of tables

    Hi,
    How to get the last updated date time of the Max DB table
    Regards,
    Satish

    Hi,
    Unfortunately, do not this this would be possible. Check this thread:
    MAXDB Audit logs
    Regards,
    Srikishan

Maybe you are looking for

  • IPod recognized on one PC, but not on another

    Hi! I just received a brand new iPod Click Wheel 20GB in exchange for my old one that had a hardware defect within the warranty period. When I tried to connect the device to PC1 (WinXP) which I had always used with the old iPod without any problems,

  • Help, my Mac mini will not start up, only keeps thinking on first page( white screen with apple emblem)

    Help, my Mac mini will not start properly. Only goes to the white screen with thinking. Will not go to the password section

  • How to create purchase reqisation using BAPI....?

    Hi Guru's, i have 100 purchase reqisation details in CSV file .. could you please any one of you ..which BAPI i have to use to create the purchase reqisation's.. please porvide any program logic realated to this that would be helpfull to me..if you h

  • IChat AV 3.1.9 can't video chat

    Hi... I haven't had any problem with iChat for years and all of sudden at the first week of August 2008, I can't video chat with my parents in Japan. I got this error message.... Date/Time: 2008-08-21 22:33:56.215 -0500 OS Version: 10.4.11 (Build 8S1

  • Having trouble getting a second panel to display

    My current project in java involves creating 2 JFrames. One frame to accept information from the user, and another frame to display the answer. I can't get the 2nd from to work properly without a ton of errors. After trimming out some of the code for