|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.apama.epl.plugin.Correlator
public class Correlator
Static class to allow java plugins to interact with the correlator. This class must only be used from an EPL Java plugin. (Not from JMon)
Method Summary | |
---|---|
static void |
enqueue(java.lang.String evt)
Enqueues the supplied string to all public contexts. |
static void |
enqueueTo(java.lang.String evt,
Context c)
Enqueues the supplied string to the specified context. |
static void |
pluginMethodBlocking()
Methods declared as non-blocking can opt to block by calling this method. |
static void |
sendTo(java.lang.String evt,
Channel c)
Sends the supplied string to the specified Channel. |
static void |
sendTo(java.lang.String evt,
Context... c)
Sends the supplied string to the specified contexts. |
static void |
sendTo(java.lang.String evt,
Context c)
Sends the supplied string to the specified context. |
static void |
sendTo(java.lang.String evt,
java.lang.String channel)
Sends the supplied string to the specified channel name. |
static void |
subscribe(EventHandler handler,
java.lang.String... channels)
Subscribes a callback handler for events sent to the given channels. |
static void |
unsubscribe(EventHandler handler)
Unsubscribes a handler from all channels. |
static void |
unsubscribe(EventHandler handler,
java.lang.String... channels)
Unsubscribes a handler from some channels. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void enqueue(java.lang.String evt)
public static void enqueueTo(java.lang.String evt, Context c)
Context
,
Context.getCurrent()
public static void sendTo(java.lang.String evt, Context c)
Context
,
Context.getCurrent()
public static void sendTo(java.lang.String evt, java.lang.String channel)
public static void sendTo(java.lang.String evt, Channel c)
Channel
public static void sendTo(java.lang.String evt, Context... c)
Context
,
Context.getCurrent()
public static void subscribe(EventHandler handler, java.lang.String... channels)
public static void unsubscribe(EventHandler handler, java.lang.String... channels)
public static void unsubscribe(EventHandler handler)
public static void pluginMethodBlocking()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |