You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Goutam Tadi <gt...@pivotal.io> on 2017/02/08 01:43:58 UTC
Regarding region.putAll()
Hi Team,
What is the difference between
((LocalRegion) region).basicImportPutAll(map)
and
region.putAll(map)
where regionis a PartitionedRegion ?
Thanks,
Goutam and Bradford.
--
Regards,
*Goutam Tadi.*
Re: Regarding region.putAll()
Posted by Goutam Tadi <gt...@pivotal.io>.
+Jacob Barrett <jb...@pivotal.io>
We are planning to replace the region.put() to one of the putAll()
implementations provided by GemFire.
We have found two ways of doing it.
((LocalRegion) region).basicImportPutAll(map)
and
region.putAll(map)
where regionis a PartitionedRegion ?
Anthony gave us some info and also suggested to discuss with you as well.
1) What would be the potential issues we might face using one of them over
the other ?
2) Which of them works like region.put() ?
Thanks,
Goutam Tadi
On Tue, Feb 7, 2017 at 8:54 PM Anthony Baker <ab...@pivotal.io> wrote:
> LocalRegion.basicImportPutAll() is an internal method used by `gfsh import
> data`. One important difference is that it will skip firing callbacks and
> distributing updates over WAN connections.
>
> Anthony
>
>
> > On Feb 7, 2017, at 5:43 PM, Goutam Tadi <gt...@pivotal.io> wrote:
> >
> > Hi Team,
> >
> > What is the difference between
> >
> > ((LocalRegion) region).basicImportPutAll(map)
> >
> >
> > and
> >
> > region.putAll(map)
> >
> >
> > where regionis a PartitionedRegion ?
> >
> >
> > Thanks,
> > Goutam and Bradford.
> > --
> > Regards,
> > *Goutam Tadi.*
>
> --
Regards,
*Goutam Tadi.*
Re: Regarding region.putAll()
Posted by Anthony Baker <ab...@pivotal.io>.
LocalRegion.basicImportPutAll() is an internal method used by `gfsh import data`. One important difference is that it will skip firing callbacks and distributing updates over WAN connections.
Anthony
> On Feb 7, 2017, at 5:43 PM, Goutam Tadi <gt...@pivotal.io> wrote:
>
> Hi Team,
>
> What is the difference between
>
> ((LocalRegion) region).basicImportPutAll(map)
>
>
> and
>
> region.putAll(map)
>
>
> where regionis a PartitionedRegion ?
>
>
> Thanks,
> Goutam and Bradford.
> --
> Regards,
> *Goutam Tadi.*