Hi David, It was my misunderstanding.
Yes, NodeFilter set in CacheConfiguration will meet your needs. On Mon, Feb 6, 2017 at 1:20 PM, davida <[email protected]> wrote: > Hi Andrey, > > Yes, service deployment offers rich functionality in terms of deployment > options, but I am asking about similar functionality related to > deploying/creating caches in .NET/C#. > > I have found something similar here (Microservices example on top of > ApacheIgnite: https://github.com/dmagda/MicroServicesExample) using > IgnitePredicate, but it seems the API does not exist for .NET/C#. > > Here is the code from the repository: > > <bean class="org.apache.ignite.configuration.CacheConfiguration"> > <property name="name" value="vehicles"/> > <property name="memoryMode" value="OFFHEAP_TIERED"/> > > <property name="nodeFilter"> > <bean class="common.filters.DataNodeFilter"/> > </property> > </bean> > > public class DataNodeFilter implements IgnitePredicate<ClusterNode> > { > public boolean apply(ClusterNode node) { > Boolean dataNode = node.attribute("data.node"); > > return dataNode != null && dataNode; > } > } > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/How-to-deploy-cache-to-selected- > cluster-group-tp10437p10447.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- С уважением, Машенков Андрей Владимирович Тел. +7-921-932-61-82 Best regards, Andrey V. Mashenkov Cerr: +7-921-932-61-82
