Package wt.jmx.core.mbeans
Interface ManagedDirViewMBean
- All Superinterfaces:
AbstractFileViewMBean,DirViewMBean,SelfEmailingMBean
- All Known Implementing Classes:
EnigmaLogsDirViewer,JBossServerLogsDirViewer,LogsDirViewer,ManagedDirView,PsiInstallerDirViewer,SciInstallerDirViewer,ServletLogsDirViewer,WebServerLogsDirViewer
Allows viewing of selected contents of a selected directory and provides basic file maintenance functionality
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionName 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: truelongFile 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: trueintDelay, in seconds, prior to first file maintenance; when negative, the first delay will be MaintenanceIntervalDays days instead
Supported API: trueintFile maintenance interval, in days; when zero or negative file maintenance is disabled
Supported API: truelongAge 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.voidImmediate invoke file maintenance.voidsetMaintenanceActionClass(String maintenanceActionClass) 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: truevoidsetMaintenanceAgeThresholdDays(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: truevoidsetMaintenanceFirstDelaySeconds(int maintenanceFirstDelaySeconds) Delay, in seconds, prior to first file maintenance; when negative, the first delay will be MaintenanceIntervalDays days instead
Supported API: truevoidsetMaintenanceIntervalDays(int maintenanceIntervalDays) File maintenance interval, in days; when zero or negative file maintenance is disabled
Supported API: truevoidsetReallyOldThresholdDays(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.Methods inherited from interface wt.jmx.core.mbeans.AbstractFileViewMBean
getLastModifiedTime, getName, getPath, isExistsMethods inherited from interface wt.jmx.core.mbeans.DirViewMBean
emailFiles, emailFiles, emailFiles, getAllowGzip, getAllowNumericSuffixes, getFileAsGzippedBytes, getFileAsStreamingResult, getFileAsStreamingResult, getFileExtensions, getFileMatchingExpression, getFilesAsStreamingResult, getFilesAsStreamingResult, getFreeSpace, getLastModifiedTime, getPercentFreeSpace, getPercentUsableSpace, getTotalSpace, getUsableSpace, listFiles, listFiles, refresh, searchFiles, searchFiles, searchFiles, searchFiles, searchFilesAsMap, searchFilesAsMap, searchFilesAsMap, searchFilesAsMap, sendFilesToSupport, sendFilesToSupport, sendFilesToSupport, viewFile, viewFileMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
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 -
performMaintenance
Immediate invoke file maintenance.
Supported API: true
-