Tabnine Logo
NamedThreadFactory.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.dremio.common.concurrent.NamedThreadFactory
constructor

Best Java code snippets using com.dremio.common.concurrent.NamedThreadFactory.<init> (Showing top 5 results out of 315)

origin: dremio/dremio-oss

public CloseableSchedulerThreadPool(String name, int corePoolSize) {
 super(corePoolSize, new NamedThreadFactory(name));
 this.name = name;
}
origin: dremio/dremio-oss

 public static EventLoopGroup createEventLoopGroup(int nThreads, String prefix) {
   if(SUPPORTS_EPOLL){
    return new EpollEventLoopGroup(nThreads, new NamedThreadFactory(prefix));
   }else{
    return new NioEventLoopGroup(nThreads, new NamedThreadFactory(prefix));
   }
 }
}
origin: dremio/dremio-oss

public CloseableThreadPool(String name) {
 super(0, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), new NamedThreadFactory(name));
}
origin: dremio/dremio-oss

closed = true;
logger.info("Waiting for work to complete before shutdown.");
ThreadFactory threadFactory = new NamedThreadFactory("noderegistration-shutdown-");
Thread t1 = waitToExit(threadFactory, fragmentManager);
Thread t2 = waitToExit(threadFactory, foremenManager);
origin: dremio/dremio-oss

executor = new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS,
  new SynchronousQueue<Runnable>(),
  new NamedThreadFactory("dremio-client-executor-")) {
 @Override
 protected void afterExecute(final Runnable r, final Throwable t) {
com.dremio.common.concurrentNamedThreadFactory<init>

Javadoc

Constructor.

Popular methods of NamedThreadFactory

    Popular in Java

    • Making http post requests using okhttp
    • getSystemService (Context)
    • getSharedPreferences (Context)
    • getResourceAsStream (ClassLoader)
    • MalformedURLException (java.net)
      This exception is thrown when a program attempts to create an URL from an incorrect specification.
    • ResultSet (java.sql)
      An interface for an object which represents a database table entry, returned as the result of the qu
    • TreeSet (java.util)
      TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
    • Callable (java.util.concurrent)
      A task that returns a result and may throw an exception. Implementors define a single method with no
    • JFrame (javax.swing)
    • IsNull (org.hamcrest.core)
      Is the value null?
    • From CI to AI: The AI layer in your organization
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now