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 TypeMethodDescriptionboolean
Returning null implies no authorization controlvoid
void
forEachEndpoint
(Consumer<Endpoint> action) Execute an action for eachEndpoint
.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:
-
allowUpdate
public boolean allowUpdate() -
goOffline
public void goOffline() -
setEndpointProcessors
Set anyActionService
processors that are currently unset. -
goActive
public void goActive() -
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
-