public class ClientRecord extends Object implements Comparable, Serializable
ClientVmRecord, and the RMI object used for communicating test
instructions to the thread. It also contains runtime information used to
manage thread scheduling and task execution.| Modifier | Constructor and Description |
|---|---|
protected |
ClientRecord(int tid,
ClientVmRecord vm)
Used by schedulers to create pending clients.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
protected long |
getStartTime() |
protected TestTask |
getTask() |
protected int |
getTaskIndex() |
RemoteTestModuleIF |
getTestModule() |
HydraThreadGroup |
getThreadGroup() |
int |
getThreadGroupId() |
String |
getThreadGroupName() |
int |
getTid() |
protected boolean |
hadError() |
protected void |
initCachedString()
Caches the client string, initialized as part of client registration.
|
protected void |
initRuntime()
Used by schedulers to initialize and reset the runtime state.
|
protected boolean |
isBusy() |
protected void |
setBusy(boolean aBusy) |
protected void |
setError() |
protected void |
setStartTime(long t) |
protected void |
setTask(TestTask t) |
protected void |
setTaskIndex(int i) |
protected void |
setTestModule(RemoteTestModuleIF mod) |
protected void |
setThreadGroup(HydraThreadGroup tg) |
protected void |
setThreadGroupId(int tgid) |
protected void |
setThreadGroupName(String tgname) |
String |
toString()
Print information about the client.
|
ClientVmRecord |
vm() |
protected ClientRecord(int tid,
ClientVmRecord vm)
protected void initRuntime()
public ClientVmRecord vm()
public int getTid()
public RemoteTestModuleIF getTestModule()
protected void setTestModule(RemoteTestModuleIF mod)
public HydraThreadGroup getThreadGroup()
protected void setThreadGroup(HydraThreadGroup tg)
public String getThreadGroupName()
protected void setThreadGroupName(String tgname)
public int getThreadGroupId()
protected void setThreadGroupId(int tgid)
protected boolean isBusy()
protected void setBusy(boolean aBusy)
protected boolean hadError()
protected void setError()
protected TestTask getTask()
protected void setTask(TestTask t)
protected int getTaskIndex()
protected void setTaskIndex(int i)
protected long getStartTime()
protected void setStartTime(long t)
public int compareTo(Object o)
compareTo in interface Comparablepublic String toString()
protected void initCachedString()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.