aspose file tools
The moose likes Java in General and the fly likes Monitor class in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Monitor class in Java" Watch "Monitor class in Java" New topic
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
    
  16

Rob Prime wrote:In other words, TellTheDetails.

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().
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Monitor class in Java
 
Similar Threads
zipping as self extracting exe
class
WA #2 ..... word association
J2EE
c++ or Java--your suggestions please