Search Results for

    Show / Hide Table of Contents

    Class AttributeNodeFilter

    Attribute node filter.

    The filter will evaluate to true if a node has all specified attributes with corresponding values.

    You can set node attributes using UserAttributes property.

    Inheritance
    System.Object
    AttributeNodeFilter
    Implements
    IClusterNodeFilter
    Namespace: Apache.Ignite.Core.Cluster
    Assembly: Apache.Ignite.Core.dll
    Syntax
    public sealed class AttributeNodeFilter : object, IClusterNodeFilter

    Constructors

    AttributeNodeFilter()

    Initializes a new instance of AttributeNodeFilter.

    Declaration
    public AttributeNodeFilter()

    AttributeNodeFilter(String, Object)

    Initializes a new instance of AttributeNodeFilter.

    Declaration
    public AttributeNodeFilter(string attrName, object attrValue)
    Parameters
    Type Name Description
    System.String attrName

    Attribute name.

    System.Object attrValue

    Attribute value.

    Properties

    Attributes

    Attributes dictionary match.

    Declaration
    public IDictionary<string, object> Attributes { get; set; }
    Property Value
    Type Description
    IDictionary<System.String, System.Object>

    Methods

    Invoke(IClusterNode)

    Returns a value indicating whether provided node satisfies this predicate.

    Declaration
    public bool Invoke(IClusterNode node)
    Parameters
    Type Name Description
    IClusterNode node

    Cluster node.

    Returns
    Type Description
    System.Boolean

    Value indicating whether provided node satisfies this predicate.

    Implements

    IClusterNodeFilter
    In This Article
    Back to top © 2015 - 2019 The Apache Software Foundation