Uses of Class
org.kiwiproject.io.TimeBasedDirectoryCleaner
-
Packages that use TimeBasedDirectoryCleaner Package Description org.kiwiproject.dropwizard.config org.kiwiproject.dropwizard.metrics.health -
-
Uses of TimeBasedDirectoryCleaner in org.kiwiproject.dropwizard.config
Methods in org.kiwiproject.dropwizard.config that return TimeBasedDirectoryCleaner Modifier and Type Method Description TimeBasedDirectoryCleanerTimeBasedDirectoryCleanerConfig. scheduleCleanupUsing(io.dropwizard.setup.Environment environment)Schedules directory cleanup and registers aTimeBasedDirectoryCleanerHealthCheckhealth check using the givenEnvironment, returning theTimeBasedDirectoryCleanerinstance that was scheduled.TimeBasedDirectoryCleanerTimeBasedDirectoryCleanerConfig. scheduleCleanupUsing(ScheduledExecutorService cleanupExecutor)Schedules directory cleanup using the givenScheduledExecutorService, returning theTimeBasedDirectoryCleanerinstance that was scheduled. -
Uses of TimeBasedDirectoryCleaner in org.kiwiproject.dropwizard.metrics.health
Constructors in org.kiwiproject.dropwizard.metrics.health with parameters of type TimeBasedDirectoryCleaner Constructor Description TimeBasedDirectoryCleanerHealthCheck(TimeBasedDirectoryCleaner cleaner)Create with specifiedTimeBasedDirectoryCleanerand the default warning threshold.TimeBasedDirectoryCleanerHealthCheck(TimeBasedDirectoryCleaner cleaner, Duration warningThreshold)Create with the specifiedTimeBasedDirectoryCleanerand warning threshold.
-