public class ReplicationState
extends java.lang.Object
Constructor and Description |
---|
ReplicationState(io.vertx.core.Vertx vertx,
StorageApiLink storage) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
addMessage(MailboxMessage msg) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
annotate(MailboxAnnotation sub) |
java.util.concurrent.CompletableFuture<java.util.List<MailboxAnnotation>> |
annotationsByMailbox(java.lang.String mbox) |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
checkCredentials(java.lang.String login,
java.lang.String secret) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
delete(java.lang.String toDel) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
expunge(java.lang.String mbox,
java.util.List<java.lang.Long> uid) |
java.util.concurrent.CompletableFuture<MailboxFolder> |
folderByName(java.lang.String name) |
java.util.concurrent.CompletableFuture<java.util.List<MailboxFolder>> |
foldersByName(java.util.List<java.lang.String> names) |
java.util.concurrent.CompletableFuture<java.util.List<MailboxFolder>> |
foldersByUser(java.lang.String userName) |
java.util.concurrent.CompletableFuture<MessageBody> |
messageByGuid(java.lang.String partition,
java.lang.String guid) |
java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> |
missingGuids(java.lang.String partition,
java.util.List<java.lang.String> guid) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
quota(QuotaRoot sub) |
java.util.concurrent.CompletableFuture<java.util.List<QuotaRoot>> |
quotaByUser(java.lang.String userName) |
java.util.concurrent.CompletableFuture<java.util.Optional<io.vertx.core.buffer.Buffer>> |
record(MailboxFolder folder,
java.lang.String bodyGuid,
long imapUid) |
java.util.concurrent.CompletableFuture<java.util.List<MboxRecord>> |
records(MailboxFolder known) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
registerFolder(MailboxFolder folder) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
rename(java.lang.String from,
java.lang.String to) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
seenOverlay(SeenOverlay seen) |
java.util.concurrent.CompletableFuture<java.util.List<SeenOverlay>> |
seenOverlayByUser(java.lang.String userName) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
sieve(SieveData sd) |
java.util.concurrent.CompletableFuture<java.util.List<SieveScript>> |
sieveByUser(java.lang.String userName) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
sub(MailboxSub sub) |
java.util.concurrent.CompletableFuture<java.util.List<MailboxSub>> |
subByUser(java.lang.String userName) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
unsieve(SieveData sd) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
unsub(MailboxSub sub) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
updateRecords(java.lang.String boxUniqueId,
java.util.List<MailboxRecord> mboxState) |
public ReplicationState(io.vertx.core.Vertx vertx, StorageApiLink storage)
public java.util.concurrent.CompletableFuture<java.lang.Void> addMessage(MailboxMessage msg)
public java.util.concurrent.CompletableFuture<MessageBody> messageByGuid(java.lang.String partition, java.lang.String guid)
public java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> missingGuids(java.lang.String partition, java.util.List<java.lang.String> guid)
public java.util.concurrent.CompletableFuture<MailboxFolder> folderByName(java.lang.String name)
public java.util.concurrent.CompletableFuture<java.util.List<MailboxFolder>> foldersByName(java.util.List<java.lang.String> names)
public java.util.concurrent.CompletableFuture<java.util.Optional<io.vertx.core.buffer.Buffer>> record(MailboxFolder folder, java.lang.String bodyGuid, long imapUid)
public java.util.concurrent.CompletableFuture<java.util.List<MailboxFolder>> foldersByUser(java.lang.String userName)
public java.util.concurrent.CompletableFuture<java.lang.Void> quota(QuotaRoot sub)
public java.util.concurrent.CompletableFuture<java.lang.Void> annotate(MailboxAnnotation sub)
public java.util.concurrent.CompletableFuture<java.util.List<QuotaRoot>> quotaByUser(java.lang.String userName)
public java.util.concurrent.CompletableFuture<java.util.List<MailboxAnnotation>> annotationsByMailbox(java.lang.String mbox)
public java.util.concurrent.CompletableFuture<java.lang.Void> sub(MailboxSub sub)
public java.util.concurrent.CompletableFuture<java.lang.Void> unsub(MailboxSub sub)
public java.util.concurrent.CompletableFuture<java.util.List<MailboxSub>> subByUser(java.lang.String userName)
public java.util.concurrent.CompletableFuture<java.lang.Void> registerFolder(MailboxFolder folder)
public java.util.concurrent.CompletableFuture<java.lang.Void> sieve(SieveData sd)
public java.util.concurrent.CompletableFuture<java.lang.Void> unsieve(SieveData sd)
public java.util.concurrent.CompletableFuture<java.util.List<SieveScript>> sieveByUser(java.lang.String userName)
public java.util.concurrent.CompletableFuture<java.lang.Void> seenOverlay(SeenOverlay seen)
public java.util.concurrent.CompletableFuture<java.util.List<SeenOverlay>> seenOverlayByUser(java.lang.String userName)
public java.util.concurrent.CompletableFuture<java.lang.Void> updateRecords(java.lang.String boxUniqueId, java.util.List<MailboxRecord> mboxState)
public java.util.concurrent.CompletableFuture<java.lang.Void> rename(java.lang.String from, java.lang.String to)
public java.util.concurrent.CompletableFuture<java.lang.Void> delete(java.lang.String toDel)
public java.util.concurrent.CompletableFuture<java.util.List<MboxRecord>> records(MailboxFolder known)
public java.util.concurrent.CompletableFuture<java.lang.Void> expunge(java.lang.String mbox, java.util.List<java.lang.Long> uid)
public java.util.concurrent.CompletableFuture<java.lang.Boolean> checkCredentials(java.lang.String login, java.lang.String secret)
Copyright © 2021. All Rights Reserved.