|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Coordinator
Description:
Serves as a facade for all coordinated-related services such as
Syncer (synchronizing access), Locker (locking), Cacher (caching) and
the eventbus (application-wide events)
Initial Date: 17.09.2007
| Method Summary | |
|---|---|
EventBus |
createSingleUserInstance()
do -not- call normally, reserved for internal calls |
Cacher |
getCacher()
|
EventBus |
getEventBus()
|
Locker |
getLocker()
|
java.lang.Integer |
getNodeId()
Deprecated. if you really need the node id try to access it via spring. Search the spring files for ${node.id} for an example. Calling this method depends on a fully loaded OLAT and this is not what you want when doing unit testing without OLAT. If you like to have a service which only runs on one node there is a concept called singleton services. See the UpgradeManager spring config for an example. |
Syncer |
getSyncer()
|
boolean |
isClusterMode()
|
| Method Detail |
|---|
Syncer getSyncer()
EventBus getEventBus()
Locker getLocker()
Cacher getCacher()
EventBus createSingleUserInstance()
java.lang.Integer getNodeId()
boolean isClusterMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||