java.lang.Object
org.apache.jena.fuseki.server.DataService
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionCounter of active transactionsCumulative counter of transactions -
Method Summary
Modifier and TypeMethodDescriptionReturning null implies no authorization controlvoid
void
forEachEndpoint
(Consumer<Endpoint> action) Execute an action for eachEndpoint
.Decision function for this DataService.Return a collection of all endpoints for this DataService.getEndpoints
(Operation operation) Return the EndpointSet for the operations for unnamed use.getEndpointSet
(String endpointName) Return the EndpointSet for the operations for named use.Return the operations available here.long
long
long
void
goActive()
void
boolean
hasOperation
(Operation operation) Return the operations available here.boolean
static DataService.Builder
Builder for a new DataService.static DataService.Builder
newBuilder
(DataService dSrv) Return a new builder, populated by an existing DatasetServicestatic DataService.Builder
newBuilder
(DatasetGraph dsg) Builder for a new DataService, with a dataset.void
setEndpointProcessors
(OperationRegistry operationRegistry) Set anyActionService
processors that are currently unset.void
shutdown()
Shutdown and never use again.void
-
Field Details
-
activeTxn
Counter of active transactions -
totalTxn
Cumulative counter of transactions
-
-
Method Details
-
newBuilder
Builder for a new DataService. -
newBuilder
Builder for a new DataService, with a dataset. -
newBuilder
Return a new builder, populated by an existing DatasetService -
getDataset
-
getEndpointSet
Return the EndpointSet for the operations for named use. -
getEndpointSet
Return the EndpointSet for the operations for unnamed use. -
getEndpoints
Return a collection of all endpoints for this DataService. -
forEachEndpoint
Execute an action for eachEndpoint
. -
getEndpoints
-
getOperations
Return the operations available here.- See Also:
-
hasOperation
Return the operations available here.- See Also:
-
setEndpointProcessors
Set anyActionService
processors that are currently unset. -
getDefaultOperationChooser
Decision function for this DataService.This is the handler for the case of "no query string, no registered content-type" that occurs when a name has multiple choices in the dispatcher so the operation can not be distinguished.
If null, the system default (in
Dispatcher.selectPlainOperation
) is a quads performed on the dataset -Operation.GSP_R
orOperation.GSP_RW
. -
goActive
public void goActive() -
goOffline
public void goOffline() -
isAcceptingRequests
public boolean isAcceptingRequests() -
getCounters
-
getRequests
public long getRequests() -
getRequestsGood
public long getRequestsGood() -
getRequestsBad
public long getRequestsBad() -
startTxn
-
finishTxn
public void finishTxn() -
shutdown
public void shutdown()Shutdown and never use again. -
authPolicy
Returning null implies no authorization control
-