protected void addCacheListener(CacheListener<K, V> aListener) {
      synchronized (this) {
        if (cacheListeners == null) {
          cacheListeners = new ArrayList<>(1);
          cacheListeners.add(aListener);
        } else {
          cacheListeners.add(aListener);
        }
        setHasCacheListeners(true);
      }
    }
Constructs an instance of {@code RegionAttributes} with default settings.

@see AttributesFactory
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java