Class ObjectNameExcludeFilter

  • All Implemented Interfaces:
    Filter, Serializable

    public class ObjectNameExcludeFilter
    extends Base
    implements Filter
    Filter used to prevent registering MBeans that match the specified pattern.
    Since:
    Coherence 3.6
    Author:
    gg 2010.05.02
    See Also:
    Serialized Form
    • Field Detail

      • m_filter

        protected Filter m_filter
        The underlying filter.
    • Constructor Detail

      • ObjectNameExcludeFilter

        public ObjectNameExcludeFilter​(String[] asPattern)
        Construct an ObjectNameExcludeFilter based on one or more regular expressions. The MBeans that match any of the specified patterns will not be registered with the Coherence JMX Framework.
        Parameters:
        asPattern - an array of patterns to match
      • ObjectNameExcludeFilter

        public ObjectNameExcludeFilter​(String sPatterns)
        Construct an ObjectNameExcludeFilter based on one or more regular expressions. The MBeans that match any of the specified patterns will not be registered with the Coherence JMX Framework.
        Parameters:
        sPatterns - a white space delimited sequence of patterns to match
    • Method Detail

      • evaluate

        public boolean evaluate​(Object o)
        Apply the test to the input argument.
        Specified by:
        evaluate in interface Filter
        Parameters:
        o - the input argument to evaluate
        Returns:
        true if the input argument matches the filter, otherwise false
      • equals

        public boolean equals​(Object o)
        Compare the ObjectNameExcludeFilter with another object to determine equality. Two ObjectNameExcludeFilter objects are considered equal iff they belong to exactly the same class and their filters are equal.
        Overrides:
        equals in class Object
        Returns:
        true iff this ObjectNameExcludeFilter and the passed object are equivalent ObjectNameExcludeFilters
      • hashCode

        public int hashCode()
        Determine a hash value for the ObjectNameExcludeFilter object according to the general Object.hashCode() contract.
        Overrides:
        hashCode in class Object
        Returns:
        an integer hash value for this ObjectNameExcludeFilter object
      • toString

        public String toString()
        Return a human-readable description for this Filter.
        Overrides:
        toString in class Object
        Returns:
        a String description of the Filter