Class horb.orb.ThreadStatus
All Packages Class Hierarchy This Package Previous Next Index
Class horb.orb.ThreadStatus
java.lang.Object
|
+----horb.orb.ThreadStatus
- public class ThreadStatus
- extends Object
- implements Cloneable
container class to carry status of threads.
-
classNo
- class number of the currently being called method.
-
clientName
- client's hostname.
-
currentTime
- the time of request.
-
lastClassNo
- class number of the lastly called method.
-
lastMethodNo
- method number of the lastly called method.
-
major_version
- major version number of peer proxy class.
-
methodNo
- method number of the currently being called method.
-
minor_version
- minor version number of peer proxy class.
-
netAddress
- client's network address (e.g.
-
objectID
- object ID of this thread.
-
port
- port of this thread
-
priority
- threads' priority
-
requests
- number of calls for methods.
-
startTime
- start time of this thread.
-
threadName
- name of this HORB thread.
-
userName
- client's username.
-
ThreadStatus()
-
-
get()
-
-
list(PrintStream)
-
threadName
public String threadName
- name of this HORB thread. You can suspend, resume, stop this thread
with class HORBAgent.
objectID
public String objectID
- object ID of this thread.
major_version
public short major_version
- major version number of peer proxy class.
minor_version
public short minor_version
- minor version number of peer proxy class.
priority
public int priority
- threads' priority
port
public int port
- port of this thread
netAddress
public byte netAddress[]
- client's network address (e.g. IP address) in network byte order.
This can be a 64bit IP address.
clientName
public String clientName
- client's hostname. this parameter can be obtained if clientName parameter
is true when HORBAgent.getServerStatus() is called. This option
causes the operation quite slow. However, we don't have any means
to get hostname from network address, because InetAddress.getNameByAddr()
is a private method (;-<).
userName
public String userName
- client's username. If null, it is anonymous access.
startTime
public long startTime
- start time of this thread. Milli sec since epoch.
currentTime
public long currentTime
- the time of request. Milli sec since epoch.
currentTime-startTime shows life time of this thread.
requests
public int requests
- number of calls for methods.
methodNo
public short methodNo
- method number of the currently being called method. Zero if no method
is under execution currently. You can find method number in
Class_Skeleton.dispatch().
classNo
public short classNo
- class number of the currently being called method. This value is
corresponding to the methodNo. By using classNo and methodNo,
you can specify what method is called now.
If a method of a class is under
execution and the class is the 3rd subclass of java.class.Object,
the class has class number 3.
lastMethodNo
public short lastMethodNo
- method number of the lastly called method. Zero if no method
has been executed.
lastClassNo
public short lastClassNo
- class number of the lastly called method.
ThreadStatus
public ThreadStatus()
get
public synchronized ThreadStatus get()
list
public void list(PrintStream ps)
All Packages Class Hierarchy This Package Previous Next Index