public class ListCaches extends Object implements com.google.gerrit.extensions.restapi.RestReadView<ConfigResource>
Modifier and Type | Class and Description |
---|---|
static class |
ListCaches.CacheInfo |
static class |
ListCaches.CacheType |
static class |
ListCaches.EntriesInfo |
static class |
ListCaches.HitRatioInfo |
static class |
ListCaches.OutputFormat |
Constructor and Description |
---|
ListCaches(com.google.gerrit.extensions.registration.DynamicMap<com.google.common.cache.Cache<?,?>> cacheMap) |
Modifier and Type | Method and Description |
---|---|
Object |
apply(ConfigResource rsrc) |
Map<String,ListCaches.CacheInfo> |
getCacheInfos() |
ListCaches |
setFormat(ListCaches.OutputFormat format) |
@Inject public ListCaches(com.google.gerrit.extensions.registration.DynamicMap<com.google.common.cache.Cache<?,?>> cacheMap)
public ListCaches setFormat(ListCaches.OutputFormat format)
public Map<String,ListCaches.CacheInfo> getCacheInfos()
public Object apply(ConfigResource rsrc)
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<ConfigResource>