|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteClusterService
The RemoteClusterService interface
provides methods to access cluster active members information and load balancer via RMI.
This is an RMI-based interface,
invocation on the method of this interface
will bring an RMI call on the associated JReport Server underlying ClusterService.
ClusterService| Method Summary | |
|---|---|
Member |
getAdminMember()
Deprecated. no replacement. As of 10.1. Further, the behavior of this call is never specified. |
Member[] |
getAllMembers()
Returns all active members of the cluster. |
java.lang.String |
getClusterName()
Returns the cluster name. |
RemoteLoadBalancer |
getDefaultLoadBalancer()
Gets the default load balancer. |
Member |
getLocalMember()
Returns the local member. |
Member |
getMember()
Selects a member by a load balancer. If the load balancer is null, this call returns localMember. |
boolean |
isAdminServerCrashed()
Deprecated. no replacement. As of 10.0, this call returns false. |
boolean |
isTaskQueueFull(int priority)
Deprecated. no replacement. As of 10.0, this call returns false. |
void |
registerLocalMember()
Deprecated. no replacement. As of 10.0, this call NOP. |
void |
removeLocalMember()
Deprecated. no replacement. As of 10.0, this call NOP. |
void |
setDefaultLoadBalancer(RemoteLoadBalancer lb)
Sets customized load balancer to replace the default load balancer. |
| Method Detail |
|---|
java.lang.String getClusterName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
Member[] getAllMembers()
throws java.rmi.RemoteException,
ClusterException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
ClusterException - if this method is called after the cluster shuts down.
Member getLocalMember()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs in the remote Server.
Member getAdminMember()
throws java.rmi.RemoteException,
ClusterException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
ClusterException - if this method is called after the cluster shuts down.
RemoteLoadBalancer getDefaultLoadBalancer()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
void setDefaultLoadBalancer(RemoteLoadBalancer lb)
throws java.rmi.RemoteException
lb - the load balancer instance, if null, getMember will return localMember.
java.rmi.RemoteException - if communication-related error occurs during RMI call executiongetMember()
Member getMember()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call executionsetDefaultLoadBalancer(RemoteLoadBalancer)
void registerLocalMember()
throws java.rmi.RemoteException,
ClusterException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
ClusterException - if this method is called after the cluster shuts down.
void removeLocalMember()
throws java.rmi.RemoteException,
ClusterException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
ClusterException - if this method is called after the cluster shuts down.
boolean isAdminServerCrashed()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
boolean isTaskQueueFull(int priority)
throws java.rmi.RemoteException,
ClusterException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution
ClusterException - if this method is called after the cluster shuts down.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||