Class FileCachingHttpClientBuilder.StorageMaintenanceTask
java.lang.Object
java.util.TimerTask
net.shibboleth.utilities.java.support.httpclient.FileCachingHttpClientBuilder.StorageMaintenanceTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
- FileCachingHttpClientBuilder
private static class FileCachingHttpClientBuilder.StorageMaintenanceTask extends TimerTask
Scheduled task to manage an instance of
ManagedHttpCacheStorage
.-
Field Summary
-
Constructor Summary
Constructors Constructor Description StorageMaintenanceTask(org.apache.http.impl.client.cache.ManagedHttpCacheStorage managedStorage)
Constructor. -
Method Summary
Modifier and Type Method Description void
run()
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
log
private org.slf4j.Logger logLogger. -
storage
private org.apache.http.impl.client.cache.ManagedHttpCacheStorage storageThe managed cache storage instance.
-
-
Constructor Details
-
StorageMaintenanceTask
public StorageMaintenanceTask(@Nonnull org.apache.http.impl.client.cache.ManagedHttpCacheStorage managedStorage)Constructor.- Parameters:
managedStorage
- the managed cache storage instance
-
-
Method Details