Class Response
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.group.impl.Response
-
public class Response extends Object
A response to a proposal
-
-
Constructor Summary
Constructors Constructor Description Response(SimpleString groupId, SimpleString clusterName)Response(SimpleString groupId, SimpleString clusterName, SimpleString alternativeClusterName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleStringgetAlternativeClusterName()SimpleStringgetChosenClusterName()SimpleStringgetClusterName()SimpleStringgetGroupId()longgetTimeUsed()booleanisAccepted()StringtoString()voiduse()
-
-
-
Constructor Detail
-
Response
public Response(SimpleString groupId, SimpleString clusterName)
-
Response
public Response(SimpleString groupId, SimpleString clusterName, SimpleString alternativeClusterName)
-
-
Method Detail
-
use
public void use()
-
getTimeUsed
public long getTimeUsed()
-
isAccepted
public boolean isAccepted()
-
getClusterName
public SimpleString getClusterName()
-
getAlternativeClusterName
public SimpleString getAlternativeClusterName()
-
getChosenClusterName
public SimpleString getChosenClusterName()
-
getGroupId
public SimpleString getGroupId()
-
-