public class ExpiringObjectStorageServiceSweeper extends TimerTask
StorageService
and removes expired entries.Constructor and Description |
---|
ExpiringObjectStorageServiceSweeper(Timer taskTimer,
long sweepInterval,
StorageService sweptStore)
Constructor.
|
ExpiringObjectStorageServiceSweeper(Timer taskTimer,
long sweepInterval,
StorageService sweptStore,
Set<String> sweptPartitions)
Constructor.
|
public ExpiringObjectStorageServiceSweeper(Timer taskTimer, long sweepInterval, StorageService sweptStore)
taskTimer
- timer that will sweep the given storage servicesweepInterval
- interval, in milliseconds, that the storage service will be sweptsweptStore
- storage service that will be sweptpublic ExpiringObjectStorageServiceSweeper(Timer taskTimer, long sweepInterval, StorageService sweptStore, Set<String> sweptPartitions)
taskTimer
- timer that will sweep the given storage servicesweepInterval
- interval, in milliseconds, that the storage service will be sweptsweptStore
- storage service that will be sweptsweptPartitions
- the partitions to sweep, if null or empty all partitions are sweptCopyright © 2006-2013 Internet2. All Rights Reserved.