Class XSiteAdminOperations


  • public class XSiteAdminOperations
    extends java.lang.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

      • clusterStatus

        public java.util.Map<java.lang.String,​SiteStatus> clusterStatus()
      • siteStatus

        public java.lang.String siteStatus​(java.lang.String site)
      • status

        public java.lang.String status()
      • takeSiteOffline

        public java.lang.String takeSiteOffline​(java.lang.String site)
      • setTakeOfflineAfterFailures

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

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

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

        public java.lang.String getTakeOfflineMinTimeToWait​(java.lang.String site)
      • getTakeOfflineAfterFailures

        public java.lang.String getTakeOfflineAfterFailures​(java.lang.String site)
      • bringSiteOnline

        public java.lang.String bringSiteOnline​(java.lang.String site)
      • pushState

        public final java.lang.String pushState​(java.lang.String siteName)
      • getRunningStateTransfer

        public final java.util.List<java.lang.String> getRunningStateTransfer()
        for debug only!
      • getPushStateStatus

        public final java.util.Map<java.lang.String,​java.lang.String> getPushStateStatus()
      • clearPushStateStatus

        public final java.lang.String clearPushStateStatus()
      • cancelPushState

        public final java.lang.String cancelPushState​(java.lang.String siteName)
      • cancelReceiveState

        public final java.lang.String cancelReceiveState​(java.lang.String siteName)
      • getSendingSiteName

        public final java.lang.String getSendingSiteName()