Search in sources :

Example 6 with AttributeNodeFilter

use of org.apache.ignite.util.AttributeNodeFilter in project ignite by apache.

the class GridCacheReplicatedSetWithNodeFilterSelfTest method collectionConfiguration.

/**
 * {@inheritDoc}
 */
@Override
protected CollectionConfiguration collectionConfiguration() {
    CollectionConfiguration cfg = super.collectionConfiguration();
    cfg.setNodeFilter(new AttributeNodeFilter(ATTR_IGNITE_INSTANCE_NAME, getTestIgniteInstanceName(0)));
    return cfg;
}
Also used : AttributeNodeFilter(org.apache.ignite.util.AttributeNodeFilter) CollectionConfiguration(org.apache.ignite.configuration.CollectionConfiguration)

Aggregations

AttributeNodeFilter (org.apache.ignite.util.AttributeNodeFilter)6 CacheConfiguration (org.apache.ignite.configuration.CacheConfiguration)3 IgniteConfiguration (org.apache.ignite.configuration.IgniteConfiguration)3 CollectionConfiguration (org.apache.ignite.configuration.CollectionConfiguration)2 HashMap (java.util.HashMap)1 Iterator (java.util.Iterator)1 NoSuchElementException (java.util.NoSuchElementException)1 UUID (java.util.UUID)1 CacheEntryEvent (javax.cache.event.CacheEntryEvent)1 Ignite (org.apache.ignite.Ignite)1 IgniteCheckedException (org.apache.ignite.IgniteCheckedException)1 RendezvousAffinityFunction (org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction)1 ClusterNode (org.apache.ignite.cluster.ClusterNode)1 DataRegionConfiguration (org.apache.ignite.configuration.DataRegionConfiguration)1 DataStorageConfiguration (org.apache.ignite.configuration.DataStorageConfiguration)1 NodeStoppingException (org.apache.ignite.internal.NodeStoppingException)1 CacheDataRow (org.apache.ignite.internal.processors.cache.persistence.CacheDataRow)1 Test (org.junit.jupiter.api.Test)1