The cache-provider-class Element

From Documentation
Revision as of 03:01, 16 July 2015 by Vincent (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The cache-provider-class Element


[Default: SessionDesktopCacheProvider]

It specifies which class is used to implement the desktop cache. The class must have a default constructor (without any argument), and implement the DesktopCacheProvider interface.

One instance of the cache provider is created and shared for each Web application, so you have to synchronize the access properly.

Available implementations are as follows.

SessionDesktopCacheProvider It stores all desktops from the same session in one single cache. It is simple and fast, but not supporting clustering by default. To support clustering, please check the configuration for clustering.
GlobalDesktopCacheProvider It stores all desktops from the same Web application in one single cache. In other words, it doesn't count on session at all.

It is useful because some Web server, e.g, BEA WebLogic, might be configured to use independent sessions for each request.

Version History

Last Update : 2015/07/16

Version Date Content

Last Update : 2015/07/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.