You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Markus Wiesenbacher <ma...@wiesenbacher.de> on 2015/04/08 22:41:27 UTC

CacheDistributionMode

Hi guys,

 

what is the replacement for the class CacheDistributionMode in v1.0.0?

 

Thanks

Markus ;)


Re: CacheDistributionMode

Posted by Dmitriy Setrakyan <ds...@apache.org>.
Markus,

Try LruEvictionPolicy.

Great to hear that Ignite makes migration from Hazelcast easy :)

D.

On Wed, Apr 8, 2015 at 8:18 PM, Markus Wiesenbacher <
mailinglist@codefreun.de> wrote:

> Thanks Dmitriy,
>
> another question please: My tests fail because of missing
> CacheLruEvictionPolicy, ist there any replacement?
>
> BTW: Great product, I´ve changed my Hazelcast-based application to
> GridGain/Ignite within hours. Thumbs up!
>
> Many thanks
> Markus
>
> -----Ursprüngliche Nachricht-----
> Von: Dmitriy Setrakyan [mailto:dsetrakyan@gridgain.com]
> Gesendet: Donnerstag, 9. April 2015 00:46
> An: dev@ignite.incubator.apache.org
> Cc: markus@wiesenbacher.de
> Betreff: Re: CacheDistributionMode
>
> Hi Markus,
>
> First of all, thanks for your interest in Apache Ignite.
>
> There is no need for CacheDistributionMode at all anymore. You can
> configure PARTITIONED, or REPLICATED cacheMode and the cache will be
> automatically deployed on all the data nodes.
>
> If you need to connect to it from a client, simply call
> "Ignite.getOrCreateCache(...)" method from the client side and you will get
> client side access to it.
>
> If you need to configure a Near cache on the client side, then you should
> call "Ignite.getOrCreateNearCache(...)" method.
>
> More information can be found here:
> - Deploying clients and servers:
> http://apacheignite.readme.io/v1.0/docs/clients-vs-servers
>
> - Near Caches:
> http://apacheignite.readme.io/v1.0/docs/near-caches
>
> Let us know if you have more questions.
>
> Thanks,
> D.
>
> On Wed, Apr 8, 2015 at 1:41 PM, Markus Wiesenbacher <
> markus@wiesenbacher.de>
> wrote:
>
> > Hi guys,
> >
> >
> >
> > what is the replacement for the class CacheDistributionMode in v1.0.0?
> >
> >
> >
> > Thanks
> >
> > Markus ;)
> >
> >
>
>

AW: CacheDistributionMode

Posted by Markus Wiesenbacher <ma...@codefreun.de>.
Thanks Dmitriy,

another question please: My tests fail because of missing CacheLruEvictionPolicy, ist there any replacement?

BTW: Great product, I´ve changed my Hazelcast-based application to GridGain/Ignite within hours. Thumbs up!

Many thanks
Markus

-----Ursprüngliche Nachricht-----
Von: Dmitriy Setrakyan [mailto:dsetrakyan@gridgain.com] 
Gesendet: Donnerstag, 9. April 2015 00:46
An: dev@ignite.incubator.apache.org
Cc: markus@wiesenbacher.de
Betreff: Re: CacheDistributionMode

Hi Markus,

First of all, thanks for your interest in Apache Ignite.

There is no need for CacheDistributionMode at all anymore. You can configure PARTITIONED, or REPLICATED cacheMode and the cache will be automatically deployed on all the data nodes.

If you need to connect to it from a client, simply call "Ignite.getOrCreateCache(...)" method from the client side and you will get client side access to it.

If you need to configure a Near cache on the client side, then you should call "Ignite.getOrCreateNearCache(...)" method.

More information can be found here:
- Deploying clients and servers:
http://apacheignite.readme.io/v1.0/docs/clients-vs-servers

- Near Caches:
http://apacheignite.readme.io/v1.0/docs/near-caches

Let us know if you have more questions.

Thanks,
D.

On Wed, Apr 8, 2015 at 1:41 PM, Markus Wiesenbacher <ma...@wiesenbacher.de>
wrote:

> Hi guys,
>
>
>
> what is the replacement for the class CacheDistributionMode in v1.0.0?
>
>
>
> Thanks
>
> Markus ;)
>
>


Re: CacheDistributionMode

Posted by Dmitriy Setrakyan <ds...@gridgain.com>.
Hi Markus,

First of all, thanks for your interest in Apache Ignite.

There is no need for CacheDistributionMode at all anymore. You can
configure PARTITIONED, or REPLICATED cacheMode and the cache will be
automatically deployed on all the data nodes.

If you need to connect to it from a client, simply call
"Ignite.getOrCreateCache(...)" method from the client side and you will get
client side access to it.

If you need to configure a Near cache on the client side, then you should
call "Ignite.getOrCreateNearCache(...)" method.

More information can be found here:
- Deploying clients and servers:
http://apacheignite.readme.io/v1.0/docs/clients-vs-servers

- Near Caches:
http://apacheignite.readme.io/v1.0/docs/near-caches

Let us know if you have more questions.

Thanks,
D.

On Wed, Apr 8, 2015 at 1:41 PM, Markus Wiesenbacher <ma...@wiesenbacher.de>
wrote:

> Hi guys,
>
>
>
> what is the replacement for the class CacheDistributionMode in v1.0.0?
>
>
>
> Thanks
>
> Markus ;)
>
>