Interface ClusterAdminConnection
-
- All Superinterfaces:
AdminConnection,java.lang.AutoCloseable
public interface ClusterAdminConnection extends AdminConnection
Public
AdminConnectionfor cluster/pack functions.- Since:
- 4.0
- Version:
- 4.0
- Author:
- Edgar Rodriguez-Diaz
-
-
Field Summary
-
Fields inherited from interface com.complexible.stardog.api.admin.AdminConnection
NO_TIMEOUT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description java.lang.StringattemptSync()default java.util.List<ClusterNodeStatus>currentPackStatus()Deprecated.UsecurrentPackStatus(Options)insteadjava.util.List<ClusterNodeStatus>currentPackStatus(Options theOptions)Return theserver status informationfrom each node in the cluster.java.io.FilegenerateClusterDiagnosticReport(com.complexible.stardog.util.report.DiagnosticsReport theDiagnosticsReport)java.util.List<java.lang.String>getNodes()java.util.Set<java.lang.String>listStandbyMembers()java.lang.StringreadOnlyStart()java.lang.StringreadOnlyStop()voidremoveStandbyMember(java.lang.String theMemberId)java.lang.StringrepairZk()voidsetPause(boolean thePause)voidshutdownAll()StandbyNodeStatestandbyState()StandbyNodeStatusstandbyStatus()-
Methods 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, restore, restore, set, setProperty, shutdown, verify, whoami
-
-
-
-
Method Detail
-
getNodes
java.util.List<java.lang.String> getNodes() throws StardogException- Throws:
StardogException
-
shutdownAll
void shutdownAll() throws StardogException- Throws:
StardogException
-
currentPackStatus
@Deprecated default java.util.List<ClusterNodeStatus> currentPackStatus() throws StardogException
Deprecated.UsecurrentPackStatus(Options)instead- Throws:
StardogException
-
currentPackStatus
java.util.List<ClusterNodeStatus> currentPackStatus(Options theOptions) throws StardogException
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:
MetricOptions
-
standbyState
StandbyNodeState standbyState() throws StardogException
- Throws:
StardogException
-
standbyStatus
StandbyNodeStatus standbyStatus() throws StardogException
- Throws:
StardogException
-
setPause
void setPause(boolean thePause) throws StardogException- Throws:
StardogException
-
removeStandbyMember
void removeStandbyMember(java.lang.String theMemberId)
-
listStandbyMembers
java.util.Set<java.lang.String> listStandbyMembers()
-
generateClusterDiagnosticReport
java.io.File generateClusterDiagnosticReport(com.complexible.stardog.util.report.DiagnosticsReport theDiagnosticsReport)
-
readOnlyStart
java.lang.String readOnlyStart()
-
readOnlyStop
java.lang.String readOnlyStop()
-
attemptSync
java.lang.String attemptSync() throws StardogException- Throws:
StardogException
-
repairZk
java.lang.String repairZk()
-
-