public class BulkMonitoringEvent extends java.lang.Object implements IMonitoringEvent
| Modifier and Type | Field and Description |
|---|---|
protected IMonitoringEvent[] |
events
The bulk events.
|
EVENT_TYPE_BULK, EVENT_TYPE_CREATION, EVENT_TYPE_DISPOSAL, EVENT_TYPE_MODIFICATION, EVENT_TYPE_OCCURRENCE, SOURCE_CATEGORY_ACTIVITY, SOURCE_CATEGORY_COMPONENT, SOURCE_CATEGORY_EXECUTION, SOURCE_CATEGORY_FACT, SOURCE_CATEGORY_GOAL, SOURCE_CATEGORY_IEVENT, SOURCE_CATEGORY_MESSAGE, SOURCE_CATEGORY_PLAN, SOURCE_CATEGORY_PROPERTY, SOURCE_CATEGORY_SERVICE, TERMINATION_FILTER, TYPE_COMPONENT_CREATED, TYPE_COMPONENT_DISPOSED, TYPE_PROPERTY_ADDED, TYPE_PROPERTY_REMOVED, TYPE_SERVICECALL_END, TYPE_SERVICECALL_START, TYPE_SUBSCRIPTION_START| Constructor and Description |
|---|
BulkMonitoringEvent() |
BulkMonitoringEvent(IMonitoringEvent[] events) |
| Modifier and Type | Method and Description |
|---|---|
IMonitoringEvent[] |
getBulkEvents()
Get the bulk events.
|
Cause |
getCause()
Get the cause.
|
IMonitoringService.PublishEventLevel |
getLevel()
Get the event importance.
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Get a property.
|
java.lang.Object |
getProperty(java.lang.String name)
Get a property.
|
long |
getSourceCreationTime()
Get the source creation time, i.e.
|
java.lang.String |
getSourceDescription()
Get the source description, e.g.
|
IComponentIdentifier |
getSourceIdentifier()
Get the caller.
|
long |
getTime()
Get the time.
|
java.lang.String |
getType()
Get the type.
|
void |
setBulkEvents(IMonitoringEvent[] events)
Set the events.
|
void |
setCause(Cause cause)
Set the cause.
|
protected IMonitoringEvent[] events
public BulkMonitoringEvent()
public BulkMonitoringEvent(IMonitoringEvent[] events)
public IComponentIdentifier getSourceIdentifier()
getSourceIdentifier in interface IMonitoringEventpublic java.lang.String getSourceDescription()
getSourceDescription in interface IMonitoringEventpublic long getSourceCreationTime()
getSourceCreationTime in interface IMonitoringEventpublic java.lang.String getType()
getType in interface IMonitoringEventpublic long getTime()
getTime in interface IMonitoringEventpublic Cause getCause()
getCause in interface IMonitoringEventpublic void setCause(Cause cause)
setCause in interface IMonitoringEventcause - The cause to set.public java.lang.Object getProperty(java.lang.String name)
getProperty in interface IMonitoringEventname - The property name.public java.util.Map<java.lang.String,java.lang.Object> getProperties()
getProperties in interface IMonitoringEventname - The property name.public IMonitoringService.PublishEventLevel getLevel()
getLevel in interface IMonitoringEventpublic IMonitoringEvent[] getBulkEvents()
public void setBulkEvents(IMonitoringEvent[] events)
events - The events to set.