WindowCache.
| Modifier and Type | Method and Description |
|---|---|
| public default double | Returns: the average time spent loading new valuesAverage time in nanoseconds for loading new values. |
| public long | |
| public default double | Returns: the ratio of cache loading attempts which threw exceptionsRatio of cache evictions. |
| public long | |
| public default double | Returns: the ratio of cache requests which were hitsRatio of cache requests which were hits defined as
|
| public default long | Returns: theloadSuccessCount + loadFailureCountTotal number of times that the cache attempted to load new values. |
| public long | |
| public default double | Returns: the ratio of cache loading attempts which threw exceptionsRatio of cache load attempts which threw exceptions. |
| public long | |
| public long | |
| public default double | Returns: the ratio of cache requests which were missesRatio of cache requests which were misses defined as
|
| public long | |
| public Map | Returns: number of bytes cached per repositoryNumber of bytes cached per repository |
| public long | Returns: number of files kept open by cacheNumber of pack files kept open by the cache |
| public default long | Returns: thehitCount + missCountNumber of times the cache returned either a cached or uncached value. |
| public static WindowCacheStats | |
| public long | Returns: the total number of nanoseconds the cache has spent loading new valuesTotal time in nanoseconds the cache spent loading new values. |
| public void |
| getAverageLoadTime | back to summary |
|---|---|
| public default double getAverageLoadTime() Average time in nanoseconds for loading new values. This is
| |
| getEvictionCount | back to summary |
|---|---|
| public long getEvictionCount() Number of cache evictions
| |
| getEvictionRatio | back to summary |
|---|---|
| public default double getEvictionRatio() Ratio of cache evictions. This is defined as
| |
| getHitCount | back to summary |
|---|---|
| public long getHitCount() Number of cache hits
| |
| getHitRatio | back to summary |
|---|---|
| public default double getHitRatio() Ratio of cache requests which were hits defined as
| |
| getLoadCount | back to summary |
|---|---|
| public default long getLoadCount() Total number of times that the cache attempted to load new values. This
includes both successful load operations, as well as failed loads. This
is defined as
| |
| getLoadFailureCount | back to summary |
|---|---|
| public long getLoadFailureCount() Number of failed loads
| |
| getLoadFailureRatio | back to summary |
|---|---|
| public default double getLoadFailureRatio() Ratio of cache load attempts which threw exceptions. This is defined as
| |
| getLoadSuccessCount | back to summary |
|---|---|
| public long getLoadSuccessCount() Number of successful loads
| |
| getMissCount | back to summary |
|---|---|
| public long getMissCount() Number of cache misses.
| |
| getMissRatio | back to summary |
|---|---|
| public default double getMissRatio() Ratio of cache requests which were misses defined as
| |
| getOpenByteCount | back to summary |
|---|---|
| public long getOpenByteCount() Number of bytes cached
| |
| getOpenByteCountPerRepository | back to summary |
|---|---|
| public Map Number of bytes cached per repository | |
| getOpenFileCount | back to summary |
|---|---|
| public long getOpenFileCount() Number of pack files kept open by the cache
| |
| getRequestCount | back to summary |
|---|---|
| public default long getRequestCount() Number of times the cache returned either a cached or uncached value.
This is defined as
| |
| getStats | back to summary |
|---|---|
| public static WindowCacheStats getStats() Get cache statistics
| |
| getTotalLoadTime | back to summary |
|---|---|
| public long getTotalLoadTime() Total time in nanoseconds the cache spent loading new values.
| |
| resetCounters | back to summary |
|---|---|
| public void resetCounters() Reset counters. Does not reset open bytes and open files counters. | |