public class ShrinkerThread
extends java.lang.Object
implements java.lang.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.
|
public void addDiskCacheToShrinkList(JDBCDiskCache diskCache)
diskCache - public void run()
run in interface java.lang.Runnablepublic void setPauseBetweenRegionCallsMillis(long pauseBetweenRegionCallsMillis)
pauseBetweenRegionCallsMillis - The pauseBetweenRegionCallsMillis to set.public long getPauseBetweenRegionCallsMillis()
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.