ClusterType- The type of Cluster
DataType- The data type from which to create a new cluster.
public interface IncrementalClusterCreator<ClusterType extends Cluster<DataType>,DataType> extends ClusterCreator<ClusterType,DataType>, CloneableSerializable
ClusterCreatorthat can incrementally add and remove members from a cluster.
|Modifier and Type||Method and Description|
Adds a member to the given cluster.
Creates a new, empty cluster.
Removes a member from the given cluster.
void addClusterMember(ClusterType cluster, DataType member)
cluster- The cluster to add a member to.
member- The member to add to the cluster.
boolean removeClusterMember(ClusterType cluster, DataType member)
cluster- The cluster to remove the member from.
member- The member to remove.