public class PathCache extends Object
Cache
. The path cache
instance will maintain a cache for registry paths. However, it is required to create an extension
of this class to actually access the cache.Constructor and Description |
---|
PathCache() |
Modifier and Type | Method and Description |
---|---|
protected static javax.cache.Cache<RegistryCacheKey,RegistryCacheEntry> |
getCache()
The path cache.
|
static PathCache |
getPathCache()
Method to obtain the created path cache instance.
|
double |
hitRate()
Method to get the cache hit rate.
|
protected static javax.cache.Cache<RegistryCacheKey,RegistryCacheEntry> getCache()
public static PathCache getPathCache()
public double hitRate()
Copyright © 2016 WSO2 Inc. All Rights Reserved.