public class PostCaches extends Object implements com.google.gerrit.extensions.restapi.RestModifyView<ConfigResource,PostCaches.Input>
Modifier and Type | Class and Description |
---|---|
static class |
PostCaches.Input |
static class |
PostCaches.Operation |
Constructor and Description |
---|
PostCaches(com.google.gerrit.extensions.registration.DynamicMap<com.google.common.cache.Cache<?,?>> cacheMap,
FlushCache flushCache) |
@Inject public PostCaches(com.google.gerrit.extensions.registration.DynamicMap<com.google.common.cache.Cache<?,?>> cacheMap, FlushCache flushCache)
public Object apply(ConfigResource rsrc, PostCaches.Input input) throws com.google.gerrit.extensions.restapi.AuthException, com.google.gerrit.extensions.restapi.BadRequestException, com.google.gerrit.extensions.restapi.UnprocessableEntityException
apply
in interface com.google.gerrit.extensions.restapi.RestModifyView<ConfigResource,PostCaches.Input>
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.extensions.restapi.BadRequestException
com.google.gerrit.extensions.restapi.UnprocessableEntityException