Class AccessorBucketInternalApiClient
java.lang.Object
io.clonecloudstore.common.quarkus.client.SimpleClientAbstract<AccessorBucketInternalApi>
io.clonecloudstore.accessor.client.internal.AccessorBucketInternalApiClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class AccessorBucketInternalApiClient
extends SimpleClientAbstract<AccessorBucketInternalApi>
Client for Accessor Bucket
-
Field Summary
Fields inherited from class io.clonecloudstore.common.quarkus.client.SimpleClientAbstract
exceptionMapper, MDC_COMPRESSED_CONTENT, MDC_COMPRESSED_RESPONSE, MDC_QUERY_HEADERS
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor used by the Factory -
Method Summary
Modifier and TypeMethodDescriptioncheckBucket
(String bucketName, String clientId, boolean fullCheck) getBuckets
(String clientId) Methods inherited from class io.clonecloudstore.common.quarkus.client.SimpleClientAbstract
acceptCompression, bodyCompressed, close, getCompressionStatusFromHeaders, getDtoFromHeaders, getFactory, getHeadersMap, getMdcOpId, getOpId, getService, getUri, isAcceptCompression, isBodyCompressed, reopen, resetMdcOpId, resetQueryContext, setCompressionStatusFromHeaders, setDtoFromHeaders, setHeadersMap, setMdcOpId, setOpId
-
Constructor Details
-
AccessorBucketInternalApiClient
Constructor used by the Factory
-
-
Method Details
-
getBuckets
- Returns:
- the collection of Buckets
- Throws:
CcsWithStatusException
-
checkBucket
public StorageType checkBucket(String bucketName, String clientId, boolean fullCheck) throws CcsWithStatusException - Parameters:
fullCheck
- if True, check also on Object Storage- Returns:
- the StorageType for this Bucket
- Throws:
CcsWithStatusException
-
getBucket
- Returns:
- the Bucket Metadata
- Throws:
CcsWithStatusException
-