Class BlockingFederationAccessManagerImpl
java.lang.Object
se.liu.ida.hefquin.engine.federation.access.impl.FederationAccessManagerBase1
se.liu.ida.hefquin.engine.federation.access.impl.FederationAccessManagerBase2
se.liu.ida.hefquin.engine.federation.access.impl.BlockingFederationAccessManagerImpl
- All Implemented Interfaces:
StatsProvider
,FederationAccessManager
A very simple
FederationAccessManager
that simply blocks for each request.-
Nested Class Summary
Nested classes/interfaces inherited from class se.liu.ida.hefquin.engine.federation.access.impl.FederationAccessManagerBase1
FederationAccessManagerBase1.FunctionToObtainCardinalityResponseFromSolMapsResponse, FederationAccessManagerBase1.FunctionToObtainCardinalityResponseFromTPFResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AtomicLong
protected AtomicLong
protected AtomicLong
protected AtomicLong
Fields inherited from class se.liu.ida.hefquin.engine.federation.access.impl.FederationAccessManagerBase2
reqProcBRTPF, reqProcNeo4j, reqProcSPARQL, reqProcTPF
Fields inherited from class se.liu.ida.hefquin.engine.federation.access.impl.FederationAccessManagerBase1
countVar, enNumberOfBRTPFCardRequestsIssued, enNumberOfSPARQLCardRequestsIssued, enNumberOfTPFCardRequestsIssued, enOverallNumberOfCardRequestsIssued, issuedCardRequestsBRTPF, issuedCardRequestsSPARQL, issuedCardRequestsTPF
-
Constructor Summary
ConstructorsConstructorDescriptionBlockingFederationAccessManagerImpl
(SPARQLRequestProcessor reqProcSPARQL, TPFRequestProcessor reqProcTPF, BRTPFRequestProcessor reqProcBRTPF, Neo4jRequestProcessor reqProcNeo4j) -
Method Summary
Modifier and TypeMethodDescriptionprotected FederationAccessStatsImpl
protected void
issueRequest
(BRTPFRequest req, BRTPFServer fm) issueRequest
(Neo4jRequest req, Neo4jServer fm) issueRequest
(SPARQLRequest req, SPARQLEndpoint fm) issueRequest
(TPFRequest req, BRTPFServer fm) issueRequest
(TPFRequest req, TPFServer fm) Methods inherited from class se.liu.ida.hefquin.engine.federation.access.impl.FederationAccessManagerBase1
getFctToObtainCardinalityResponseFromSolMapsResponse, getFctToObtainCardinalityResponseFromTPFResponse, getStats, issueCardinalityRequest, issueCardinalityRequest, issueCardinalityRequest, issueCardinalityRequest, resetStats
-
Field Details
-
counterSPARQLRequests
-
counterTPFRequests
-
counterBRTPFRequests
-
counterNeo4jRequests
-
-
Constructor Details
-
BlockingFederationAccessManagerImpl
public BlockingFederationAccessManagerImpl(SPARQLRequestProcessor reqProcSPARQL, TPFRequestProcessor reqProcTPF, BRTPFRequestProcessor reqProcBRTPF, Neo4jRequestProcessor reqProcNeo4j)
-
-
Method Details
-
issueRequest
public CompletableFuture<SolMapsResponse> issueRequest(SPARQLRequest req, SPARQLEndpoint fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueRequest
public CompletableFuture<TPFResponse> issueRequest(TPFRequest req, TPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueRequest
public CompletableFuture<TPFResponse> issueRequest(TPFRequest req, BRTPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueRequest
public CompletableFuture<TPFResponse> issueRequest(BRTPFRequest req, BRTPFServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
issueRequest
public CompletableFuture<RecordsResponse> issueRequest(Neo4jRequest req, Neo4jServer fm) throws FederationAccessException - Throws:
FederationAccessException
-
_resetStats
protected void _resetStats()- Specified by:
_resetStats
in classFederationAccessManagerBase1
-
_getStats
- Specified by:
_getStats
in classFederationAccessManagerBase1
-