Class Correlator


  • public class Correlator
    extends java.lang.Object
    This class provides various utility methods related to the Apama Event Correlator, that can be invoked from within JMon applications. This class must only be used from JMon (not from EPL Java Plugins)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void enqueue​(java.lang.String event)
      Enqueue the stringified form of an event for processing.
      static double getCurrentTime()
      Get the current time from the Correlator, expressed as the number of seconds since the epoch.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCurrentTime

        public static double getCurrentTime()
        Get the current time from the Correlator, expressed as the number of seconds since the epoch. Note that the returned value does not necessarily bear any relation whatsoever to the current wall time.
        Returns:
        The Correlator's notion of the current time.
      • enqueue

        public static void enqueue​(java.lang.String event)
        Enqueue the stringified form of an event for processing.
        Parameters:
        event - The stringified event to be enqueued