Class AsyncFederationAccessManagerImpl
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.AsyncFederationAccessManagerImpl
- All Implemented Interfaces:
StatsProvider
,FederationAccessManager
-
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
protected AtomicLong
protected AtomicLong
protected AtomicLong
protected AtomicLong
protected final ExecutorService
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
ConstructorsConstructorDescriptionAsyncFederationAccessManagerImpl
(ExecutorService execService) Creates anAsyncFederationAccessManagerImpl
with a default configuration.AsyncFederationAccessManagerImpl
(ExecutorService execService, SPARQLRequestProcessor reqProcSPARQL, TPFRequestProcessor reqProcTPF, BRTPFRequestProcessor reqProcBRTPF, Neo4jRequestProcessor reqProcNeo4j) -
Method Summary
Modifier and TypeMethodDescriptionprotected FederationAccessStatsImpl
protected void
protected Supplier<TPFResponse>
createSupplier
(BRTPFRequest req, BRTPFServer fm) protected Supplier<RecordsResponse>
createSupplier
(Neo4jRequest req, Neo4jServer fm) protected Supplier<SolMapsResponse>
createSupplier
(SPARQLRequest req, SPARQLEndpoint fm) protected Supplier<TPFResponse>
createSupplier
(TPFRequest req, BRTPFServer fm) protected Supplier<TPFResponse>
createSupplier
(TPFRequest req, TPFServer fm) 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
-
threadPool
-
issuedSPARQLRequests
-
issuedTPFRequests
-
issuedBRTPFRequests
-
issuedNeo4jRequests
-
completedSPARQLRequests
-
completedTPFRequests
-
completedBRTPFRequests
-
completedNeo4jRequests
-
-
Constructor Details
-
AsyncFederationAccessManagerImpl
public AsyncFederationAccessManagerImpl(ExecutorService execService, SPARQLRequestProcessor reqProcSPARQL, TPFRequestProcessor reqProcTPF, BRTPFRequestProcessor reqProcBRTPF, Neo4jRequestProcessor reqProcNeo4j) -
AsyncFederationAccessManagerImpl
Creates anAsyncFederationAccessManagerImpl
with a default configuration.
-
-
Method Details
-
issueRequest
-
issueRequest
-
issueRequest
-
issueRequest
-
issueRequest
-
_getStats
- Specified by:
_getStats
in classFederationAccessManagerBase1
-
_resetStats
protected void _resetStats()- Specified by:
_resetStats
in classFederationAccessManagerBase1
-
createSupplier
-
createSupplier
-
createSupplier
-
createSupplier
-
createSupplier
-