public class ExpiringObjectStorageServiceSweeper extends TimerTask
StorageService
and removes expired entries.Constructor and Description |
---|
ExpiringObjectStorageServiceSweeper(Timer taskTimer,
long interval,
StorageService sweptStore)
Constructor.
|
ExpiringObjectStorageServiceSweeper(Timer taskTimer,
long interval,
StorageService sweptStore,
Set<String> sweptPartitions)
Constructor.
|
public ExpiringObjectStorageServiceSweeper(Timer taskTimer, long interval, StorageService sweptStore)
taskTimer
- timer that will sweep the given storage serviceinterval
- interval, in milliseconds, that the storage service will be sweptsweptStore
- storage service that will be sweptpublic ExpiringObjectStorageServiceSweeper(Timer taskTimer, long interval, StorageService sweptStore, Set<String> sweptPartitions)
taskTimer
- timer that will sweep the given storage serviceinterval
- 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 © 2018 JBoss by Red Hat. All rights reserved.