| Modifier and Type | Field and Description |
|---|---|
| private WebResourceRoot. | |
| private LongAdder | |
| private static final Log | |
| private LongAdder | |
| private long | |
| private static final int | |
| private int | |
| private final ConcurrentMap | |
| private final StandardRoot | |
| private final AtomicLong | |
| protected static final StringManager | |
| private static final long | |
| private static final long | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | |
| pack-priv void | |
| private long | |
| public WebResourceRoot. | |
| public long | |
| public long | |
| public long | |
| public int | |
| public int | |
| protected WebResource | |
| protected WebResource[] | |
| public long | |
| public long | |
| private boolean | |
| pack-priv void | |
| public void | |
| public void | |
| public void | |
| public void |
| cacheStrategy | back to summary |
|---|---|
| private WebResourceRoot. | |
| hitCount | back to summary |
|---|---|
| private LongAdder hitCount | |
| log | back to summary |
|---|---|
| private static final Log log | |
| lookupCount | back to summary |
|---|---|
| private LongAdder lookupCount | |
| maxSize | back to summary |
|---|---|
| private long maxSize | |
| OBJECT_MAX_SIZE_FACTOR | back to summary |
|---|---|
| private static final int OBJECT_MAX_SIZE_FACTOR | |
| objectMaxSize | back to summary |
|---|---|
| private int objectMaxSize | |
| resourceCache | back to summary |
|---|---|
| private final ConcurrentMap<String, CachedResource> resourceCache | |
| root | back to summary |
|---|---|
| private final StandardRoot root | |
| size | back to summary |
|---|---|
| private final AtomicLong size | |
| sm | back to summary |
|---|---|
| protected static final StringManager sm | |
| TARGET_FREE_PERCENT_BACKGROUND | back to summary |
|---|---|
| private static final long TARGET_FREE_PERCENT_BACKGROUND | |
| TARGET_FREE_PERCENT_GET | back to summary |
|---|---|
| private static final long TARGET_FREE_PERCENT_GET | |
| ttl | back to summary |
|---|---|
| private long ttl | |
| Cache | back to summary |
|---|---|
| public Cache(StandardRoot root) | |
| backgroundProcess | back to summary |
|---|---|
| protected void backgroundProcess() | |
| clear | back to summary |
|---|---|
| public void clear() | |
| enforceObjectMaxSizeLimit | back to summary |
|---|---|
| pack-priv void enforceObjectMaxSizeLimit() | |
| evict | back to summary |
|---|---|
| private long evict(long targetSize, Iterator<CachedResource> iter) | |
| getCacheStrategy | back to summary |
|---|---|
| public WebResourceRoot. | |
| getHitCount | back to summary |
|---|---|
| public long getHitCount() | |
| getLookupCount | back to summary |
|---|---|
| public long getLookupCount() | |
| getMaxSize | back to summary |
|---|---|
| public long getMaxSize() | |
| getObjectMaxSize | back to summary |
|---|---|
| public int getObjectMaxSize() | |
| getObjectMaxSizeBytes | back to summary |
|---|---|
| public int getObjectMaxSizeBytes() | |
| getResource | back to summary |
|---|---|
| protected WebResource getResource(String path, boolean useClassLoaderResources) | |
| getResources | back to summary |
|---|---|
| protected WebResource[] getResources(String path, boolean useClassLoaderResources) | |
| getSize | back to summary |
|---|---|
| public long getSize() | |
| getTtl | back to summary |
|---|---|
| public long getTtl() | |
| noCache | back to summary |
|---|---|
| private boolean noCache(String path) | |
| removeCacheEntry | back to summary |
|---|---|
| pack-priv void removeCacheEntry(String path) | |
| setCacheStrategy | back to summary |
|---|---|
| public void setCacheStrategy(WebResourceRoot. | |
| setMaxSize | back to summary |
|---|---|
| public void setMaxSize(long maxSize) | |
| setObjectMaxSize | back to summary |
|---|---|
| public void setObjectMaxSize(int objectMaxSize) | |
| setTtl | back to summary |
|---|---|
| public void setTtl(long ttl) | |