|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientClusterViewProvider
Interface of providers which offers cluster view to the clients.
org.ow2.carol.cmi.client.ClientClusterViewManagerImpl| Method Summary | |
|---|---|
java.util.Set<java.lang.String> |
getApplicationExceptions(java.lang.String objectName)
Return classnames of the application exceptions. |
java.lang.String |
getBusinessName(java.lang.String objectName)
Gets the business interface name for a given object. |
byte[] |
getBytecode(java.lang.String binaryName)
Returns the bytecode of the class that has the given binary name. |
java.lang.String |
getClusterName(java.lang.String objectName)
Return the name of cluster that contains the specified object. |
java.util.List<CMIReference> |
getCMIReferences(java.lang.String objectName,
java.lang.String protocolName)
Gets the nodes list of a given object and protocol. |
long |
getDateOfProperties(java.lang.String objectName)
Returns the date of the last properties for a given object. |
int |
getDelayToRefresh()
Returns the delay to refresh the cluster view. |
java.lang.String |
getItfName(java.lang.String objectName)
Gets the interface name for a given object. |
java.lang.Class<? extends ILBPolicy> |
getLBPolicyClass(java.lang.String objectName)
Gets the class of a given LB policy. |
java.lang.String |
getLBPolicyClassName(java.lang.String objectName)
Returns the name of the class of policy for the object with the given name. |
java.lang.Class<? extends ILBStrategy> |
getLBStrategyClass(java.lang.String objectName)
Gets a class of strategy for the object with the given name. |
java.lang.String |
getLBStrategyClassName(java.lang.String objectName)
Returns the name of the class of strategy for the object with the given name. |
int |
getLoadFactor(ServerRef serverRef)
Returns the load-factor for the server with the given address. |
int |
getMaxPoolSize(java.lang.String objectName)
Returns the maximal size of pool of CMIReferenceable for a object with the given name. |
int |
getMinPoolSize(java.lang.String objectName)
Returns the minimal size of pool of CMIReferenceable for a object with the given name. |
java.util.Map<java.lang.String,java.lang.Object> |
getPropertiesForLBPolicy(java.lang.String objectName)
Returns the properties for the object with the given name. |
boolean |
hasState(java.lang.String objectName)
Return true if the object with the given name is stateful. |
boolean |
isClustered(java.lang.String name)
Returns true if the specified object is clustered. |
boolean |
isPoolToEmpty(java.lang.String objectName)
Returns true if the pool for object with the given name should be empty. |
boolean |
isReplicated(java.lang.String objectName)
Return true if the object with the given name is replicated for high-availability. |
void |
registerClient(java.util.UUID uuid)
Register a new client (for statistic purposes). |
| Method Detail |
|---|
java.lang.String getLBPolicyClassName(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.lang.Class<? extends ILBPolicy> getLBPolicyClass(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException,
java.lang.ClassNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.lang.ClassNotFoundException
java.lang.String getLBStrategyClassName(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.lang.Class<? extends ILBStrategy> getLBStrategyClass(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException,
java.lang.ClassNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.lang.ClassNotFoundException
long getDateOfProperties(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.util.Map<java.lang.String,java.lang.Object> getPropertiesForLBPolicy(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.util.List<CMIReference> getCMIReferences(java.lang.String objectName,
java.lang.String protocolName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - The name of objectprotocolName - The protocol of the client
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
byte[] getBytecode(java.lang.String binaryName)
throws java.rmi.RemoteException,
ClientClusterViewProviderException
binaryName - a binary name of a class
java.rmi.RemoteException - if the connection failed
ClientClusterViewProviderException - if an I/O exception happens on server over the reading of the bytecode
java.lang.String getItfName(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - The name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.lang.String getBusinessName(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - The name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.lang.String getClusterName(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
boolean isClustered(java.lang.String name)
throws java.rmi.RemoteException
name - a name of object
java.rmi.RemoteException - if there are errors on the protocol
int getDelayToRefresh()
throws java.rmi.RemoteException
java.rmi.RemoteException - if there are errors on the protocol
int getMinPoolSize(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
int getMaxPoolSize(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
boolean isPoolToEmpty(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
int getLoadFactor(ServerRef serverRef)
throws java.rmi.RemoteException,
ServerNotFoundException
serverRef - a reference on a server
java.rmi.RemoteException - if there are errors on the protocol
ServerNotFoundException - if none server has the given address
void registerClient(java.util.UUID uuid)
throws java.rmi.RemoteException
uuid - the Universally Unique Identifier of the client
java.rmi.RemoteException - if there are errors on the protocol
boolean isReplicated(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
boolean hasState(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
java.util.Set<java.lang.String> getApplicationExceptions(java.lang.String objectName)
throws java.rmi.RemoteException,
ObjectNotFoundException
objectName - a name of object
java.rmi.RemoteException - if there are errors on the protocol
ObjectNotFoundException - if none object has the given name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||