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.
|
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.
|
protected IMonitoringEvent[] events
public BulkMonitoringEvent()
public BulkMonitoringEvent(IMonitoringEvent[] events)
public IComponentIdentifier getSourceIdentifier()
getSourceIdentifier
in interface IMonitoringEvent
public java.lang.String getSourceDescription()
getSourceDescription
in interface IMonitoringEvent
public long getSourceCreationTime()
getSourceCreationTime
in interface IMonitoringEvent
public java.lang.String getType()
getType
in interface IMonitoringEvent
public long getTime()
getTime
in interface IMonitoringEvent
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface IMonitoringEvent
name
- The property name.public java.util.Map<java.lang.String,java.lang.Object> getProperties()
getProperties
in interface IMonitoringEvent
name
- The property name.public IMonitoringService.PublishEventLevel getLevel()
getLevel
in interface IMonitoringEvent
public IMonitoringEvent[] getBulkEvents()
public void setBulkEvents(IMonitoringEvent[] events)
events
- The events to set.