public class ColocatedPolicyConfiguration extends Object implements HAPolicyConfiguration
HAPolicyConfiguration.TYPE
Constructor and Description |
---|
ColocatedPolicyConfiguration() |
public HAPolicyConfiguration.TYPE getType()
getType
in interface HAPolicyConfiguration
public boolean isRequestBackup()
public ColocatedPolicyConfiguration setRequestBackup(boolean requestBackup)
public int getBackupRequestRetries()
public ColocatedPolicyConfiguration setBackupRequestRetries(int backupRequestRetries)
public long getBackupRequestRetryInterval()
public ColocatedPolicyConfiguration setBackupRequestRetryInterval(long backupRequestRetryInterval)
public int getMaxBackups()
public ColocatedPolicyConfiguration setMaxBackups(int maxBackups)
public int getBackupPortOffset()
public ColocatedPolicyConfiguration setBackupPortOffset(int backupPortOffset)
public ColocatedPolicyConfiguration setExcludedConnectors(List<String> excludedConnectors)
public int getPortOffset()
public ColocatedPolicyConfiguration setPortOffset(int portOffset)
public HAPolicyConfiguration getLiveConfig()
public ColocatedPolicyConfiguration setLiveConfig(HAPolicyConfiguration liveConfig)
public HAPolicyConfiguration getBackupConfig()
public ColocatedPolicyConfiguration setBackupConfig(HAPolicyConfiguration backupConfig)
Copyright © 2017 JBoss by Red Hat. All rights reserved.