VisiBroker for Java

com.inprise.vbroker.CosNamingExt
Interface ClusterManagerOperations

All Known Subinterfaces:
ClusterManager

public interface ClusterManagerOperations

Creates, finds and lists Clusters. Please see the Developers Guide for details.


Method Summary
 Cluster[] clusters()
          Returns the list of Clusters associated with the ClusterManager.
 Cluster create_cluster(java.lang.String algo)
          Creates a cluster object with the specified criterion.
 Cluster find_cluster_str(NamingContext ctx, java.lang.String n)
          Finds the cluster from a context that was previously bound to the context by the given name in the stringified form.
 Cluster find_cluster(NamingContext ctx, NameComponent[] n)
          Finds the cluster from a context that was previously bound to the context by the given name.
 

Method Detail

clusters

Cluster[] clusters()
Returns the list of Clusters associated with the ClusterManager.


find_cluster_str

Cluster find_cluster_str(NamingContext ctx,
                         java.lang.String n)
                         throws ClusterNotFound,
                                CannotProceed,
                                InvalidName
Finds the cluster from a context that was previously bound to the context by the given name in the stringified form.

Parameters:
ctx - the NamingContext to be searched
n - the name of the cluster in stringified form
Throws:
ClusterNotFound
CannotProceed
InvalidName

find_cluster

Cluster find_cluster(NamingContext ctx,
                     NameComponent[] n)
                     throws ClusterNotFound,
                            CannotProceed,
                            InvalidName
Finds the cluster from a context that was previously bound to the context by the given name.

Parameters:
ctx - the NamingContext to be searched
n - the name of the cluster
Throws:
ClusterNotFound
CannotProceed
InvalidName

create_cluster

Cluster create_cluster(java.lang.String algo)
Creates a cluster object with the specified criterion.

Parameters:
algo - the criterion to be used for the cluster.

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online