Tabnine Logo
HystrixMetricsPublisherCollapserDefault
Code IndexAdd Tabnine to your IDE (free)

How to use
HystrixMetricsPublisherCollapserDefault
in
com.netflix.hystrix.strategy.metrics

Best Java code snippets using com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherCollapserDefault (Showing top 2 results out of 315)

origin: PipelineAI/pipeline

/**
 * Construct an implementation of {@link HystrixMetricsPublisherCollapser} for {@link HystrixCollapser} instances having key {@link HystrixCollapserKey}.
 * <p>
 * This will be invoked once per {@link HystrixCollapserKey} instance.
 * <p>
 * <b>Default Implementation</b>
 * <p>
 * Return instance of {@link HystrixMetricsPublisherCollapserDefault}
 *
 * @param collapserKey
 *            {@link HystrixCollapserKey} representing the name or type of {@link HystrixCollapser}
 * @param metrics
 *            {@link HystrixCollapserMetrics} instance tracking metrics for the {@link HystrixCollapser} instance having the key as defined by {@link HystrixCollapserKey}
 * @param properties
 *            {@link HystrixCollapserProperties} instance for the {@link HystrixCollapser} instance having the key as defined by {@link HystrixCollapserKey}
 * @return instance of {@link HystrixMetricsPublisherCollapser} that will have its <code>initialize</code> method invoked once.
 */
public HystrixMetricsPublisherCollapser getMetricsPublisherForCollapser(HystrixCollapserKey collapserKey, HystrixCollapserMetrics metrics, HystrixCollapserProperties properties) {
  return new HystrixMetricsPublisherCollapserDefault(collapserKey, metrics, properties);
}
origin: com.netflix.hystrix/hystrix-core

/**
 * Construct an implementation of {@link HystrixMetricsPublisherCollapser} for {@link HystrixCollapser} instances having key {@link HystrixCollapserKey}.
 * <p>
 * This will be invoked once per {@link HystrixCollapserKey} instance.
 * <p>
 * <b>Default Implementation</b>
 * <p>
 * Return instance of {@link HystrixMetricsPublisherCollapserDefault}
 *
 * @param collapserKey
 *            {@link HystrixCollapserKey} representing the name or type of {@link HystrixCollapser}
 * @param metrics
 *            {@link HystrixCollapserMetrics} instance tracking metrics for the {@link HystrixCollapser} instance having the key as defined by {@link HystrixCollapserKey}
 * @param properties
 *            {@link HystrixCollapserProperties} instance for the {@link HystrixCollapser} instance having the key as defined by {@link HystrixCollapserKey}
 * @return instance of {@link HystrixMetricsPublisherCollapser} that will have its <code>initialize</code> method invoked once.
 */
public HystrixMetricsPublisherCollapser getMetricsPublisherForCollapser(HystrixCollapserKey collapserKey, HystrixCollapserMetrics metrics, HystrixCollapserProperties properties) {
  return new HystrixMetricsPublisherCollapserDefault(collapserKey, metrics, properties);
}
com.netflix.hystrix.strategy.metricsHystrixMetricsPublisherCollapserDefault

Javadoc

Default implementation of HystrixMetricsPublisherCollapser that does nothing.

See Wiki docs about plugins for more information.

Most used methods

  • <init>

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Runner (org.openjdk.jmh.runner)
  • 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