com.ibm.events.emitter
Interface SynchronizationMode


public interface SynchronizationMode

Constants used to specify whether to send an event to the event bus synchronously or asynchronously.

Since:
5.1.0
Version:
1.11 2/10/05
See Also:
Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent), Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent, int, int)

Field Summary
static int ASYNCHRONOUS
          Indicates that events should be sent to the event server asynchronously.
static int DEFAULT
          Indicates that events should be sent to the event bus using the default SynchronizationMode defined for the emitter.
static int SYNCHRONOUS
          Indicates that events should be sent to the event bus synchronously.
 

Field Detail

SYNCHRONOUS

public static final int SYNCHRONOUS
Indicates that events should be sent to the event bus synchronously. This means that the event is persisted in the data store before returning control to the caller.

See Also:
Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent), Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent, int, int), Constant Field Values

ASYNCHRONOUS

public static final int ASYNCHRONOUS
Indicates that events should be sent to the event server asynchronously. This means that the caller has no knowledge of when an event will be persisted in the data store.

See Also:
Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent), Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent, int, int), Constant Field Values

DEFAULT

public static final int DEFAULT
Indicates that events should be sent to the event bus using the default SynchronizationMode defined for the emitter.

See Also:
Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent), Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent, int, int), Constant Field Values