Probably, the reasoning for it is that near entries have distributed form, i.e. they are kept in sync with the changes, but actually, they aren't true DHT entries. So GridDistributedCacheEntry is the parent for GridNearCacheEntry and GridDhtCacheEntry and reflects the distributed common nature of its descendants.
On Thu, Mar 9, 2017 at 3:00 PM, ALEKSEY KUZNETSOV <[email protected]> wrote: > it looks strange. Because, DHT = distributed > > чт, 9 мар. 2017 г. в 14:26, Alexander Fedotov < > [email protected] > >: > > > I suppose, GridDistributedCacheEntry contains common logic for Near and > DHT > > entries, while > > GridDhtCacheEntry is it's subclass and contains common logic for DHT > > entries. > > For more details check the class hierarchy. > > > > On Tue, Mar 7, 2017 at 3:07 PM, ALEKSEY KUZNETSOV < > > [email protected]> > > wrote: > > > > > I've found GridDhtCacheEntry and GridDistributedCacheEntry, so they > > > must have been of the same logic ? > > > > > > > > > пт, 3 мар. 2017 г. в 15:03, Alexander Fedotov < > > > [email protected] > > > >: > > > > > > > Yes, DHT stands for distributed hash table. > > > > > > > > On Fri, Mar 3, 2017 at 3:01 PM, ALEKSEY KUZNETSOV < > > > > [email protected]> > > > > wrote: > > > > > > > > > Thank you so much! And the last one. I cannot find definition of > DHT. > > > > Does > > > > > it stand for distributed ? In contrary to Local > > > > > > > > > > пт, 3 мар. 2017 г. в 13:51, Alexander Fedotov < > > > > > [email protected] > > > > > >: > > > > > > > > > > > Probably, IgniteTxHandler#processDhtTxPrepareRequest is what you > > are > > > > > > looking for. > > > > > > Check the data flow from GridDhtTxPrepareRequest#nearWrites > > > > > > > > > > > > On Fri, Mar 3, 2017 at 1:19 PM, ALEKSEY KUZNETSOV < > > > > > > [email protected]> > > > > > > wrote: > > > > > > > > > > > > > Ah, thanks! Which class is responsible for near cache > > > > synchronization ? > > > > > > > > > > > > > > пт, 3 мар. 2017 г. в 13:15, Alexander Fedotov < > > > > > > > [email protected] > > > > > > > >: > > > > > > > > > > > > > > > Hi Aleksey, > > > > > > > > > > > > > > > > Local cache pertains only to the node where it's created and > no > > > > data > > > > > is > > > > > > > > distributed to > > > > > > > > or synchronized with other nodes, while near cache serves as > a > > > > front > > > > > > end > > > > > > > > for a partitioned cache, storing recently requested data > which > > is > > > > > > > > synchronized when it's changed on > > > > > > > > other nodes. > > > > > > > > > > > > > > > > > > > > > > > > On Fri, Mar 3, 2017 at 10:39 AM, ALEKSEY KUZNETSOV < > > > > > > > > [email protected] > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Hi all ! What is the difference between local and near > > > > transactions > > > > > > > > > -- > > > > > > > > > > > > > > > > > > *Best Regards,* > > > > > > > > > > > > > > > > > > *Kuznetsov Aleksey* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Kind regards, > > > > > > > > Alexander. > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > *Best Regards,* > > > > > > > > > > > > > > *Kuznetsov Aleksey* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Kind regards, > > > > > > Alexander. > > > > > > > > > > > -- > > > > > > > > > > *Best Regards,* > > > > > > > > > > *Kuznetsov Aleksey* > > > > > > > > > > > > > > > > > > > > > -- > > > > Kind regards, > > > > Alexander. > > > > > > > -- > > > > > > *Best Regards,* > > > > > > *Kuznetsov Aleksey* > > > > > > > > > > > -- > > Kind regards, > > Alexander. > > > -- > > *Best Regards,* > > *Kuznetsov Aleksey* > -- Kind regards, Alexander.
