general question

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

general question

voipp
need help. What is the use of EvictableEntry.meta  ? Why do we need to ship
some meta to entry ?
--

*Best Regards,*

*Kuznetsov Aleksey*
Reply | Threaded
Open this post in threaded view
|

Re: general question

Andrew Mashenkov
Hi Aleksey,

EvictableEntry.meta is used by EvictionManager to track entry.
Actually it may contains Node of EvictionPolicy queue to manupulate queue
items in more efficient way.

On Tue, Feb 14, 2017 at 4:26 PM, ALEKSEY KUZNETSOV <[hidden email]
> wrote:

> need help. What is the use of EvictableEntry.meta  ? Why do we need to ship
> some meta to entry ?
> --
>
> *Best Regards,*
>
> *Kuznetsov Aleksey*
>



--
Best regards,
Andrey V. Mashenkov
Reply | Threaded
Open this post in threaded view
|

Re: general question

voipp
hmm, why and how EvictionManager tracks an entry ?

вт, 14 февр. 2017 г. в 23:07, Andrey Mashenkov <[hidden email]>:

> Hi Aleksey,
>
> EvictableEntry.meta is used by EvictionManager to track entry.
> Actually it may contains Node of EvictionPolicy queue to manupulate queue
> items in more efficient way.
>
> On Tue, Feb 14, 2017 at 4:26 PM, ALEKSEY KUZNETSOV <
> [hidden email]
> > wrote:
>
> > need help. What is the use of EvictableEntry.meta  ? Why do we need to
> ship
> > some meta to entry ?
> > --
> >
> > *Best Regards,*
> >
> > *Kuznetsov Aleksey*
> >
>
>
>
> --
> Best regards,
> Andrey V. Mashenkov
>
--

*Best Regards,*

*Kuznetsov Aleksey*
Reply | Threaded
Open this post in threaded view
|

Re: general question

Andrew Mashenkov
Hi Alexey,

See how
org.apache.ignite.internal.processors.cache.CacheEvictableEntryImpl.meta()
is used by,
e.g. org.apache.ignite.cache.eviction.fifo.FifoEvictionPolicy.touch()
method that is calling when entry accessed.



On Wed, Feb 15, 2017 at 6:10 PM, ALEKSEY KUZNETSOV <[hidden email]
> wrote:

> hmm, why and how EvictionManager tracks an entry ?
>
> вт, 14 февр. 2017 г. в 23:07, Andrey Mashenkov <[hidden email]
> >:
>
> > Hi Aleksey,
> >
> > EvictableEntry.meta is used by EvictionManager to track entry.
> > Actually it may contains Node of EvictionPolicy queue to manupulate queue
> > items in more efficient way.
> >
> > On Tue, Feb 14, 2017 at 4:26 PM, ALEKSEY KUZNETSOV <
> > [hidden email]
> > > wrote:
> >
> > > need help. What is the use of EvictableEntry.meta  ? Why do we need to
> > ship
> > > some meta to entry ?
> > > --
> > >
> > > *Best Regards,*
> > >
> > > *Kuznetsov Aleksey*
> > >
> >
> >
> >
> > --
> > Best regards,
> > Andrey V. Mashenkov
> >
> --
>
> *Best Regards,*
>
> *Kuznetsov Aleksey*
>



--
Best regards,
Andrey V. Mashenkov