public static class NatsClient.ResultHolder extends Object
| Constructor and Description |
|---|
ResultHolder(int expectedEventCount) |
ResultHolder(int expectedEventCount,
int timeoutInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
List |
getResultList()
Returns the results list immediately.
|
List |
waitAndGetResults()
Wait for the event count or the specified waiting time and return the results list.
|
Copyright © 2019 WSO2. All rights reserved.