jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "ExamplesPage" by BertrandDelacretaz
Date Fri, 27 Jul 2007 08:07:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by BertrandDelacretaz:
http://wiki.apache.org/jackrabbit/ExamplesPage

The comment on the change is:
Mention the CacheManager page

------------------------------------------------------------------------------
  }}}
  
  === Jackrabbit Cache Configuration ===
+ This info has moved to the CacheManager page.
  
- Use the following code to change the settings of the Jackrabbit item state cache:
- {{{
- CacheManager manager = ((RepositoryImpl) repository).getCacheManager();
- manager.setMaxMemory(8 * 1024 * 1024); // default is 16 * 1024 * 1024
- manager.setMaxMemoryPerCache(1024 * 1024); // default is 4 * 1024 * 1024
- manager.setMinMemoryPerCache(64 * 1024); // default is 128 * 1024
- }}}
- 

Mime
View raw message