public final class AggregateTestDriver<K,C,E,A> extends Object
Constructor and Description |
---|
AggregateTestDriver(AggregateSpec<K,C,E,A> aggregateSpec,
KafkaConfig kafkaConfig) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
pollForApiResponse() |
FutureResult<CommandError,CommandId> |
publishCommand(CommandAPI.Request<K,C> request) |
FutureResult<CommandError,Sequence> |
queryCommandResult(CommandId commandId,
java.time.Duration timeout) |
public AggregateTestDriver(AggregateSpec<K,C,E,A> aggregateSpec, KafkaConfig kafkaConfig)
public FutureResult<CommandError,CommandId> publishCommand(CommandAPI.Request<K,C> request)
public FutureResult<CommandError,Sequence> queryCommandResult(CommandId commandId, java.time.Duration timeout)
public void pollForApiResponse()
public void close()
Copyright © 2019. All rights reserved.