Annotation Type Replaces


  • @Retention(RUNTIME)
    @Target(FIELD)
    @Repeatable(ReplacesList.class)
    public @interface Replaces
    Repeatable annotation for providing old name and whether the config parameters we annotate are deprecated and we need to warn the users. (CASSANDRA-17141)
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String oldName  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean deprecated  
    • Element Detail

      • oldName

        java.lang.String oldName
        Returns:
        old configuration parameter name
      • deprecated

        boolean deprecated
        Returns:
        whether the parameter should be marked as deprecated or not and warning sent to the user
        Default:
        false