public interface StorageApiLink
Modifier and Type | Interface and Description |
---|---|
static class |
StorageApiLink.ApiDesc |
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
logger |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IDbMessageBodiesPromise> |
bodies(java.lang.String partition) |
static java.util.concurrent.CompletableFuture<StorageApiLink> |
create(io.vertx.core.Vertx vertx,
HttpClientProvider http,
java.lang.String remoteIp) |
java.util.concurrent.CompletableFuture<ICyrusReplicationAnnotationsPromise> |
cyrusAnnotations() |
java.util.concurrent.CompletableFuture<ICyrusReplicationArtifactsPromise> |
cyrusArtifacts(java.lang.String userId) |
java.util.concurrent.CompletableFuture<IDbMailboxRecordsPromise> |
mailboxRecords(java.lang.String mboxUniqueId) |
void |
release() |
java.lang.String |
remoteIp() |
java.util.concurrent.CompletableFuture<StorageApiLink.ApiDesc> |
replicatedMailboxes(CyrusBoxes.ReplicatedBox box)
Returns the API object suitable to manipulate the given mailbox.
|
java.util.concurrent.CompletableFuture<IDbReplicatedMailboxesPromise> |
replicatedMailboxes(java.lang.String partition,
MailboxReplicaRootDescriptor root) |
java.util.concurrent.CompletableFuture<java.util.List<ResolvedMailbox>> |
resolveNames(java.util.List<java.lang.String> names) |
Stream |
stream(java.nio.file.Path p) |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
validate(java.lang.String login,
java.lang.String secret) |
java.lang.String remoteIp()
void release()
static java.util.concurrent.CompletableFuture<StorageApiLink> create(io.vertx.core.Vertx vertx, HttpClientProvider http, java.lang.String remoteIp)
Stream stream(java.nio.file.Path p)
java.util.concurrent.CompletableFuture<IDbMessageBodiesPromise> bodies(java.lang.String partition)
java.util.concurrent.CompletableFuture<IDbReplicatedMailboxesPromise> replicatedMailboxes(java.lang.String partition, MailboxReplicaRootDescriptor root)
java.util.concurrent.CompletableFuture<IDbMailboxRecordsPromise> mailboxRecords(java.lang.String mboxUniqueId)
java.util.concurrent.CompletableFuture<StorageApiLink.ApiDesc> replicatedMailboxes(CyrusBoxes.ReplicatedBox box)
box
- can't be nulljava.util.concurrent.CompletableFuture<ICyrusReplicationArtifactsPromise> cyrusArtifacts(java.lang.String userId)
java.util.concurrent.CompletableFuture<ICyrusReplicationAnnotationsPromise> cyrusAnnotations()
java.util.concurrent.CompletableFuture<java.lang.Boolean> validate(java.lang.String login, java.lang.String secret)
java.util.concurrent.CompletableFuture<java.util.List<ResolvedMailbox>> resolveNames(java.util.List<java.lang.String> names)
Copyright © 2021. All Rights Reserved.