Interface ClusterAdminConnection
- All Superinterfaces:
AdminConnection,AutoCloseable
Public AdminConnection for cluster/pack functions.
- Since:
- 4.0
- Version:
- 4.0
- Author:
- Edgar Rodriguez-Diaz
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.complexible.stardog.api.admin.AdminConnection
AdminConnection.StreamConsumer, AdminConnection.TxLogRange -
Field Summary
Fields inherited from interface com.complexible.stardog.api.admin.AdminConnection
NO_TIMEOUT -
Method Summary
Modifier and TypeMethodDescriptiondefault List<ClusterNodeStatus> Deprecated.currentPackStatus(Options theOptions) Return theserver status informationfrom each node in the cluster.generateClusterDiagnosticReport(com.complexible.stardog.util.report.DiagnosticsReport theDiagnosticsReport) getNodes()voidremoveStandbyMember(String theMemberId) repairZk()voidsetPause(boolean thePause) voidMethods inherited from interface com.complexible.stardog.api.admin.AdminConnection
as, backup, backup, backup, backup, backupAll, builder, checkpoint, close, currentStatus, currentStatus, disk, drop, generateDiagnosticReport, get, get, getLogs, getPermissionManager, getProcessManager, getProperty, getQueryManager, getRoleManager, getStoredFunctions, getStoredQueries, getTokenManager, getUserManager, isOpen, list, newDatabase, offline, offline, online, optimize, optimize, renameDatabase, repair, replayTransactionLog, restore, restore, set, setProperty, shutdown, transactionLog, verify, whoami
-
Method Details
-
getNodes
- Throws:
StardogException
-
shutdownAll
- Throws:
StardogException
-
currentPackStatus
Deprecated.UsecurrentPackStatus(Options)instead- Throws:
StardogException
-
currentPackStatus
Return theserver status informationfrom each node in the cluster.optionscan be used to configure which metrics will be included in the results.- Parameters:
theOptions- the options for customizing the metrics that will be returned- Returns:
- the list of metrics showing the server status for each node
- Throws:
StardogException- if there was an error retrieving the status- See Also:
-
standbyState
- Throws:
StardogException
-
standbyStatus
- Throws:
StardogException
-
setPause
- Throws:
StardogException
-
removeStandbyMember
-
listStandbyMembers
-
generateClusterDiagnosticReport
File generateClusterDiagnosticReport(com.complexible.stardog.util.report.DiagnosticsReport theDiagnosticsReport) -
readOnlyStart
String readOnlyStart() -
readOnlyStop
String readOnlyStop() -
attemptSync
- Throws:
StardogException
-
repairZk
String repairZk()
-
currentPackStatus(Options)instead