Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » as I can remove the cache server CDO
as I can remove the cache server CDO [message #1239282] Mon, 03 February 2014 21:13 Go to next message
oscar salazar is currently offline oscar salazarFriend
Messages: 7
Registered: December 2013
Junior Member
Hi I am running my CDO server and let me know how I can remove the cache
Re: as I can remove the cache server CDO [message #1242278 is a reply to message #1239282] Sun, 09 February 2014 09:05 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 03.02.2014 22:13, schrieb oscar salazar:
> Hi I am running my CDO server and let me know how I can remove the cache
The client-side revision cache can be disabled before you open the CDOSession:

CDONet4jSessionConfiguration configuration = CDONet4jUtil.createNet4jSessionConfiguration();
configuration.setRevisionManager(CDORevisionUtil.createRevisionManager(CDORevisionCache.NOOP));

On client or server-side the cache of an existing revision manager can be disabled if the manager is not yet active:

InternalCDORevisionManager.setCache(CDORevisionCache.NOOP);

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:Refresh CDO object color in a tree viewer when permission changes
Next Topic:[Net4j] Considering eclipse proxy setting in HTTPClientConnector
Goto Forum:
  


Current Time: Wed Aug 21 02:41:19 GMT 2019

Powered by FUDForum. Page generated in 0.01671 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top