[CDO][0.8.0] IStoreReader API [message #609521] |
Sat, 25 August 2007 16:34 |
Simon Mc Duff Messages: 596 Registered: July 2009 |
Senior Member |
|
|
Hi Eike,
I have the following problem.
I use CDO to access my database.
Objects can be modify through that API. In this case the CDORevisionResolver
has always the latest version.
In my context, objects can be modified through another application that
doesn't use CDO (native one).
The problem is when my objects are in my cache (CDORevisionResolver - server
side) it doesn't check with StoreReader if the version he got its the
latest one.
I think it should.
So I will like to add the following :
/** If it hit the cache... but need to change the values if not good anymore
**/
void IStoreReader.verifyRevision(CDORevision )
// In these calls
TimeLine.getRevision()
TimeLine.getRevision(long timestamp)
>> We can call RevisionManager.verifyRevision in the case where we did found
>> a CDORevision in the cache.
RevisionManager.verifyRevision(CDORevision)
RevisionManager.verifyRevision(CDORevision, long timestamp)
>> We can call IstoreReader.verifyRevision(CDORevision )
If you agree I cann add a feature request in Bugzilla
|
|
|
Powered by
FUDForum. Page generated in 0.03852 seconds