com.hazelcast.management
Class MonitoredThread

java.lang.Object
  extended by com.hazelcast.management.MonitoredThread
All Implemented Interfaces:
Comparable<MonitoredThread>

public class MonitoredThread
extends Object
implements Comparable<MonitoredThread>

Holds monitoring information( CPU percentage etc.) for threads.


Constructor Summary
MonitoredThread(String name, long threadId, int cpuPercentage)
           
 
Method Summary
 int compareTo(MonitoredThread o)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MonitoredThread

public MonitoredThread(String name,
                       long threadId,
                       int cpuPercentage)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(MonitoredThread o)
Specified by:
compareTo in interface Comparable<MonitoredThread>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.