public interface RemoteConfigurationCluster
extends java.rmi.Remote
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClusterAdminHost()
Deprecated.
|
java.lang.String |
getClusterAdminRMIPort()
Deprecated.
|
int |
getClusterMemeberID()
Returns the cluster member ID
|
java.lang.String |
getClusterName()
Returns the cluster name.
|
java.lang.String |
getClusterResourceRoot()
Returns the cluster resource root.
|
int |
getClusterSchedulerLeaseActiveCount()
Returns the active lease scheduler number in the cluster when cluster scheduler lease is enabled.
|
long |
getClusterSchedulerLeaseValidTime()
Returns the time for when the node will hold the lease before releasing it after a node gets a lease.
|
long |
getClusterShedulerLeaseCheckInterval()
Returns the interval time for when the cluster checks if a lease is valid.
|
int |
getClusterStorageCrdResultCopies()
Returns the copies of file/folder added under the cached CRD result folder in the cluster.
|
int |
getClusterStorageHistoryCopies()
Returns the copies of file/folder added under the history folder in the cluster.
|
int |
getClusterStorageRealmCopies()
Returns the copies of file/folder added under the realm folder in the cluster.
|
java.lang.String |
getShareHistoryDirectory()
Returns the cluster share history directory.
|
int |
getShareMemoryNodeNumber()
Returns the number of nodes to share memory in the cluster.
|
java.lang.String |
getSharePropertyDirectory()
Returns the cluster share property directory.
|
java.lang.String |
getShareRealmDirectory()
Deprecated.
|
java.lang.String |
getShareTempDirectory()
Returns the cluster share temp directory.
|
boolean |
hasClusterLicense()
Checks whether there is the cluster license.
|
boolean |
isClusterAdminServer()
Deprecated.
|
boolean |
isClusterBackupServer()
Deprecated.
|
boolean |
isClusterEnabled()
Returns if the cluster is enabled.
|
boolean |
isClusterSchedulerLeaseEnabled()
Returns whether to enable lease for distributed scheduler.
|
void |
loadProperties()
Sets the properties of the server.
|
void |
setClusterAdminHost(java.lang.String adminPort)
Deprecated.
|
void |
setClusterAdminRMIPort(java.lang.String adminRMIPort)
Deprecated.
|
void |
setClusterAdminServer(boolean isCluster)
Deprecated.
|
void |
setClusterBackupServer(boolean isBack)
Deprecated.
|
boolean |
setClusterEnabled(boolean isEnabled)
Sets whether to enable the cluster.
|
void |
setClusterMemberID(int memberId)
Sets the cluster member ID.
|
void |
setClusterName(java.lang.String clusterName)
Sets the cluster name.
|
void |
setClusterResourceRoot(java.lang.String dir)
Sets the cluster resource root.
|
void |
setClusterSchedulerLeaseActiveCount(int number)
Sets the active lease number in the cluster when cluster scheduler lease is enabled.
|
void |
setClusterSchedulerLeaseCheckInterval(long intervalTime)
Sets the interval time for when the cluster checks if a lease is valid.
|
void |
setClusterSchedulerLeaseEnabled(boolean isEnabled)
Sets whether to enable lease for distribute scheduler.
|
void |
setClusterSchedulerLeaseValidTime(long leaseTime)
Sets the time for when the node will hold the lease before releasing it after a node gets a lease.
|
void |
setClusterStorageCrdResultCopies(int copies)
Sets the copies of file/folder added under the cache CRD result folder in the cluster.
|
void |
setClusterStorageHistoryCopies(int copies)
Sets the copies of file/folder added under the history folder in the cluster.
|
void |
setClusterStorageRealmCopies(int copies)
Sets the copies of file/folder added under the realm folder in the cluster.
|
void |
setShareHistoryDirectory(java.lang.String dir)
Sets the cluster share history directory.
|
void |
setShareMemoryNodeNumber(int shareNum)
Sets the number of nodes to share memory in the cluster.
|
void |
setSharePropertyDirectory(java.lang.String dir)
Sets the cluster share property directory.
|
void |
setShareRealmDirectory(java.lang.String dir)
Sets the cluster share realm directory.
|
void |
setShareTempDirectory(java.lang.String dir)
Sets the cluster share temp directory.
|
boolean isClusterAdminServer()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterAdminServer(boolean isCluster)
throws java.rmi.RemoteException
isCluster - Provide cluster admin server.java.rmi.RemoteException - if communication-related error occurs during RMI call executionboolean isClusterBackupServer()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterBackupServer(boolean isBack)
throws java.rmi.RemoteException
isBack - provide cluster back server.java.rmi.RemoteException - if communication-related error occurs during RMI call executionjava.lang.String getClusterAdminHost()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterAdminHost(java.lang.String adminPort)
throws java.rmi.RemoteException
adminPort - the cluster admin server host address.java.rmi.RemoteException - if communication-related error occurs during RMI call executionjava.lang.String getClusterAdminRMIPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterAdminRMIPort(java.lang.String adminRMIPort)
throws java.rmi.RemoteException
adminRMIPort - the cluster admin RMI port.java.rmi.RemoteException - if communication-related error occurs during RMI call executionjava.lang.String getSharePropertyDirectory()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionjava.lang.String getShareRealmDirectory()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionjava.lang.String getClusterResourceRoot()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.java.lang.String getShareTempDirectory()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionjava.lang.String getShareHistoryDirectory()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setSharePropertyDirectory(java.lang.String dir)
throws java.rmi.RemoteException
dirt - the cluster share property directory.java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setShareRealmDirectory(java.lang.String dir)
throws java.rmi.RemoteException
dirt - the cluster share realm directory.java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterResourceRoot(java.lang.String dir)
throws java.rmi.RemoteException
dirt - the cluster resource root.java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setShareTempDirectory(java.lang.String dir)
throws java.rmi.RemoteException
dirt - the cluster share temp directory.java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setShareHistoryDirectory(java.lang.String dir)
throws java.rmi.RemoteException
dirt - the cluster share history directory.java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid loadProperties()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionboolean isClusterEnabled()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionboolean setClusterEnabled(boolean isEnabled)
throws java.rmi.RemoteException
isEnabled - if true it means to enable the cluster, if false it means to disable the clusterjava.rmi.RemoteException - if communication-related error occurs during RMI call executionboolean hasClusterLicense()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionint getClusterStorageHistoryCopies()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterStorageHistoryCopies(int copies)
throws java.rmi.RemoteException
copies - the backup number of file/folder under the history folder in the clusterjava.rmi.RemoteException - if communication-related error occurs during RMI call executionint getClusterStorageRealmCopies()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterStorageRealmCopies(int copies)
throws java.rmi.RemoteException
copies - the backup number of file/folder under the realm folder in the clusterjava.rmi.RemoteException - if communication-related error occurs during RMI call executionint getClusterStorageCrdResultCopies()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterStorageCrdResultCopies(int copies)
throws java.rmi.RemoteException
copies - the backup number of file/folder under the cached CRD result folder in the clusterjava.rmi.RemoteException - if communication-related error occurs during RMI call executionboolean isClusterSchedulerLeaseEnabled()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterSchedulerLeaseEnabled(boolean isEnabled)
throws java.rmi.RemoteException
isEnabled - if true it means to enable lease, otherwise disable leasejava.rmi.RemoteException - if communication-related error occurs during RMI call executionint getClusterSchedulerLeaseActiveCount()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterSchedulerLeaseActiveCount(int number)
throws java.rmi.RemoteException
number - the number of the active scheduler lease in the clusterjava.rmi.RemoteException - if communication-related error occurs during RMI call executionlong getClusterSchedulerLeaseValidTime()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterSchedulerLeaseValidTime(long leaseTime)
throws java.rmi.RemoteException
leaseTime - the lease valid timejava.rmi.RemoteException - if communication-related error occurs during RMI call executionlong getClusterShedulerLeaseCheckInterval()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterSchedulerLeaseCheckInterval(long intervalTime)
throws java.rmi.RemoteException
intervalTime - the interval time for when the cluster checks if any lease is still validjava.rmi.RemoteException - if communication-related error occurs during RMI call executionjava.lang.String getClusterName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterName(java.lang.String clusterName)
throws java.rmi.RemoteException
clusterName - the cluster name to be setjava.rmi.RemoteException - if communication-related error occurs during RMI call executionint getClusterMemeberID()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setClusterMemberID(int memberId)
throws java.rmi.RemoteException
memberId - the cluster member id to be setjava.rmi.RemoteException - if communication-related error occurs during RMI call executionvoid setShareMemoryNodeNumber(int shareNum)
throws java.rmi.RemoteException
shareNum - the number of nodes to share memory in the cluster.java.rmi.RemoteException - if communication-related error occurs during RMI call executionint getShareMemoryNodeNumber()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution