Re: Eviction Events with offheap values

2016-05-22 Thread Andrey Gura
FHEAP_TIERED > > > >>> - > > > >>> in that cases the hasOldValue is true but the actual value is null. > > > >>> > > > >>> What we are trying to accomplish is to persist entries to a > database > > &g

Re: Eviction Events with offheap values

2016-05-19 Thread Dmitriy Setrakyan
;> > > >>> What we are trying to accomplish is to persist entries to a database > > only > > >>> when they either get removed, expired or evicted because the max > cache > > >>> size > > >>> is reached and it looks like those events

Re: Eviction Events with offheap values

2016-05-18 Thread Andrey Gura
alexey.scherbak...@gmail.com> > Date: Mon, May 16, 2016 at 1:33 AM > Subject: Re: Eviction Events with offheap values > To: u...@ignite.apache.org > > > Andrey, thanks for the clarification. > > Abraham, it seems EvictionPolicy is not appropriate solution for your case. &g

Fwd: Eviction Events with offheap values

2016-05-16 Thread Dmitriy Setrakyan
;>> org.apache.ignite.internal.processors.cache.GridCacheEvictionManager one >>> could replace line 708 from >>> >>> CacheObject oldVal = recordable ? entry.rawGet() : null; >>> >>> to >>> >>> CacheObject oldVal = record