public class ShrinkerThread<K,V> extends Object implements Runnable
Constructor and Description |
---|
ShrinkerThread(CompositeCache<K,V> cache)
Constructor for the ShrinkerThread object.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Main processing method for the ShrinkerThread object
|
protected void |
shrink()
This method is called when the thread wakes up.
|
public ShrinkerThread(CompositeCache<K,V> cache)
cache
- The MemoryCache which the new shrinker should watch.public void run()
protected void shrink()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.