public class ShrinkerThread extends Object implements Runnable
Modifier | Constructor and Description |
---|---|
protected |
ShrinkerThread()
Does nothing special.
|
Modifier and Type | Method and Description |
---|---|
void |
addDiskCacheToShrinkList(JDBCDiskCache<?,?> diskCache)
Adds a JDBC disk cache to the set of disk cache to shrink.
|
long |
getPauseBetweenRegionCallsMillis()
How long should we wait between calls to deleteExpired when we are iterating through the list
of regions.
|
void |
run()
Calls deleteExpired on each item in the set.
|
void |
setPauseBetweenRegionCallsMillis(long pauseBetweenRegionCallsMillis)
How long should we wait between calls to deleteExpired when we are iterating through the list
of regions.
|
protected ShrinkerThread()
public void addDiskCacheToShrinkList(JDBCDiskCache<?,?> diskCache)
diskCache
- public void run()
public void setPauseBetweenRegionCallsMillis(long pauseBetweenRegionCallsMillis)
pauseBetweenRegionCallsMillis
- The pauseBetweenRegionCallsMillis to set.public long getPauseBetweenRegionCallsMillis()
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.