Interface MetadataWriteLimiter

All Superinterfaces:
Serializable
All Known Implementing Classes:
StandardMetadataLimiter

public interface MetadataWriteLimiter extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String field, String value, Map<String,String[]> data)
    Based on the field and value, this limiter modifies the field and/or the value to something that should be added to the Metadata object.
    void
    set(String field, String value, Map<String,String[]> data)
    Based on the field and the value, this limiter modifies the field and/or the value to something that should be set in the Metadata object.
  • Method Details

    • add

      void add(String field, String value, Map<String,String[]> data)
      Based on the field and value, this limiter modifies the field and/or the value to something that should be added to the Metadata object. If the value is null, no value is set or added. Status updates (e.g. write limit reached) can be added directly to the underlying metadata.
      Parameters:
      field - the metadata field name
      value - the value to add
      data - the metadata map to modify
    • set

      void set(String field, String value, Map<String,String[]> data)
      Based on the field and the value, this limiter modifies the field and/or the value to something that should be set in the Metadata object.
      Parameters:
      field - the metadata field name
      value - the value to set
      data - the metadata map to modify