org.objectweb.joram.shared.admin

Class SetCluster

Implemented Interfaces:
java.io.Serializable

public class SetCluster
extends AdminRequest

A SetCluster instance is used for adding a given topic to a cluster an other topic is part of, or for creating a new cluster.

See Also:
Serialized Form

Constructor Summary

SetCluster(String initId, String topId)
Constructs a SetCluster instance.

Method Summary

String
getInitId()
Returns the identifier of the topic already part of a cluster, or chosen as the initiator.
String
getTopId()
Returns the identifier of the topic joining the cluster, or the initiator.

Constructor Details

SetCluster

public SetCluster(String initId,
                  String topId)
Constructs a SetCluster instance.

Parameters:

Method Details

getInitId

public String getInitId()
Returns the identifier of the topic already part of a cluster, or chosen as the initiator.


getTopId

public String getTopId()
Returns the identifier of the topic joining the cluster, or the initiator.


Copyright B) 2004 Scalagent - All rights reserved