public static Integer getInteger(final Attributes attributes, final String name,
      final Integer defaultValue) {
    final String value = attributes.getValue(name);
    if (null == value) {
      return defaultValue;
    }
    return Integer.valueOf(value);
  }
@return Integer value for named attribute or <code>defaultValue</code> if attribute not
        defined.
@since GemFire 8.1
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXml.java