Class PostCaches
- java.lang.Object
-
- com.google.gerrit.server.restapi.config.PostCaches
-
- All Implemented Interfaces:
RestCollectionModifyView<ConfigResource,CacheResource,PostCaches.Input>
,RestCollectionView<ConfigResource,CacheResource,PostCaches.Input>
,RestView<CacheResource>
public class PostCaches extends Object implements RestCollectionModifyView<ConfigResource,CacheResource,PostCaches.Input>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PostCaches.Input
static class
PostCaches.Operation
-
Constructor Summary
Constructors Constructor Description PostCaches(DynamicMap<com.google.common.cache.Cache<?,?>> cacheMap, FlushCache flushCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<String>
apply(ConfigResource rsrc, PostCaches.Input input)
-
-
-
Constructor Detail
-
PostCaches
@Inject public PostCaches(DynamicMap<com.google.common.cache.Cache<?,?>> cacheMap, FlushCache flushCache)
-
-
Method Detail
-
apply
public Response<String> apply(ConfigResource rsrc, PostCaches.Input input) throws AuthException, BadRequestException, UnprocessableEntityException, PermissionBackendException
- Specified by:
apply
in interfaceRestCollectionModifyView<ConfigResource,CacheResource,PostCaches.Input>
- Throws:
AuthException
BadRequestException
UnprocessableEntityException
PermissionBackendException
-
-