public class ReplicatedPolicyConfiguration extends Object implements HAPolicyConfiguration
HAPolicyConfiguration.TYPE
Constructor and Description |
---|
ReplicatedPolicyConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName() |
String |
getGroupName() |
long |
getInitialReplicationSyncTimeout() |
HAPolicyConfiguration.TYPE |
getType() |
boolean |
isCheckForLiveServer() |
ReplicatedPolicyConfiguration |
setCheckForLiveServer(boolean checkForLiveServer) |
ReplicatedPolicyConfiguration |
setClusterName(String clusterName) |
ReplicatedPolicyConfiguration |
setGroupName(String groupName) |
void |
setInitialReplicationSyncTimeout(long initialReplicationSyncTimeout) |
public HAPolicyConfiguration.TYPE getType()
getType
in interface HAPolicyConfiguration
public boolean isCheckForLiveServer()
public ReplicatedPolicyConfiguration setCheckForLiveServer(boolean checkForLiveServer)
public String getGroupName()
public ReplicatedPolicyConfiguration setGroupName(String groupName)
public String getClusterName()
public ReplicatedPolicyConfiguration setClusterName(String clusterName)
public long getInitialReplicationSyncTimeout()
public void setInitialReplicationSyncTimeout(long initialReplicationSyncTimeout)
Copyright © 2017 JBoss by Red Hat. All rights reserved.