|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.registry.core.caching.PathCache
public class PathCache
Implementation of caching for resource paths. This is based on 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 Summary | |
|---|---|
PathCache()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathCache()
| Method Detail |
|---|
protected static javax.cache.Cache<RegistryCacheKey,RegistryCacheEntry> getCache()
public static PathCache getPathCache()
public double hitRate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||