|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.realtime.MonitorControl
Abstract superclass for all monitor control policy objects.
Field Summary | |
protected static javax.realtime.MonitorControl |
defaultMonitorControl
|
Constructor Summary | |
MonitorControl()
Create an instance of MonitorControl . |
Method Summary | |
static javax.realtime.MonitorControl |
getMonitorControl()
Gets the monitor control policy of the given instance of this . |
static javax.realtime.MonitorControl |
getMonitorControl(java.lang.Object monitor)
Gets the monitor control policy of the given instance of Object . |
static void |
setMonitorControl(javax.realtime.MonitorControl policy)
Sets the default monitor behavior for object monitors used by synchronized statements and methods in the system. |
static void |
setMonitorControl(java.lang.Object monitor,
javax.realtime.MonitorControl monCtl)
Has the same effect as setMonitorControl() , except
that the policy only affects the indicated object monitor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static javax.realtime.MonitorControl defaultMonitorControl
Constructor Detail |
public MonitorControl()
MonitorControl
.
Method Detail |
public static javax.realtime.MonitorControl getMonitorControl()
this
.
public static javax.realtime.MonitorControl getMonitorControl(java.lang.Object monitor)
Object
.
public static void setMonitorControl(javax.realtime.MonitorControl policy)
policy
- The new monitor control policy. If null nothing happens.public static void setMonitorControl(java.lang.Object monitor, javax.realtime.MonitorControl monCtl)
setMonitorControl()
, except
that the policy only affects the indicated object monitor.
monitor
- The monitor for which the new policy will be in use.
The policy will take effect on the first attempt to
lock the monitor after the completion of this method.
If null nothing will happen.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |