Class IndexProviderResponse
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.index.IndexProviderResponse
-
public class IndexProviderResponse extends java.lang.Object
Response from submitting IndexData to a FHIRIndexProvider implementation
-
-
Constructor Summary
Constructors Constructor Description IndexProviderResponse(RemoteIndexData data, java.util.concurrent.CompletableFuture<java.lang.Void> ack)
Public constructor for a successful response
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getAck()
Get acknowledgement that the message was received by the service we sent it toRemoteIndexData
getData()
Get the request data for which this is the response
-
-
-
Constructor Detail
-
IndexProviderResponse
public IndexProviderResponse(RemoteIndexData data, java.util.concurrent.CompletableFuture<java.lang.Void> ack)
Public constructor for a successful response- Parameters:
tenantId
-data
-
-
-
Method Detail
-
getData
public RemoteIndexData getData()
Get the request data for which this is the response- Returns:
-
getAck
public void getAck() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
Get acknowledgement that the message was received by the service we sent it to- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
-
-