All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nosqlbench.virtdata.library.basics.shared.stateful.ClearAutoDocsInfo Maven / Gradle / Ivy

There is a newer version: 5.17.0
Show newest version
// This file is auto-generated.
package io.nosqlbench.virtdata.library.basics.shared.stateful;

import io.nosqlbench.nb.annotations.Service;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.processors.DocCtorData;
import io.nosqlbench.virtdata.api.processors.DocForFuncCtor;
import io.nosqlbench.virtdata.api.processors.DocFuncData;
import java.lang.String;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;

@Service(
    value = DocFuncData.class,
    selector = "io.nosqlbench.virtdata.library.basics.shared.stateful.Clear"
)
public class ClearAutoDocsInfo implements DocFuncData {
  public String getClassName() {
    return "Clear";
  }

  public String getPackageName() {
    return "io.nosqlbench.virtdata.library.basics.shared.stateful";
  }

  public String getClassJavadoc() {
    return "";
  }

  public String getInType() {
    return "java.lang.Object";
  }

  public String getOutType() {
    return "java.lang.Object";
  }

  public Category[] getCategories() {
    return new Category[] { Category.state };
  }

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("Clear", "Clear all named entries from the per-thread map.\n", 
            new LinkedHashMap() {{
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("Clear()");
                add("clear all thread-local variables");
              }});
            }}
          ));
          add(new DocForFuncCtor("Clear", "Clear the specified names from the per-thread map.\n"
              + "@param names The names to be removed from the map.\n", 
            new LinkedHashMap() {{
              put("names","java.lang.String[]...");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("Clear('foo')");
                add("clear the thread-local variable 'foo'");
              }});
              add(new ArrayList() {{
                add("Clear('foo','bar')");
                add("clear the thread-local variables 'foo' and 'bar'");
              }});
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy