public final class SimpleCache extends Object
Note: we probably should use weak references, or something similar to limit maximum memory usage. This could be implemented in many ways, perhaps by using two areas: first, smaller one, with strong refs, and secondary bigger one that uses soft references.
| Modifier and Type | Field and Description |
|---|---|
protected com.ctc.wstx.util.SimpleCache.LimitMap |
mItems |
protected int |
mMaxSize |
| Constructor and Description |
|---|
SimpleCache(int maxSize) |
Copyright © 2012 Codehaus. All Rights Reserved.