Codota Logo
EventProperties$Bus$Executor
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: Netflix/metacat

/**
 * {@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: com.netflix.metacat/metacat-common-server

/**
 * {@inheritDoc}
 */
@Override
public int getEventBusExecutorThreadCount() {
  return this.metacatProperties.getEvent().getBus().getExecutor().getThread().getCount();
}
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;
}
com.netflix.metacat.common.server.propertiesEventProperties$Bus$Executor

Javadoc

Properties related to bus executor.

Most used methods

  • getThread

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now