public class HydraThreadSubgroup
extends java.lang.Object
implements java.io.Serializable
HydraThreadGroup. A subgroup contains the total
number of threads in the subgroup, an optional number of VMs from which
to choose the threads, and an optional set of logical client names from
which to choose the VMs.| Constructor and Description |
|---|
HydraThreadSubgroup(java.lang.String name)
Create a hydra thread subgroup.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getClientNames()
Gets the logical client names the vms in this subgroup will come from.
|
java.lang.String |
getName()
Gets the name of the thread group this subgroup belongs to.
|
int |
getTotalThreads()
Gets the number of threads in this subgroup.
|
int |
getTotalVMs()
Gets the number of vms the threads in this subgroup will come from.
|
void |
setClientNames(java.util.Vector names)
Sets the logical client names the vms used in this subgroup will come from.
|
void |
setTotalThreads(int n)
Sets the number of threads in this subgroup.
|
void |
setTotalVMs(int n)
Sets the number of vms the threads in this subgroup will come from.
|
java.lang.String |
toString() |
public HydraThreadSubgroup(java.lang.String name)
public java.lang.String getName()
public void setTotalThreads(int n)
public int getTotalThreads()
public void setTotalVMs(int n)
public int getTotalVMs()
public void setClientNames(java.util.Vector names)
public java.util.Vector getClientNames()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.