Tabnine Logo
EventProperties$Bus$Executor.getThread
Code IndexAdd Tabnine to your IDE (free)

How to use
getThread
method
in
com.netflix.metacat.common.server.properties.EventProperties$Bus$Executor

Best Java code snippets using com.netflix.metacat.common.server.properties.EventProperties$Bus$Executor.getThread (Showing top 4 results out of 315)

origin: com.netflix.metacat/metacat-common-server

private ApplicationEventMulticaster createApplicationEventMultiCaster(final String name) {
  final SimpleApplicationEventMulticaster result = new SimpleApplicationEventMulticaster();
  final ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
  executor.setCorePoolSize(metacatProperties.getEvent().getBus().getExecutor().getThread().getCount());
  executor.initialize();
  RegistryUtil.registerThreadPool(registry, "metacat.event.pool." + name,
    executor.getThreadPoolExecutor());
  result.setTaskExecutor(executor);
  return result;
}
origin: com.netflix.metacat/metacat-common-server

/**
 * {@inheritDoc}
 */
@Override
public int getEventBusExecutorThreadCount() {
  return this.metacatProperties.getEvent().getBus().getExecutor().getThread().getCount();
}
origin: Netflix/metacat

private ApplicationEventMulticaster createApplicationEventMultiCaster(final String name) {
  final SimpleApplicationEventMulticaster result = new SimpleApplicationEventMulticaster();
  final ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
  executor.setCorePoolSize(metacatProperties.getEvent().getBus().getExecutor().getThread().getCount());
  executor.initialize();
  RegistryUtil.registerThreadPool(registry, "metacat.event.pool." + name,
    executor.getThreadPoolExecutor());
  result.setTaskExecutor(executor);
  return result;
}
origin: Netflix/metacat

/**
 * {@inheritDoc}
 */
@Override
public int getEventBusExecutorThreadCount() {
  return this.metacatProperties.getEvent().getBus().getExecutor().getThread().getCount();
}
com.netflix.metacat.common.server.propertiesEventProperties$Bus$ExecutorgetThread

Popular methods of EventProperties$Bus$Executor

    Popular in Java

    • Finding current android device location
    • onRequestPermissionsResult (Fragment)
    • runOnUiThread (Activity)
    • putExtra (Intent)
    • SimpleDateFormat (java.text)
      Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
    • LinkedHashMap (java.util)
      LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
    • Cipher (javax.crypto)
      This class provides access to implementations of cryptographic ciphers for encryption and decryption
    • Servlet (javax.servlet)
      Defines methods that all servlets must implement. A servlet is a small Java program that runs within
    • Logger (org.apache.log4j)
      This is the central class in the log4j package. Most logging operations, except configuration, are d
    • IsNull (org.hamcrest.core)
      Is the value null?
    • Top plugins for WebStorm
    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