| Author |
Monitor class in Java
|
rohan yadav
Ranch Hand
Joined: Oct 13, 2009
Posts: 156
|
|
|
What exactly Monitor.Pulse() method do in Java...??
|
Sage of The Monstrous Toad of Mount Myoboku
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
|
Which Monitor class are you talking about? Java SE only has one Monitor class, javax.management.monitor.Monitor, and it does not have a Pulse() method (nor a pulse() method). In fact, I've checked the index of the Java SE Javadoc pages, and there is no Pulse() or pulse() method at all. So why don't you start by telling us which Monitor class this is? In other words, TellTheDetails.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
Or stick your arm in the nearest sphygmomanometer.
|
[My Blog]
All roads lead to JavaRanch
|
 |
rohan yadav
Ranch Hand
Joined: Oct 13, 2009
Posts: 156
|
|
That was also first initial thought, I m currently refactoring code, so i basicaaly dindint understand the code.. so I asked Here is code..
Or stick your arm in the nearest sphygmomanometer.
. And i dont need a such thing for such a small topic,but i bet you are carrying sphygmomanometer in your pocket that for sure
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
|
Can you show us your import for Monitor? Because I still don't know which class it is.
|
 |
Suhrid Karthik
Ranch Hand
Joined: Aug 31, 2008
Posts: 58
|
|
|
C# has a Monitor class. Are you sure this isn't C# code ?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
|
Looks like it is. In which case it seems like it works like Object.notify(), just like Monitor.PulseAll(Object) seems to work like Object.notifyAll().
|
 |
 |
|
|
subject: Monitor class in Java
|
|
|