Package com.google.gerrit.server.config
Class CacheResource
java.lang.Object
com.google.gerrit.server.config.ConfigResource
com.google.gerrit.server.config.CacheResource
- All Implemented Interfaces:
RestResource
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.restapi.RestResource
RestResource.HasETag, RestResource.HasLastModified
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.inject.TypeLiteral<RestView<CacheResource>>
Fields inherited from class com.google.gerrit.server.config.ConfigResource
CONFIG_KIND, DEFAULT_CACHE_CONTROL
-
Constructor Summary
ConstructorsConstructorDescriptionCacheResource
(String pluginName, String cacheName, com.google.common.cache.Cache<?, ?> cache) CacheResource
(String pluginName, String cacheName, com.google.inject.Provider<com.google.common.cache.Cache<?, ?>> cacheProvider) -
Method Summary
-
Field Details
-
CACHE_KIND
-
-
Constructor Details
-
CacheResource
-
CacheResource
-
-
Method Details
-
getName
-
getCache
public com.google.common.cache.Cache<?,?> getCache() -
cacheNameOf
-