ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svonn <sveng...@posteo.de>
Subject Re: Question about persisting stream processing results
Date Tue, 23 Jan 2018 18:05:43 GMT

It's less about a specific code snipped, more about a conceptual question:
How to keep a time window of 5 minutes in Offheap/Inmemory while storing
anything older on the harddrive.

That sounds like possible solution! I'll just have to figure out how to
catch, process and delete those properly. 
The docu for expiry policies says:

"Eager TTL

Entries that are expired can be removed from cache either eagerly or when
they are touched by different cache operations. If there is at least one
cache configured with eager TTL enabled, Ignite will create a single thread
to clean up expired entries in the background."

That "or when they are touched by different cache operations" sounds like I
could disable Eager TTL and just set up:


And it would delete the cache entries after executing the listener, is that

- Svonn

Sent from: http://apache-ignite-users.70518.x6.nabble.com/

View raw message