Class OwnershipApiClientFactory
java.lang.Object
io.clonecloudstore.common.quarkus.client.SimpleClientFactoryAbstract<OwnershipApi>
io.clonecloudstore.administration.client.OwnershipApiClientFactory
- All Implemented Interfaces:
Closeable
,AutoCloseable
@ApplicationScoped
public class OwnershipApiClientFactory
extends SimpleClientFactoryAbstract<OwnershipApi>
-
Field Summary
Fields inherited from class io.clonecloudstore.common.quarkus.client.SimpleClientFactoryAbstract
DEFAULT_VALUE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToCache
(String client, Collection<ClientBucketAccess> clientBuckets) void
void
clearCache
(String client) getFromCache
(String client) protected Class
<?> Methods inherited from class io.clonecloudstore.common.quarkus.client.SimpleClientFactoryAbstract
close, getService, getUri, getVertx, isTls, prepare, prepare
-
Constructor Details
-
OwnershipApiClientFactory
public OwnershipApiClientFactory(io.quarkus.cache.Cache cache)
-
-
Method Details
-
newClient
- Specified by:
newClient
in classSimpleClientFactoryAbstract<OwnershipApi>
-
newClient
- Overrides:
newClient
in classSimpleClientFactoryAbstract<OwnershipApi>
-
getServiceClass
- Specified by:
getServiceClass
in classSimpleClientFactoryAbstract<OwnershipApi>
-
getFromCache
-
addToCache
-
clearCache
-
clearCache
public void clearCache()
-