Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6933

Gateway sender alert-threshold not working

    XMLWordPrintableJSON

    Details

      Description

      When alert-threshold function is activated in gateway senders (set alert-threshold to non zero value),

      event is never raised, for entries which are in queue longer than  alert-threshold value.

       

      Printout from logs:

      Monitor = GatewaySenderMXBeanMonitor descriptor = eventsExceedingAlertThreshold And value = 0

       

      It seams that reporting of events which exceed alert threshold (class AbstractGatewaySenderEventProcessor), is working only if dispatcher is instance of GatewaySenderEventCallbackDispatcher.

      With deeper analysis, I got to conclusion that for GatewaySender - dispatcher is instance of GatewaySenderEventRemoteDispatcher.

      So this function is only working for AsyncEventQueue, for which dispatcher is instance of GatewaySenderEventCallbackDispatcher.

       

      The other problem is that getEventsExceedingAlertThreshold() method of GatewaySenderMBean is always returning hardcoded value (0).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mivanac Mario Ivanac
                Reporter:
                mivanac Mario Ivanac
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h