Local cache for AtomicConfiguration

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

Local cache for AtomicConfiguration

Pavel Konstantinov
Hi, Igniters

Does it make sense to set cacheMode = LOCAl for AtomicConfiguration.

property name="atomicConfiguration">
            <bean
class="org.apache.ignite.configuration.AtomicConfiguration">
                <property name="cacheMode" value="LOCAL"/>
            </bean>
</property>

Such configuration works fine.

I'm tried to find answer on readme.io (
https://apacheignite.readme.io/v1.4/docs/atomic-types) but found nothing
about this.

Could anyone to clarify this moment?

--

Pavel
Reply | Threaded
Open this post in threaded view
|

Re: Local cache for AtomicConfiguration

Denis Magda
Hi Pavel,

It's difficult to find a use case why the end user prefers Ignite's
atomic data types (when cacheMode=LOCAL) to standard one delivered in JDK.
Probably to do some testing on a single VM and node.

--
Denis

On 11/23/2015 6:20 AM, Pavel Konstantinov wrote:

> Hi, Igniters
>
> Does it make sense to set cacheMode = LOCAl for AtomicConfiguration.
>
> property name="atomicConfiguration">
>              <bean
> class="org.apache.ignite.configuration.AtomicConfiguration">
>                  <property name="cacheMode" value="LOCAL"/>
>              </bean>
> </property>
>
> Such configuration works fine.
>
> I'm tried to find answer on readme.io (
> https://apacheignite.readme.io/v1.4/docs/atomic-types) but found nothing
> about this.
>
> Could anyone to clarify this moment?
>