core/src/main/java/org/infinispan/configuration/cache/DataContainerConfigurationBuilder.java
/**
    * Add key/value property pair to this data container configuration
    *
    * @param key   property key
    * @param value property value
    * @return previous value if exists, null otherwise
    */
Add key/value property pair to this data container configuration
@param key   property key
@param value property value
@return previous value if exists, null otherwise
Add key / value property pair to this data container configuration @param key property key @param value property value @return previous value if exists null otherwise
public DataContainerConfigurationBuilder addProperty(String key, String value) {
      TypedProperties properties = attributes.attribute(PROPERTIES).get();
      properties.put(key, value);
      attributes.attribute(PROPERTIES).set(TypedProperties.toTypedProperties(properties));
      return this;
   }
public DataContainerConfigurationBuilder addProperty ( String key , String value ) { TypedProperties properties = attributes . attribute ( PROPERTIES ) . get ( ) ; properties . put ( key , value ) ; attributes . attribute ( PROPERTIES ) . set ( TypedProperties . toTypedProperties ( properties ) ) ; return this ; }
Add key/value property pair to this data container configuration
 @param key   property key
 @param value property value
 @return previous value if exists, null otherwise
Add key / value property pair to this data container configuration @param key property key @param value property value @return previous value if exists null otherwise