||Oracle Tips by Burleson
Say that, within your program, you used the
setPriority() method to set
your Thread to a particular priority. Later in the program, you call
the getPriority() method,
expecting to have returned the same value you specified when calling
setPriority(). Is it
possible for getPriority to
return a different value from the one you requested, even if no one
has made a manual change to the priority?
Skill Level: High
Expected answer: Yes, this is possible.
In some cases, the JVM may have to adjust the priority downward to
match the capabilities of the underlying operating system.
The above text is
an excerpt from:
Conducting the Java
by Jeffrey M. Hunter
Need an Oracle Mentor?
BEI is now offering personal mentors for Oracle DBAs where you can have an
Oracle expert right at your fingertips, anytime day or night. We work with
hundreds of Oracle databases every year, so we know exactly how to quickly
assist you with any Oracle question.
Why risk an unplanned outage? You can now get telephone access to Don
Burleson or any of his Oracle Certified DBAs with more than 20 years of
full-time IT experience. Click here for details: