com.apama.jmon
Class Correlator

java.lang.Object
  extended by com.apama.jmon.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
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


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG