|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.commons.coordinate.singlevm.SingleVMSyncer
public class SingleVMSyncer
Description:
implementation of the Syncer for the singleVM mode.
Initial Date: 17.09.2007
| Method Summary | ||
|---|---|---|
void |
assertAlreadyDoInSyncFor(OLATResourceable ores)
Deprecated. Check if already in synchronized block for certain olat-resource |
|
|
doInSync(OLATResourceable ores,
SyncerCallback<T> callback)
Deprecated. guarantees that the code r is running serialized in regard to other code with the same resourceable |
|
void |
doInSync(OLATResourceable ores,
SyncerExecutor executor)
Deprecated. same as doInSync(OLATResourceable ores, SyncerCallback, but without return object. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public <T> T doInSync(OLATResourceable ores,
SyncerCallback<T> callback)
Syncer
doInSync in interface Syncerores - the resourceable to sync uponcallback - the code to be executed in the protected region (it is executed synchronously, that is, within the same thread as the caller of this method)
org.olat.core.util.coordinate.Syncer#doInSync(org.olat.core.id.OLATResourceable,
java.lang.Runnable)
public void doInSync(OLATResourceable ores,
SyncerExecutor executor)
SyncerdoInSync(OLATResourceable ores, SyncerCallback action) , but without return object.
doInSync in interface Syncerpublic void assertAlreadyDoInSyncFor(OLATResourceable ores)
Syncer
assertAlreadyDoInSyncFor in interface Syncer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||