Class IndexProviderResponse
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.index.IndexProviderResponse
-
public class IndexProviderResponse extends java.lang.ObjectResponse 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 voidgetAck()Get acknowledgement that the message was received by the service we sent it toRemoteIndexDatagetData()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.ExecutionExceptionGet acknowledgement that the message was received by the service we sent it to- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
-