Receiving Events from all nodes

Hi
I have a cluster which contains n nodes.Each node contains a partitioned
cache service with a cache called CacheA. If an object is inserted it is inserted to any one
of the n nodes based upon some distribution algorithm and registered event listeners for that
particular cache are triggered on that node.
But is there a way to trigger an event in all n nodes irrespective of the physical location of insertion?
If so, how to go about it? Any documents or help regarding this will be helpful to me.
Thanks ,
Ramyaa.

Hi Mark,
AFAIK the guarantees for listeners are the following:
Listeners registered inside the TCMP cluster (full-fledged cluster nodes, not in an *Extend client):
- sychronous listeners (listeners implementing MapListenerSupport.SynchronousListener or those wrapped in MapListenerSupport.WrapperSynchronousListener) guaranteed to get notifications before the thread executing the triggering cache operation (if there was one) returns from the cache operation. I am not 100% sure, but I strongly believe that the cache operation returning also means that the synchronous listeners also completed, judging from the documentation of SynchronousListener, which would also mean that an ack for synchronous listeners is only sent back from the listener node once all synchronous listeners completed.
- asynchronous listeners are guaranteed to be notified but this notification will not be guaranteed to happen before the triggering cache operation completed
The only exception to that is if the listener node drops out of the cluster according to the owner of the entry which changed, or if the service for some reason dies on the listener node; about both you will get a notification so that you know that you are no more receiving events.
In both cases (sync/async) the entry owner notifies the node the listener is registered on, and I believe it will retry sending the event until it is ack-ed to be received. I don't know whether the ACK comes from the TCMP layer or from the particular service in the async case, I would guess the service.
The listener node will do duplicate detection on the delivered events per listener so that it will find out if it already invoked the listener once with the same event.
No transactions are provided for listeners, so even if an exception happens in a synchronous listener, it won't roll back the entry change.
For *Extend clients, I believe there are no guarantees for delivering events arriving while the client failed over after a broken connection.
For the staying connected case, and I don't know what the situation is, but I would expect synchronous listeners are not supported over *Extend, and async exactly one notification seems possible (again, while the client is connected), but I am not sure about this.
Best regards,
Robert

Similar Messages

  • With 10.7.2 update iCal does not allow you to set "Reminders" by draging events from "All Day Events" into "Reminders" is there another way to do this instead of having to type out the entire reminder with date, time, and type?

    With 10.7.2 update iCal does not allow you to set "Reminders" by draging events from "All Day Events" into "Reminders" is there another way to do this instead of having to type out the entire reminder with date, time, and type?
    With Lion 10.7.1. you where able to drag events from "All Day Events" into the "Reminders" bar to create upcoming reminders.

    Exactly the same question I was about to post!
    Great being able to sync reminders (well overdue) however if I have to re-type a calener envent into reminders it's a waste of time!! 
    Come on Apple!!
    Just need an option for the calender event to add to reminder or the old drag to add to reminder functionality back, Please???

  • Have downloaded Yosemite and lost my outgoing mail settings in the process. I can still receive email from all my mail accounts but cannot send any...

    I have downloaded Yosemite but lost my outgoing mail settings in the process. I can still receive mail from all my accounts but cannot send any...

    Open mail
    click on mail  on top
    click preferences
    click accounts tab
    scroll down to TLS Certificate
    click up & down arrow and select  (com.apple.idms.appleid  )
    It worked for me

  • Receiving events from event hub was blocked.

    In our Cloud Service project, we have 2 instances for work role (deploy to Azure), the work role is consume events from the EventHub using EventProcessorHost(host name is RoleInstance name).
    For sending events:
        var
    client = EventHubClient.CreateFromConnectionString(serviceBusConnectionString,
    hubName);
    while (true)
    var eventData =
    new
    EventData(Encoding.UTF8.GetBytes("test"))
    {PartitionKey = "key"};
                        eventData.Properties.Add("time",
    DateTime.UtcNow);
                    client.SendAsync(eventData).Wait();
                    Thread.Sleep(50);
    Each 50ms, we send one event (event1, 2,3 …….);
    For receiving data:    
     public
    async
    Task ProcessEventsAsync(PartitionContext
    context, IEnumerable<EventData>
    events)
                //when
    we get the event, so we can view the log
    Trace.WriteLine(“got events”);
    foreach (var
    eventData in events)
                    // handle the event
    Task.Delay(12000).Wait();
    await ContextCheckpointAsync(context);
    We add the
    delay for event operation.
    It seems that we cannot receive data in time from the log, seems event6 was blocked for the Event5 delay, after the 12ms, we can receive event6 from the EventHub, and the Event6
    delay is 40s(from the log, we send event6 to Hub at 35:10, but we get from Hub at 35:50),
    So I wonder to know the maximum number of threads are working on processing fot the EventProcessorHost? Depends on the Partitions?
    And is there any way to receiving events in time?

    Hi Jordan
    Since Task.Delay call blocks the callback, host won't hand over new events until you're done with the current batch. This is due to order guarantee of the events delivered, i.e. host should process the events in order from the same partition.
    If event process is taking so long then you should consider to move process job into a separate thread so host can deliver new batch of events while thread is working on the previous batch.

  • When I transferred the info from an old ipod, broken, to a new one the contacts I received were from all over the place, many whom I did not even know.  Can I only restore from the last sync or can I go back further to get my old contacts?

    I recently had to replace my ipod touch.  The old one had a broken button and would not change the screen correctly.  Apple gave me a new ipod and told me all I needed to do was update the new ipod from the itunes which I had backed up prior to getting the new one.  When I did the sync , the info for my contacts was giving me names and addresses from all over the place except the itunes.  Can I retrieve info from a previous sync or only to the last sync that was made?

    Yes I did.  When installing the new ipod it had to update the software, then it sync'ed the information onto the new ipod.  The contacts were not the original ones, and all the phone numbers have dissappeared.  Is there any way to recover them?

  • My iPod touch is struggling to receive iMessages from all devices.

    My iPod touch cannot receive iMessages from one of our iPhones. It works from 2 others any ideas? The iPhone sends it directly as mms when started as new message.

    Each device is set to receive at its own address. When I try to send iMessage to one iPod touch it works fine but to the other it says iMessage unavailable. When our other iPhone sends it to either iPod touch it works perfectly. My phone will not allow me start a new iMessage to either touch. They start as MMS. One device will allow me to reply to an iMessage with an iMessage but not the other one.

  • Can I change the Lion iCal Monthly View "New Event" from All Day?" Default?

    I have tried all the posted suggestions to change the iCal "new event" preferably in Monthly View from the default of "All Day" but to no avail. This is a current issue so old terminal changes do not seem to work. Anyone have the same issue?

    I also have an issue  with not being able to change  "end times". Four instance if I schedule an event at 9:00 AM iCal defaults to 10:00 AM. I'll click the end time to change it to 4:00 PM  and the time will not change. It defaults back to the same start time or one hour later. I can get the drop down list to appear, but the options are not enough to schedule anything over 3 hours.
    Nor can  change the "add day" default.
    I appreciate any advice/assistance you guys have.
    Thanks!

  • Can't receive events from outlook 2000

    When some people send me invites to meetings from outlook 2000 on a PC, I can drag the event to iCal and it installs fine. When others do it, it will not be added to iCal or do anything at all except cause me problems. Has anyone else had this problem. I assume it is something that is set up wrong on the users computer. But I don't know what or even have a clue. Do you?
    The Macs are using OSX 10.4.7. Not sure on the PC's as there are 2000 & XP machines everywhere.
    Hope you can help,
    Tim

    Problem is with
    the pc, or whom ever is providing her mail service
    or
    do you have your mail provider doing any spam filtering for you
    that would remove spam before delivery to your computer?
    Does your isp give you access to webmail.
    Send from there.
    Do her messages arrive?

  • '$GI_HOME/deinstall/deinstall -local' causes removal from all nodes

    Hi all,
    The following is my environment
    Oracle Software: Oracle 11.2.0.1 RAC
    OS Platform: SLES 11.1 x86_64
    # of Nodes: 4
    Use case: Remove single node from cluster
    I successfully removed the RAC database instance and software from one of the nodes, node 4. Now on that same node I'm trying to remove GI following the documented procedure. At the point where I need to run '$GI_HOME/deinstall/deinstall -local' it asks for information on all the other nodes, then when it is running, it prompts for running scripts on the other nodes. These scripts apparently deconfigure CRS which I found out a bit late since I ran it against one of the other nodes!
    So my questions are:
    1. How do I proceed to deinstall CRS on node 4 (node being removed)? It is still at the prompt asking me to press ENTER when all scripts have been run. I tried pressing ENTER a few times and it still asks so it appears to know that the scripts have not been run on the remote nodes??
    2. Has anyone have this happen to them and how do I proceed in future such that this does not happen?
    Thanks,
    Stuart.

    Its because it is still part of cluster.
    Try "http://www.oracledba.org/11g/rac/11g_RAC_Delete_Node.html"

  • Receiving events from buttons

    Hi,
    Heres my problem. I have a class called Display which extends the canvas. I also have my main applet class.
    Now what/where is the best place to add text area's for inputs? If i use my Display class I have to pass in Applet as a parm which I dont like.
    I need to know when things are typed so i can send the text down a socket.
    Can any1 help or suggust pointers/rules in this?
    Thanks

    Ok I have a class called CText which baiscally allows u to add text and then call draw(buffer) which uses drawstring to draw onto the canvas.
    I need to be able to create x instances of CText depending on information received on a socket.
    I receive the incoming socket events through my own custom interface which is on the canvas. Now is there any point putting buttons onto the canvas? Should I just add them in the main applet code? However I do need to know when the button has been pressed.
    Hope this makes it clearer

  • Can't pass event from WebDynPro to JspDynPage - why?

    I Created JSP project and embedded in main page script (in its title),
    which subscribes to event by EPCM API,
    EPCM.subscribeEvent("urn:ru.intertech.common.wd.component", "save",   go);
    and created WebDynPro page that fires event using, when pressing on some bution:
    WDPortalEventing.fire("urn:ru.intertech.common.wd.component", "save", navUrl);
    but first code newer receives that event...
    why so ?
    for test reason I tested firing EPCM event on same JSP page,
    and it was received,
    also
    I tested receiving Portal event  "urn:com.sapportals:navigation", "Navigate"
    it was received on same JSP page.
    both iViews is not URL isolated according their properties.
    WebDynPro package is:
    package ru.intertech.common.wd.component;
    note from else people expirence:
    Does it important that receiving and firing side must be in same package? as written there:
    https://www.sdn.sap.com/irj/scn/thread?messageID=462647
    "The problem was that I created the Sender Application in package "com.sender" and the Receiver Application in "com.receiver".
    I created them in the same package and it works."
    What means domain for JSP page or WspDynPro component?
    Does it important?
    =================
    JSP code is (changed script formattin to be able to post here, and removed else business content):
    [hbj_content  ]
      [hbj_page_title"]
      [script_type="text/javascript__"]
      //alert["title started"];
      //EPCM.subscribeEvent["urn:com.sapportals:navigation", "Navigate", eventHandlingFunctionName]; 
      //EPCM.subscribeEvent["urn:ru.intertech.navigation:epcm", "Navigate", eventHandlingFunctionName]; 
      //EPCM.subscribeEvent["urn:ru.intertech.navigation:epcm", "Navigate",   pop];   
      //EPCMP.subscribeEvent[ "urn:ru.intertech.navigation:epcm", "Navigate", window,"eventHandlingFunctionName"];
        EPCM.subscribeEvent["urn:ru.intertech.common.wd.component", "save",   go];
         EPCM.subscribeEvent["urn:com.sapportals:navigation", "Navigate", eventHandlingFunctionName]; 
         EPCMPROXY.subscribeEvent["urn:ru.intertech.common.wd.component", "save"  , window,   go];
      function eventHandlingFunctionName[ eventObj ]
         alert["title started=" + eventObj.sourceId + ": " + eventObj.dataObject  ];
      function go[ evt ]
         alert["go started=" ];
      </script>
       <hbj:form id="myFormId" >

    your reply is worth.
    what is the domains for views on one page?
    where to see it?
    Also, standard SAP MDM controls which we are using not working under any other browser except IE,
    I tested on FF and Google Chrome, they do not erform dynamic part of the controls.
    Despite this, debugging of scripts is important thing, so every piece is worth.
    One more detail:
    Also, two such a controls do not receive events from each other,
    but ony within self..
    why so ?
    Edited by: Vladimir Grigoryev on Jan 27, 2009 10:00 AM

  • Recieve hardware change events from kernel

    is it possible to receive events from the kernel pertaining to hardware. For example would it be possible to get a notification whenever the power button is pressed etc etc
    ps Ignore the "etc etc" I just added that for good measure, I'm mainly concerned with the power button

    http://developer.apple.com/mac/library/documentation/DeviceDrivers/Conceptual/IO KitFundamentals/PowerMgmt/PowerMgmt.html#//apple_ref/doc/uid/TP0000020-SW4

  • Not receiving texts from some contacts

    I have the Verizon Juke phone, and have been using the model for years. Recently, I had an issue on a previous Juke device where I was no longer receiving texts from particular contacts, while others were coming through. Everyone was able to receive my texts, however. The problem always happened between me and two or three others at the same time, so it had nothing to do with their personal phone settings. The texts from them to me would get backlogged without being delivered, then arrive en masse a week or two later all at once, and it was always random, without me fiddling around with phone settings or anything of the sort.
    I assumed that it was an issue with that Juke, so I bought a new one and activated it, but it did not fix the problem. I had to call Verizon support, and after about an hour of troubleshooting, they informed me that the only solution was to remove the texting feature from my phone, then reinstate it, ultimately losing every text that was stuck in backlog. Although I lost those texts, my phone regained its functionality. The solution worked for about a month, but recently it has returned, and I would like to have a permanent fix, so that I may always receive texts from all of my contacts. As I mentioned, it is a system issue, and it has nothing to do with others' iPhone settings or anything of the sort. Thanks!

        Hello Kalysm,
    I am so sorry you are experiencing these issues with your phone. I know it's upsetting to not get your message, especially when you've put effort into troubleshooting, and the issue continues. Just to make sure, do you have the area code programmed into your contacts for each of the people you've had issues with? The number should have the area code, but not have a 1 in front of it.
    If you've already confirmed the number is listed correctly, and the problem is persisting, our Technical Support team can file a network ticket to get this issue resolved once and for all. They can be reached at 800-922-0204.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Not receiving fax from one number only i have a officejet 4630

    I can receive faxes from all but one phone # it is not a blocked # and it worked fine untill about a week ago

    Dear cedarcreekapt,
    Please follow the steps of this document:
    http://support.hp.com/us-en/product/HP-Officejet-4​600-e-All-in-One-Printer-series/5305049/model/5305​...
    I hope you find it helpful.
    Greetings.
    * I am not an employee of HP, my work is voluntary.
    If this answer was helpful and clarify or resolve your problem, please mark the issue as resolved and click my star next to give a kudo as thanks.
    I am not an employee of HP, my work is voluntary. If this answer has been helpful and clarifies or solves your problem, please click the button
    and click on the icon if you want acknowledge the assistance.

  • How to get all events from calendar using calcalendar store framework.

    Hello,
    I have two problems with calcalendar store framework programming.
    1. I need all the event which are present in iCal calendar.Event may be present in year 2025 or 2050. and if the event is recurring then i need only one event.
    2. if the event is recurring then i need only one event within the calendar event predicates (start date and end date). I am not suppose to give the occurrence date for event.
    How can I implement this with CalCalendar store framework.
    Thanks And Regards,
    xmax.

    Hi,
    Per my knowledge, there is not a method to get all the recurring events using CAML query in one request.
    Here is a thread with the similar question for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/eed6be6d-c9ff-4d01-80de-8a4b67d3d7a5/use-caml-to-get-all-recurring-events-from-a-calendar
    We can get all the calendar list events at first, then filter all the recurring event from the result set.
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Exception While importing or unable to browse the xsd to a BPEL Project

    Dear All.., I am having an issue wjile importing the schema to a BPEL project. It says that unable to load the schema. Even When I try to choose the schema through edit variable option, and to mention the URI of schema location, on click of the searc

  • Issue with worksheet.Select(true) after hosting Excel window in WPF application

    The issue is with Office 2013. We are hosting excel workbook window in WPF application using HwndHost class. In overridden BuildWindowCore method of HwndHost class, we are creating a MDICLIENT Window and setting this MDICLIENT window handle as parent

  • Getting error while configuring OIM11gR2 on windows 64 bit machiine

    Hi, I am getting below error while configuring OIM 11gR2: INST-6193: The attribute JpsContextName in MBean com.oracle.sdp.messaging:Location=soa_server1, name=ServerConfig, type=SDPMessagingServerConfig,Application=usermessagingserver not found. Chec

  • How to close all alerts?

    Hello , when i open plug in and perform opration then alert window show. i want to close that alert on menu item click.how to close all alerts on button or menu item click?can any body help me?

  • Understanding Out of box security features

    Hi, We are in the process of understanding the capabilities of ATG security features - out of box. As far as cross-site scripting concerned, I read about two parameters (enforceSessionConfirmation and warnOnSessionConfirmationFailure) under /atg/dyna