com.ibm.websphere.smf

Interface SmfEventNotifier


  1. 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

Modifier and Type Field and Description
  1. static
  2. int
smf120Subtype9
Qualifier for an event relating to SMF 120 subtype 9
  1. static
  2. int
smfRecordingOffFor120Subtype
Event ID for when SMF 120 Recording turns off
  1. static
  2. int
smfRecordingOnFor120Subtype
Event ID for when SMF 120 Recording turns on
  1. static
  2. int
smfSt9AsyncSectionOff
Event ID for when the SMF 120-9 Async section turns off
  1. static
  2. int
smfSt9AsyncSectionOn
Event ID for when the SMF 120-9 Async section turns on
  1. static
  2. int
smfSt9CpuUsageSectionOff
Event ID for when the SMF 120-9 CPU Usage section turns off
  1. static
  2. int
smfSt9CpuUsageSectionOn
Event ID for when the SMF 120-9 CPU Usage section turns on
  1. static
  2. int
smfSt9SecuritySectionOff
Event ID for when the SMF 120-9 Security section turns off
  1. static
  2. int
smfSt9SecuritySectionOn
Event ID for when the SMF 120-9 Security section turns on
  1. static
  2. int
smfSt9TimestampsSectionOff
Event ID for when the SMF 120-9 Timestamps section turns off
  1. static
  2. int
smfSt9TimestampsSectionOn
Event ID for when the SMF 120-9 Timestamps section turns on

Method Summary

Modifier and Type Method and Description
  1. void
eventOccurred(int eventId,int qualifier)
Called when a change has occurred in the SMF status of the server.
  1. java.lang.String
identifySelf()
Called for diagnostic purposes

Field Detail

smfRecordingOnFor120Subtype

  1. static final int smfRecordingOnFor120Subtype
Event ID for when SMF 120 Recording turns on
See Also:

smfRecordingOffFor120Subtype

  1. static final int smfRecordingOffFor120Subtype
Event ID for when SMF 120 Recording turns off
See Also:

smfSt9CpuUsageSectionOn

  1. static final int smfSt9CpuUsageSectionOn
Event ID for when the SMF 120-9 CPU Usage section turns on
See Also:

smfSt9CpuUsageSectionOff

  1. static final int smfSt9CpuUsageSectionOff
Event ID for when the SMF 120-9 CPU Usage section turns off
See Also:

smfSt9TimestampsSectionOn

  1. static final int smfSt9TimestampsSectionOn
Event ID for when the SMF 120-9 Timestamps section turns on
See Also:

smfSt9TimestampsSectionOff

  1. static final int smfSt9TimestampsSectionOff
Event ID for when the SMF 120-9 Timestamps section turns off
See Also:

smfSt9SecuritySectionOn

  1. static final int smfSt9SecuritySectionOn
Event ID for when the SMF 120-9 Security section turns on
See Also:

smfSt9SecuritySectionOff

  1. static final int smfSt9SecuritySectionOff
Event ID for when the SMF 120-9 Security section turns off
See Also:

smfSt9AsyncSectionOn

  1. static final int smfSt9AsyncSectionOn
Event ID for when the SMF 120-9 Async section turns on
See Also:

smfSt9AsyncSectionOff

  1. static final int smfSt9AsyncSectionOff
Event ID for when the SMF 120-9 Async section turns off
See Also:

smf120Subtype9

  1. static final int smf120Subtype9
Qualifier for an event relating to SMF 120 subtype 9
See Also:

Method Detail

eventOccurred

  1. void eventOccurred(int eventId,
  2. 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 occurred
qualifier - further qualifies the event

identifySelf

  1. java.lang.String identifySelf()
Called for diagnostic purposes
Returns:
a String identifying the owner of the implementation of this interface