com.ibm.websphere.smf
Interface SmfEventNotifier
-
public interface SmfEventNotifier
A WebSphere programming model extension which allows connectors or application components to be notified when the SMF related events occur in the server during runtime, such as the start and stop of the writing of SMF 120 Subtype 9 records.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
smf120Subtype9
Qualifier for an event relating to SMF 120 subtype 9static int
smfRecordingOffFor120Subtype
Event ID for when SMF 120 Recording turns offstatic int
smfRecordingOnFor120Subtype
Event ID for when SMF 120 Recording turns onstatic int
smfSt9AsyncSectionOff
Event ID for when the SMF 120-9 Async section turns offstatic int
smfSt9AsyncSectionOn
Event ID for when the SMF 120-9 Async section turns onstatic int
smfSt9CpuUsageSectionOff
Event ID for when the SMF 120-9 CPU Usage section turns offstatic int
smfSt9CpuUsageSectionOn
Event ID for when the SMF 120-9 CPU Usage section turns onstatic int
smfSt9SecuritySectionOff
Event ID for when the SMF 120-9 Security section turns offstatic int
smfSt9SecuritySectionOn
Event ID for when the SMF 120-9 Security section turns onstatic int
smfSt9TimestampsSectionOff
Event ID for when the SMF 120-9 Timestamps section turns offstatic int
smfSt9TimestampsSectionOn
Event ID for when the SMF 120-9 Timestamps section turns on
-
Method Summary
Methods Modifier and Type Method and Description void
eventOccurred(int eventId, int qualifier)
Called when a change has occurred in the SMF status of the server.java.lang.String
identifySelf()
Called for diagnostic purposes
-
-
-
Field Detail
-
smfRecordingOnFor120Subtype
static final int smfRecordingOnFor120Subtype
Event ID for when SMF 120 Recording turns on- See Also:
- Constant Field Values
-
smfRecordingOffFor120Subtype
static final int smfRecordingOffFor120Subtype
Event ID for when SMF 120 Recording turns off- See Also:
- Constant Field Values
-
smfSt9CpuUsageSectionOn
static final int smfSt9CpuUsageSectionOn
Event ID for when the SMF 120-9 CPU Usage section turns on- See Also:
- Constant Field Values
-
smfSt9CpuUsageSectionOff
static final int smfSt9CpuUsageSectionOff
Event ID for when the SMF 120-9 CPU Usage section turns off- See Also:
- Constant Field Values
-
smfSt9TimestampsSectionOn
static final int smfSt9TimestampsSectionOn
Event ID for when the SMF 120-9 Timestamps section turns on- See Also:
- Constant Field Values
-
smfSt9TimestampsSectionOff
static final int smfSt9TimestampsSectionOff
Event ID for when the SMF 120-9 Timestamps section turns off- See Also:
- Constant Field Values
-
smfSt9SecuritySectionOn
static final int smfSt9SecuritySectionOn
Event ID for when the SMF 120-9 Security section turns on- See Also:
- Constant Field Values
-
smfSt9SecuritySectionOff
static final int smfSt9SecuritySectionOff
Event ID for when the SMF 120-9 Security section turns off- See Also:
- Constant Field Values
-
smfSt9AsyncSectionOn
static final int smfSt9AsyncSectionOn
Event ID for when the SMF 120-9 Async section turns on- See Also:
- Constant Field Values
-
smfSt9AsyncSectionOff
static final int smfSt9AsyncSectionOff
Event ID for when the SMF 120-9 Async section turns off- See Also:
- Constant Field Values
-
smf120Subtype9
static final int smf120Subtype9
Qualifier for an event relating to SMF 120 subtype 9- See Also:
- Constant Field Values
-
-
Method Detail
-
eventOccurred
void eventOccurred(int eventId, int qualifier)
Called when a change has occurred in the SMF status of the server. eventOccurred is not called if the chnage is because of a setting in the workload classification document.- Parameters:
eventId
- identifies the event that has occurredqualifier
- further qualifies the event
-
identifySelf
java.lang.String identifySelf()
Called for diagnostic purposes- Returns:
- a String identifying the owner of the implementation of this interface
-
-