Interface SnmpInterfacePollerConfig

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getAllPackageMatches​(java.lang.String ipaddr)
      getAllPackageMatches
      java.util.Optional<java.lang.String> getCriteria​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getCriteria
      java.lang.String[] getCriticalServiceIds()
      getCriticalServiceIds
      java.lang.String getDownValues()
      getDownValues
      java.lang.String getDownValues​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getDownValues
      java.util.Set<java.lang.String> getInterfaceOnPackage​(java.lang.String pkgName)
      getInterfaceOnPackage
      long getInterval()  
      long getInterval​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getInterval
      java.lang.Integer getMaxVarsPerPdu​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getMaxVarsPerPdu
      java.lang.String getPackageName​(java.lang.String ipaddr)
      getPackageName
      java.util.Optional<java.lang.Integer> getPort​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getPort
      java.util.Optional<java.lang.Integer> getRetries​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getRetries
      java.lang.String getService()
      getService
      boolean getStatus​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getStatus
      int getThreads()
      getThreads
      java.util.Optional<java.lang.Integer> getTimeout​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getTimeout
      java.lang.String getUpValues()
      getUpValues
      java.lang.String getUpValues​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      getUpValues
      boolean hasMaxVarsPerPdu​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      hasMaxVarsPerPdu
      boolean hasPort​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      hasPort
      boolean hasRetries​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      hasRetries
      boolean hasTimeout​(java.lang.String pkgName, java.lang.String pkgInterfaceName)
      hasTimeout
      void rebuildPackageIpListMap()
      rebuildPackageIpListMap
      void update()
      update
      boolean useCriteriaFilters()
      useCriteriaFilters
    • Method Detail

      • getInterval

        long getInterval()
        Returns:
        the Default interval
      • getThreads

        int getThreads()

        getThreads

        Returns:
        a int.
      • useCriteriaFilters

        boolean useCriteriaFilters()

        useCriteriaFilters

        Returns:
        a boolean.
      • getUpValues

        java.lang.String getUpValues()

        getUpValues

        Returns:
        a String
      • getDownValues

        java.lang.String getDownValues()

        getDownValues

        Returns:
        a String
      • getService

        java.lang.String getService()

        getService

        Returns:
        a String object.
      • getCriticalServiceIds

        java.lang.String[] getCriticalServiceIds()

        getCriticalServiceIds

        Returns:
        an array of String objects.
      • getAllPackageMatches

        java.util.List<java.lang.String> getAllPackageMatches​(java.lang.String ipaddr)

        getAllPackageMatches

        Parameters:
        ipaddr - a String object.
        Returns:
        a List object.
      • getPackageName

        java.lang.String getPackageName​(java.lang.String ipaddr)

        getPackageName

        Parameters:
        ipaddr - a String object.
        Returns:
        a String object.
      • getInterfaceOnPackage

        java.util.Set<java.lang.String> getInterfaceOnPackage​(java.lang.String pkgName)

        getInterfaceOnPackage

        Parameters:
        pkgName - a String object.
        Returns:
        a Set object.
      • getStatus

        boolean getStatus​(java.lang.String pkgName,
                          java.lang.String pkgInterfaceName)

        getStatus

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a boolean.
      • getInterval

        long getInterval​(java.lang.String pkgName,
                         java.lang.String pkgInterfaceName)

        getInterval

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a long.
      • getCriteria

        java.util.Optional<java.lang.String> getCriteria​(java.lang.String pkgName,
                                                         java.lang.String pkgInterfaceName)

        getCriteria

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a String object.
      • hasPort

        boolean hasPort​(java.lang.String pkgName,
                        java.lang.String pkgInterfaceName)

        hasPort

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a boolean.
      • getPort

        java.util.Optional<java.lang.Integer> getPort​(java.lang.String pkgName,
                                                      java.lang.String pkgInterfaceName)

        getPort

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a int.
      • hasTimeout

        boolean hasTimeout​(java.lang.String pkgName,
                           java.lang.String pkgInterfaceName)

        hasTimeout

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a boolean.
      • getTimeout

        java.util.Optional<java.lang.Integer> getTimeout​(java.lang.String pkgName,
                                                         java.lang.String pkgInterfaceName)

        getTimeout

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a int.
      • hasRetries

        boolean hasRetries​(java.lang.String pkgName,
                           java.lang.String pkgInterfaceName)

        hasRetries

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a boolean.
      • getRetries

        java.util.Optional<java.lang.Integer> getRetries​(java.lang.String pkgName,
                                                         java.lang.String pkgInterfaceName)

        getRetries

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a int.
      • hasMaxVarsPerPdu

        boolean hasMaxVarsPerPdu​(java.lang.String pkgName,
                                 java.lang.String pkgInterfaceName)

        hasMaxVarsPerPdu

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a boolean.
      • getMaxVarsPerPdu

        java.lang.Integer getMaxVarsPerPdu​(java.lang.String pkgName,
                                           java.lang.String pkgInterfaceName)

        getMaxVarsPerPdu

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a int.
      • getUpValues

        java.lang.String getUpValues​(java.lang.String pkgName,
                                     java.lang.String pkgInterfaceName)

        getUpValues

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a String.
      • getDownValues

        java.lang.String getDownValues​(java.lang.String pkgName,
                                       java.lang.String pkgInterfaceName)

        getDownValues

        Parameters:
        pkgName - a String object.
        pkgInterfaceName - a String object.
        Returns:
        a String.
      • rebuildPackageIpListMap

        void rebuildPackageIpListMap()

        rebuildPackageIpListMap

      • update

        void update()
             throws java.io.IOException

        update

        Throws:
        java.io.IOException - if any.