public class AgentConfig
extends java.lang.Object
implements java.io.Serializable
The distribution of agents between the instance and its replica(s).
| Constructor and Description |
|---|
AgentConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Distribution> |
getDistributions()
Information about traffic distributions.
|
int |
hashCode() |
void |
setDistributions(java.util.Collection<Distribution> distributions)
Information about traffic distributions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentConfig |
withDistributions(java.util.Collection<Distribution> distributions)
Information about traffic distributions.
|
AgentConfig |
withDistributions(Distribution... distributions)
Information about traffic distributions.
|
public java.util.List<Distribution> getDistributions()
Information about traffic distributions.
Information about traffic distributions.
public void setDistributions(java.util.Collection<Distribution> distributions)
Information about traffic distributions.
distributions - Information about traffic distributions.
public AgentConfig withDistributions(Distribution... distributions)
Information about traffic distributions.
Returns a reference to this object so that method calls can be chained together.
distributions - Information about traffic distributions.
public AgentConfig withDistributions(java.util.Collection<Distribution> distributions)
Information about traffic distributions.
Returns a reference to this object so that method calls can be chained together.
distributions - Information about traffic distributions.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object