public class MockMessageBodiesPromise extends java.lang.Object implements IDbMessageBodiesPromise
Constructor and Description |
---|
MockMessageBodiesPromise(java.lang.String partition) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
create(java.lang.String uid,
Stream eml) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
delete(java.lang.String uid) |
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
exists(java.lang.String uid) |
java.util.concurrent.CompletableFuture<MessageBody> |
getComplete(java.lang.String uid) |
java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> |
missing(java.util.List<java.lang.String> toCheck) |
java.util.concurrent.CompletableFuture<java.util.List<MessageBody>> |
multiple(java.util.List<java.lang.String> uid) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
update(MessageBody body) |
public MockMessageBodiesPromise(java.lang.String partition)
public java.util.concurrent.CompletableFuture<java.util.List<MessageBody>> multiple(java.util.List<java.lang.String> uid)
multiple
in interface IDbMessageBodiesPromise
public java.util.concurrent.CompletableFuture<java.lang.Void> update(MessageBody body)
update
in interface IDbMessageBodiesPromise
public java.util.concurrent.CompletableFuture<java.lang.Void> delete(java.lang.String uid)
delete
in interface IDbMessageBodiesPromise
public java.util.concurrent.CompletableFuture<MessageBody> getComplete(java.lang.String uid)
getComplete
in interface IDbMessageBodiesPromise
public java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> missing(java.util.List<java.lang.String> toCheck)
missing
in interface IDbMessageBodiesPromise
public java.util.concurrent.CompletableFuture<java.lang.Void> create(java.lang.String uid, Stream eml)
create
in interface IDbMessageBodiesPromise
public java.util.concurrent.CompletableFuture<java.lang.Boolean> exists(java.lang.String uid)
exists
in interface IDbMessageBodiesPromise
Copyright © 2021. All Rights Reserved.