Interface CorrelationResult
-
public interface CorrelationResult
The result retrieved from a synchronous lookup of the Correlation ID.This will either contain the correlation data or else will specify a flag indication that the Correlation data should be requested asynchronously.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getCorrelationData()
Contains correlation data associated with the requested correlation ID or null if the data is only available asynchronously.String
getCorrelationId()
String containing requested correlation ID.boolean
isAvailableAsynchronously()
If the correlation data is not available locally but is available via an asynchronous call.
-
-
-
Method Detail
-
getCorrelationData
byte[] getCorrelationData()
Contains correlation data associated with the requested correlation ID or null if the data is only available asynchronously.- Returns:
- the correlated data, or null.
-
getCorrelationId
String getCorrelationId()
String containing requested correlation ID.- Returns:
- the String containing the Correlation ID.
-
isAvailableAsynchronously
boolean isAvailableAsynchronously()
If the correlation data is not available locally but is available via an asynchronous call.An asynchronous call can be made by creating a
CorrelationActivity
with the provider and then making the asynchronous call on theCorrelationActivity
.- Returns:
- true if the result can be queried asynchronously.
-
-