IBM WebSphere Application ServerTM
Release 8

com.ibm.events.emitter
Interface SynchronizationMode


public interface SynchronizationMode

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

Since:
5.1.0
Version:
1.2 11/4/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 service asynchronously.
static int DEFAULT
          Indicates that events should be sent to the event service using the default SynchronizationMode defined for the emitter.
static int SYNCHRONOUS
          Indicates that events should be sent to the event service synchronously.
 

Field Detail

SYNCHRONOUS

static final int SYNCHRONOUS
Indicates that events should be sent to the event service 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

static final int ASYNCHRONOUS
Indicates that events should be sent to the event service 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

static final int DEFAULT
Indicates that events should be sent to the event service 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

IBM WebSphere Application ServerTM
Release 8