public class ClientRecord
extends java.lang.Object
implements java.lang.Comparable, java.io.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(java.lang.Object o) |
protected long |
getStartTime() |
protected TestTask |
getTask() |
protected int |
getTaskIndex() |
RemoteTestModuleIF |
getTestModule() |
HydraThreadGroup |
getThreadGroup() |
int |
getThreadGroupId() |
java.lang.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(java.lang.String tgname) |
java.lang.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 java.lang.String getThreadGroupName()
protected void setThreadGroupName(java.lang.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(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Objectprotected void initCachedString()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.