All Superinterfaces:
HealthCenterData, NotificationBroadcaster, NotificationEmitter
All Known Implementing Classes:
IODataImpl

public interface IOData extends HealthCenterData
This class provides access to all the file input/output information that Health Center has monitored.
  • Field Details

    • FILEOPENEVENTSDATA

      static final String FILEOPENEVENTSDATA
      Used to get only File Open Events Data when comparing against NotificationListener.getUserData()
      See Also:
    • FILECLOSEEVENTSDATA

      static final String FILECLOSEEVENTSDATA
      Used to get only File Close Events Data when comparing against NotificationListener.getUserData()
      See Also:
    • OPENFILECOUNTDATA

      static final String OPENFILECOUNTDATA
      Used to get only Open File Count Data when comparing against NotificationListener.getUserData()
      See Also:
  • Method Details

    • getFileOpenEvents

      FileData[] getFileOpenEvents()
      Gets the open file events. NOTE If running in "event only" mode, this data will always return an empty array. This is because "event only" does not store any data to inquire on. Instead, you need to use the api calls to register listeners and get notification of when events occur
      Returns:
      an array of FileData objects, representing open file events.
    • getFileCloseEvents

      FileData[] getFileCloseEvents()
      Gets the close file events. NOTE If running in "event only" mode, this data will always return an empty array. This is because "event only" does not store any data to inquire on. Instead, you need to use the api calls to register listeners and get notification of when events occur
      Returns:
      an array of FileData objects, representing close file events.
    • getOpenFileCount

      CountData[] getOpenFileCount()
      Gets the number of open files over time. NOTE If running in "event only" mode, this data will always return an empty array. This is because "event only" does not store any data to inquire on. Instead, you need to use the api calls to register listeners and get notification of when events occur
      Returns:
      an array of CountData objects, for open files.
    • addFileListener

      void addFileListener(FileEventListener listener)
      Add a listener for notification of when file events occur
      Parameters:
      implementation - of the FileEventListener class
    • removeFileListener

      void removeFileListener(FileEventListener listener)
      Remove one of registered listeners.
      Parameters:
      implementation - of the FileEventListener class