Package org.infinispan.xsite
Class XSiteAdminOperations
- java.lang.Object
-
- org.infinispan.xsite.XSiteAdminOperations
-
public class XSiteAdminOperations extends Object
Managed bean exposing sys admin operations for Cross-Site replication functionality.- Since:
- 5.2
- Author:
- Mircea Markus
-
-
Constructor Summary
Constructors Constructor Description XSiteAdminOperations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
amendTakeOffline(String site, int afterFailures, long minTimeToWait)
String
bringSiteOnline(String site)
String
cancelPushState(String siteName)
String
cancelReceiveState(String siteName)
String
clearPushStateStatus()
Map<String,SiteStatus>
clusterStatus()
Map<String,String>
getPushStateStatus()
List<String>
getRunningStateTransfer()
for debug only!String
getSendingSiteName()
String
getTakeOfflineAfterFailures(String site)
String
getTakeOfflineMinTimeToWait(String site)
String
pushState(String siteName)
String
setTakeOfflineAfterFailures(String site, int afterFailures)
String
setTakeOfflineMinTimeToWait(String site, long minTimeToWait)
String
siteStatus(String site)
String
status()
String
takeSiteOffline(String site)
-
-
-
Field Detail
-
ONLINE
public static final String ONLINE
- See Also:
- Constant Field Values
-
OFFLINE
public static final String OFFLINE
- See Also:
- Constant Field Values
-
SUCCESS
public static final String SUCCESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
clusterStatus
public Map<String,SiteStatus> clusterStatus()
-
status
public String status()
-
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)
-
clearPushStateStatus
public final String clearPushStateStatus()
-
getSendingSiteName
public final String getSendingSiteName()
-
-