| 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.
|
public void addDiskCacheToShrinkList(JDBCDiskCache<?,?> diskCache)
diskCache - public void run()
public void setPauseBetweenRegionCallsMillis(long pauseBetweenRegionCallsMillis)
pauseBetweenRegionCallsMillis - The pauseBetweenRegionCallsMillis to set.public long getPauseBetweenRegionCallsMillis()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.