Hi Dick!

I'm afraid the answer for TDB2 and TIM is no, not out of the box. Both use MVCC 
techniques, not buffering operations. Andy can tell you about TDB1. 

This might (maybe) be helpful:

https://github.com/apache/jena/commit/241060548a9fca777b7d40f1f216ae7ed930b20e

Before Andy and I got TIM into the design it now has (multiple MVCC indexes 
connected transactionally) I did another design that _does_ use buffering of 
operations. Since we didn't go with it, we cut it out of the codebase, but the 
history is there if you find it useful. 

ajs6f

> On Oct 23, 2019, at 5:58 AM, Dick Murray <[email protected]> wrote:
> 
> Hi.
> 
> Is it possible to natively detect whether a write has occurred to a
> DatasetGraph since a particular epoch?
> 
> For the purposes of caching if I perform an expensive read from a
> DatasetGraph knowing whether I need to invalidate the cache is very useful.
> Does TDB or the Mem natively track if a write has occurred?
> 
> Currently I am wrapping the Transactional but am interested if this can be
> shimmed to the underlying SPI.
> 
> Regards DickM

Reply via email to