Forums Register Login

Monitor class in Java

+Pie Number of slices to send: Send
What exactly Monitor.Pulse() method do in Java...??
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
 

Rob Prime wrote:In other words, TellTheDetails.


Or stick your arm in the nearest sphygmomanometer.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Can you show us your import for Monitor? Because I still don't know which class it is.
+Pie Number of slices to send: Send
C# has a Monitor class. Are you sure this isn't C# code ?
+Pie Number of slices to send: Send
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().
Live ordinary life in an extraordinary way. Details embedded in this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1194 times.
Similar Threads
J2EE
WA #2 ..... word association
zipping as self extracting exe
class
c++ or Java--your suggestions please
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:01:45.