Package com.fifa.connectid.sdk
Class CachePollingResponseAwaiter<Response>
- java.lang.Object
-
- com.fifa.connectid.sdk.CachePollingResponseAwaiter<Response>
-
- All Implemented Interfaces:
ResponseAwaiter<Response>
public class CachePollingResponseAwaiter<Response> extends Object implements ResponseAwaiter<Response>
-
-
Constructor Summary
Constructors Constructor Description CachePollingResponseAwaiter(CorrelationIdBasedItemProvider<Response> cache, long pollingIntervalMilliseconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsewaitForResponse(String correlationId, Duration timeout)
-
-
-
Constructor Detail
-
CachePollingResponseAwaiter
public CachePollingResponseAwaiter(CorrelationIdBasedItemProvider<Response> cache, long pollingIntervalMilliseconds)
-
-
Method Detail
-
waitForResponse
public Response waitForResponse(String correlationId, Duration timeout) throws Exception
- Specified by:
waitForResponsein interfaceResponseAwaiter<Response>- Throws:
Exception
-
-