Interface ClusterConnection

    • Method Detail

      • getNodeID

        String getNodeID()
      • setSplitBrainDetection

        void setSplitBrainDetection​(boolean splitBrainDetection)
        This is needed on replication, however we don't need it on shared storage.
      • isSplitBrainDetection

        boolean isSplitBrainDetection()
      • getNodes

        Map<String,​String> getNodes()
        Only used for tests?
        Returns:
        a Map of node ID and addresses
      • flushExecutor

        void flushExecutor()
      • informClusterOfBackup

        void informClusterOfBackup()
      • isNodeActive

        boolean isNodeActive​(String id)
      • verify

        boolean verify​(String clusterUser,
                       String clusterPassword)
        Verifies whether user and password match the ones configured for this ClusterConnection.
        Parameters:
        clusterUser -
        clusterPassword -
        Returns:
        true if username and password match, false otherwise.
      • removeRecord

        void removeRecord​(String targetNodeID)
      • disconnectRecord

        void disconnectRecord​(String targetNodeID)
      • getCallTimeout

        long getCallTimeout()
      • getBridgeMetrics

        BridgeMetrics getBridgeMetrics​(String nodeId)
        Returns the BridgeMetrics for the bridge to the given node if exists
        Parameters:
        nodeId -
        Returns: