public static class QueryCounter.QueryCounterBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
QueryCounter.QueryCounterBuilder |
before(long timeout,
TimeUnit unit)
Up to how long we check counts to match.
|
QueryCounter |
build() |
QueryCounter.QueryCounterBuilder |
withFilter(Predicate<com.datastax.oss.simulacron.common.cluster.QueryLog> queryLogFilter)
The filter to apply to consider a message received by the node, if not provided we consider
all messages that are queries.
|
QueryCounter.QueryCounterBuilder |
withNotification(QueryCounter.NotificationMode notificationMode)
Whether or not simulacron should notify before or after the message is processed.
|
public QueryCounter.QueryCounterBuilder withFilter(Predicate<com.datastax.oss.simulacron.common.cluster.QueryLog> queryLogFilter)
public QueryCounter.QueryCounterBuilder withNotification(QueryCounter.NotificationMode notificationMode)
public QueryCounter.QueryCounterBuilder before(long timeout, TimeUnit unit)
public QueryCounter build()
Copyright © 2017–2023. All rights reserved.