Interface CacheApi
public interface CacheApi
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<List<GetCachesResponse>>Retrieve Cache Types Returns the list of caches.retrofit2.Call<List<GetCachesResponse>>retrieveAll4(Map<String, String> headers) Retrieve Cache Types Returns the list of caches.retrofit2.Call<PutCachesResponse>switchCache(PutCachesRequest putCachesRequest) Switch Cache Switches the cache to chosen one.retrofit2.Call<PutCachesResponse>switchCache(PutCachesRequest putCachesRequest, Map<String, String> headers) Switch Cache Switches the cache to chosen one.
-
Method Details
-
retrieveAll4
Retrieve Cache Types Returns the list of caches. Example Requests: caches- Returns:
- Call<List<GetCachesResponse>>
-
switchCache
@Headers("Content-Type:application/json") @PUT("v1/caches") retrofit2.Call<PutCachesResponse> switchCache(@Body PutCachesRequest putCachesRequest) Switch Cache Switches the cache to chosen one.- Parameters:
putCachesRequest- (required)- Returns:
- Call<PutCachesResponse>
-
retrieveAll4
@GET("v1/caches") retrofit2.Call<List<GetCachesResponse>> retrieveAll4(@HeaderMap Map<String, String> headers) Retrieve Cache Types Returns the list of caches. Example Requests: caches- Returns:
- Call<List<GetCachesResponse>>
-
switchCache
@Headers("Content-Type:application/json") @PUT("v1/caches") retrofit2.Call<PutCachesResponse> switchCache(@Body PutCachesRequest putCachesRequest, @HeaderMap Map<String, String> headers) Switch Cache Switches the cache to chosen one.- Parameters:
putCachesRequest- (required)- Returns:
- Call<PutCachesResponse>
-