|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--ilog.mt.IlSynchronizationStrategy
|
+--ilog.mt.IlSynchronizeOnLockStrategy
This class provides an implementation of the
IlSynchronizationStrategy abstract class.
It uses synchronization on an object. This class can be used in a servlet
environment.
| Fields inherited from class ilog.mt.IlSynchronizationStrategy |
_DefaultAlreadyInitialized, _DefaultStrategy, DEFAULT_PROPERTY |
| Constructor Summary | |
IlSynchronizeOnLockStrategy()
|
|
| Method Summary | |
boolean |
synchronizeRun(java.lang.Runnable runnable,
java.lang.Object lock)
The runnable parameter is run in a block synchronizing on the lock parameter. |
| Methods inherited from class ilog.mt.IlSynchronizationStrategy |
GetDefault, readLock, SetDefault, writeLock |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IlSynchronizeOnLockStrategy()
| Method Detail |
public boolean synchronizeRun(java.lang.Runnable runnable,
java.lang.Object lock)
IlLockProxy.getLock() method is used to
synchronize.synchronizeRun in class IlSynchronizationStrategyilog.mt.IlSynchronizationStrategyrunnable - The Runnable object on which the run
method will be calledlock - This object may be used as the object to synchronize on
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||