+Jacob Barrett <jbarr...@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 <aba...@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.*

Reply via email to