|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteConfigurationCluster
This interface defines methods to get the cluster setting of a sever remotely.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
boolean isClusterAdminServer()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterAdminServer(boolean isCluster)
throws java.rmi.RemoteException
isCluster - Provide cluster admin server.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean isClusterBackupServer()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterBackupServer(boolean isBack)
throws java.rmi.RemoteException
isBack - provide cluster back server.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getClusterAdminHost()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void 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 execution
java.lang.String getClusterAdminRMIPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void 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 execution
java.lang.String getSharePropertyDirectory()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getShareRealmDirectory()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.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 execution
java.lang.String getShareHistoryDirectory()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void 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 execution
void 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 execution
void 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 execution
void 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 execution
void 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 execution
void loadProperties()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean isClusterEnabled()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean setClusterEnabled(boolean isEnabled)
throws java.rmi.RemoteException
isEnabled - if true it means to enable the cluster, if false it means to disable the cluster
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean hasClusterLicense()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getClusterStorageHistoryCopies()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterStorageHistoryCopies(int copies)
throws java.rmi.RemoteException
copies - the backup number of file/folder under the history folder in the cluster
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getClusterStorageRealmCopies()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterStorageRealmCopies(int copies)
throws java.rmi.RemoteException
copies - the backup number of file/folder under the realm folder in the cluster
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getClusterStorageCrdResultCopies()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterStorageCrdResultCopies(int copies)
throws java.rmi.RemoteException
copies - the backup number of file/folder under the cached CRD result folder in the cluster
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean isClusterSchedulerLeaseEnabled()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterSchedulerLeaseEnabled(boolean isEnabled)
throws java.rmi.RemoteException
isEnabled - if true it means to enable lease, otherwise disable lease
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getClusterSchedulerLeaseActiveCount()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterSchedulerLeaseActiveCount(int number)
throws java.rmi.RemoteException
number - the number of the active scheduler lease in the cluster
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
long getClusterSchedulerLeaseValidTime()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterSchedulerLeaseValidTime(long leaseTime)
throws java.rmi.RemoteException
leaseTime - the lease valid time
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
long getClusterShedulerLeaseCheckInterval()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterSchedulerLeaseCheckInterval(long intervalTime)
throws java.rmi.RemoteException
intervalTime - the interval time for when the cluster checks if any lease is still valid
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
java.lang.String getClusterName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterName(java.lang.String clusterName)
throws java.rmi.RemoteException
clusterName - the cluster name to be set
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
int getClusterMemeberID()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setClusterMemberID(int memberId)
throws java.rmi.RemoteException
memberId - the cluster member id to be set
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void 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 execution
int getShareMemoryNodeNumber()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||