Interface ManagedDirViewMBean

All Superinterfaces:
AbstractFileViewMBean, DirViewMBean, SelfEmailingMBean
All Known Implementing Classes:
EnigmaLogsDirViewer, JBossServerLogsDirViewer, LogsDirViewer, ManagedDirView, PsiInstallerDirViewer, SciInstallerDirViewer, ServletLogsDirViewer, WebServerLogsDirViewer

public interface ManagedDirViewMBean extends DirViewMBean
Allows viewing of selected contents of a selected directory and provides basic file maintenance functionality

Supported API: true

Extendable: true
  • Method Details

    • getMaintenanceFirstDelaySeconds

      int getMaintenanceFirstDelaySeconds()
      Delay, in seconds, prior to first file maintenance; when negative, the first delay will be MaintenanceIntervalDays days instead

      Supported API: true
    • setMaintenanceFirstDelaySeconds

      void setMaintenanceFirstDelaySeconds(int maintenanceFirstDelaySeconds)
      Delay, in seconds, prior to first file maintenance; when negative, the first delay will be MaintenanceIntervalDays days instead

      Supported API: true
    • getMaintenanceIntervalDays

      int getMaintenanceIntervalDays()
      File maintenance interval, in days; when zero or negative file maintenance is disabled

      Supported API: true
    • setMaintenanceIntervalDays

      void setMaintenanceIntervalDays(int maintenanceIntervalDays)
      File maintenance interval, in days; when zero or negative file maintenance is disabled

      Supported API: true
    • getMaintenanceAgeThresholdDays

      long getMaintenanceAgeThresholdDays()
      File age in days required for maintenance action to be invoked upon a file; when zero or negative file maintenance is invoked on all files

      Supported API: true
    • setMaintenanceAgeThresholdDays

      void setMaintenanceAgeThresholdDays(long maintenanceAgeThresholdDays)
      File age in days required for maintenance action to be invoked upon a file; when zero or negative file maintenance is invoked on all files

      Supported API: true
    • getReallyOldThresholdDays

      long getReallyOldThresholdDays()
      Age in days at which a file is considered to be "really" old; for use by MaintenanceActionClass implementations to take additional action for substantially older files.

      Supported API: true
    • setReallyOldThresholdDays

      void setReallyOldThresholdDays(long reallyOldThresholdDays)
      Age in days at which a file is considered to be "really" old; for use by MaintenanceActionClass implementations to take additional action for substantially older files.

      Supported API: true
    • getMaintenanceActionClass

      String getMaintenanceActionClass()
      Name of class to invoke on each file (and directory) during file maintenance; the class in question must implement wt.jmx.core.mbeans.FileVisitor and be thread safe; constructor taking a ManagedDirViewMBean will be tried, else no-arg constructor will be used

      Supported API: true
    • setMaintenanceActionClass

      void setMaintenanceActionClass(String maintenanceActionClass) throws ClassNotFoundException, IllegalAccessException, InstantiationException
      Name of class to invoke on each file (and directory) during file maintenance; the class in question must implement wt.jmx.core.mbeans.FileVisitor and be thread safe; constructor taking a ManagedDirViewMBean will be tried, else no-arg constructor will be used

      Supported API: true
      Throws:
      ClassNotFoundException
      IllegalAccessException
      InstantiationException
    • performMaintenance

      @MBeanOperationImpact(1) void performMaintenance()
      Immediate invoke file maintenance.

      Supported API: true