Class XSiteAdminOperations


  • public class XSiteAdminOperations
    extends Object
    Managed bean exposing sys admin operations for Cross-Site replication functionality.
    Since:
    5.2
    Author:
    Mircea Markus
    • Constructor Detail

      • XSiteAdminOperations

        public XSiteAdminOperations()
    • Method Detail

      • status

        public String status()
      • takeSiteOffline

        public String takeSiteOffline​(String site)
      • setTakeOfflineAfterFailures

        public String setTakeOfflineAfterFailures​(String site,
                                                  int afterFailures)
      • setTakeOfflineMinTimeToWait

        public String setTakeOfflineMinTimeToWait​(String site,
                                                  long minTimeToWait)
      • amendTakeOffline

        public String amendTakeOffline​(String site,
                                       int afterFailures,
                                       long minTimeToWait)
      • getTakeOfflineMinTimeToWait

        public String getTakeOfflineMinTimeToWait​(String site)
      • getTakeOfflineAfterFailures

        public String getTakeOfflineAfterFailures​(String site)
      • bringSiteOnline

        public String bringSiteOnline​(String site)
      • pushState

        public final String pushState​(String siteName)
      • getRunningStateTransfer

        public final List<String> getRunningStateTransfer()
        for debug only!
      • getPushStateStatus

        public final Map<String,​String> getPushStateStatus()
      • clearPushStateStatus

        public final String clearPushStateStatus()
      • cancelPushState

        public final String cancelPushState​(String siteName)
      • cancelReceiveState

        public final String cancelReceiveState​(String siteName)
      • getSendingSiteName

        public final String getSendingSiteName()