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

io.virtdata.libbasics.shared.nondeterministic.to_long.ThreadNumAutoDocsInfo Maven / Gradle / Ivy

There is a newer version: 2.12.15
Show newest version
// This file is auto-generated.
package io.virtdata.libbasics.shared.nondeterministic.to_long;

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

@Service(DocFuncData.class)
public class ThreadNumAutoDocsInfo implements DocFuncData {
  public String getClassName() {
    return "ThreadNum";
  }

  public String getPackageName() {
    return "io.virtdata.libbasics.shared.nondeterministic.to_long";
  }

  public String getClassJavadoc() {
    return "Matches a digit sequence in the current thread name and caches it in a thread local.\n"
            + "This allows you to use any intentionally indexed thread factories to provide an analogue for\n"
            + "concurrency. Note that once the thread number is cached, it will not be refreshed. This means\n"
            + "you can't change the thread name and get an updated value.\n";
  }

  public String getInType() {
    return "long";
  }

  public String getOutType() {
    return "long";
  }

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

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("ThreadNum", "", 
            new LinkedHashMap() {{
            }},
            new ArrayList>() {{
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy