WebSphere:*,type=EventAccess
MBean EventAccess
MBean defintion for interaction with event access
Operation Summary | |
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] | queryEventsByEventGroup( Query Events that are stored in the event infrastructure. |
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] | queryEventsByEventGroup( Query Events that are stored in the event infrastructure. |
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent | queryEventByGlobalInstanceId( Query Event by global instance ID that is stored in the event infrastructure. |
int | purgeEvents( Purge Events that are stored in the event infrastructure. |
Operation Detail |
public org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] queryEventsByEventGroup(java.lang.String eventGroup,
java.lang.String eventSelector,
java.lang.Boolean ascendingOrder,
java.lang.Integer maximumNumber
)
eventGroup
-
The name of the event group to query. This value cannot be null.eventSelector
-
An additional XPath expression that is appended to the event group selector. This value may be null if no additional selector is needed.ascendingOrder
-
Whether events are ordered in ascending or descending order with respect to creation time.maximumNumber
-
The maximum number of events to be returned from the event query.
public org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] queryEventsByEventGroup(java.lang.String eventGroup,
java.lang.String eventSelector,
java.lang.Boolean ascendingOrder
)
eventGroup
-
The name of the event group to query. This value cannot be null.eventSelector
-
An additional XPath expression that is appended to the event group selector. This value may be null if no additional selector is needed.ascendingOrder
-
Whether events are ordered in ascending or descending order with respect to creation time.
public org.eclipse.hyades.logging.events.cbe.CommonBaseEvent queryEventByGlobalInstanceId(java.lang.String globalInstanceId
)
globalInstanceId
-
The global instance ID of the event to query. This value cannot be null.
public int purgeEvents(java.lang.String eventGroup,
java.lang.String eventSelector,
java.lang.Integer transcationSize
)
eventGroup
-
The name of the event group that the events being purged belong to. This may be null if a specific event group is not being used.eventSelector
-
An additional event filter used to select which events will be purged from the database. This value may be null if no additional selector is needed.transcationSize
-
How many events to delete in a single database transaction. This value must be greater than 0.