Class DataRetrievalResponseBase
java.lang.Object
se.liu.ida.hefquin.engine.federation.access.impl.response.DataRetrievalResponseBase
- All Implemented Interfaces:
DataRetrievalResponse
- Direct Known Subclasses:
JSONResponseImpl
,RecordsResponseImpl
,SolMapsResponseImpl
,StringResponseImpl
,TPFResponseImpl
,TriplesResponseImpl
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DataRetrievalResponseBase
(FederationMember fm, DataRetrievalRequest request, Date requestStartTime) Initializes the retrievalEndTime to the time when this object is created.protected
DataRetrievalResponseBase
(FederationMember fm, DataRetrievalRequest request, Date requestStartTime, Date retrievalEndTime) -
Method Summary
Modifier and TypeMethodDescriptionReturns the federation member where this response comes from.Returns the request that has been issued to obtain this response.Returns the time at which the corresponding data retrieval request (seeDataRetrievalResponse.getRequest()
) was started.Returns the time at which the retrieval of this response was completed.
-
Constructor Details
-
DataRetrievalResponseBase
protected DataRetrievalResponseBase(FederationMember fm, DataRetrievalRequest request, Date requestStartTime) Initializes the retrievalEndTime to the time when this object is created. -
DataRetrievalResponseBase
protected DataRetrievalResponseBase(FederationMember fm, DataRetrievalRequest request, Date requestStartTime, Date retrievalEndTime)
-
-
Method Details
-
getFederationMember
Description copied from interface:DataRetrievalResponse
Returns the federation member where this response comes from.- Specified by:
getFederationMember
in interfaceDataRetrievalResponse
-
getRequest
Description copied from interface:DataRetrievalResponse
Returns the request that has been issued to obtain this response.- Specified by:
getRequest
in interfaceDataRetrievalResponse
-
getRequestStartTime
Description copied from interface:DataRetrievalResponse
Returns the time at which the corresponding data retrieval request (seeDataRetrievalResponse.getRequest()
) was started.- Specified by:
getRequestStartTime
in interfaceDataRetrievalResponse
-
getRetrievalEndTime
Description copied from interface:DataRetrievalResponse
Returns the time at which the retrieval of this response was completed.- Specified by:
getRetrievalEndTime
in interfaceDataRetrievalResponse
-