public class ScalityRingStore extends java.lang.Object implements ISdsBackingStore
Modifier and Type | Class and Description |
---|---|
static class |
ScalityRingStore.ClientAlreadyClosedException |
Constructor and Description |
---|
ScalityRingStore(ScalityConfiguration configuration,
org.asynchttpclient.AsyncHttpClient client,
int parallelism,
com.netflix.spectator.api.Registry registry,
IdFactory idfactory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.concurrent.CompletableFuture<SdsResponse> |
delete(DeleteRequest req) |
java.util.concurrent.CompletableFuture<SdsResponse> |
download(GetRequest req) |
java.util.concurrent.CompletableFuture<SdsResponse> |
downloads(MgetRequest req) |
java.util.concurrent.CompletableFuture<ExistResponse> |
exists(ExistRequest req) |
java.util.concurrent.CompletableFuture<SdsResponse> |
upload(PutRequest req) |
public ScalityRingStore(ScalityConfiguration configuration, org.asynchttpclient.AsyncHttpClient client, int parallelism, com.netflix.spectator.api.Registry registry, IdFactory idfactory)
public java.util.concurrent.CompletableFuture<ExistResponse> exists(ExistRequest req)
exists
in interface ISdsBackingStore
public java.util.concurrent.CompletableFuture<SdsResponse> upload(PutRequest req)
upload
in interface ISdsBackingStore
public java.util.concurrent.CompletableFuture<SdsResponse> download(GetRequest req)
download
in interface ISdsBackingStore
public java.util.concurrent.CompletableFuture<SdsResponse> delete(DeleteRequest req)
delete
in interface ISdsBackingStore
public java.util.concurrent.CompletableFuture<SdsResponse> downloads(MgetRequest req)
downloads
in interface ISdsBackingStore
public void close()
close
in interface ISdsBackingStore
Copyright © 2023. All Rights Reserved.