Method | Description | |
---|---|---|
clearCache ( ) : void |
clears out the cache
|
|
free ( List obj ) : void |
pushes an item back on the stack
|
|
obtain ( ) : List |
pops an item off the stack if available creating a new item as necessary
|
|
trimCache ( int cacheCount ) : void |
trims the cache down to cacheCount items
|
|
warmCache ( int cacheCount ) : void |
warms up the cache filling it with a max of cacheCount objects
|
public static trimCache ( int cacheCount ) : void | ||
cacheCount | int | Cache count. |
return | void |
public static warmCache ( int cacheCount ) : void | ||
cacheCount | int | new cache count |
return | void |