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

How to use
CircuitStateChangedEvent
in
org.apache.shardingsphere.orchestration.internal.registry.state.event

Best Java code snippets using org.apache.shardingsphere.orchestration.internal.registry.state.event.CircuitStateChangedEvent (Showing top 4 results out of 315)

origin: apache/incubator-shardingsphere

/**
 * Renew circuit breaker state.
 *
 * @param circuitStateChangedEvent circuit state changed event
 */
@Subscribe
public synchronized void renew(final CircuitStateChangedEvent circuitStateChangedEvent) {
  isCircuitBreak = circuitStateChangedEvent.isCircuitBreak();
}

origin: apache/incubator-shardingsphere

  @Override
  protected CircuitStateChangedEvent createShardingOrchestrationEvent(final DataChangedEvent event) {
    return new CircuitStateChangedEvent(StateNodeStatus.DISABLED.toString().equalsIgnoreCase(event.getValue()));
  }
}
origin: apache/incubator-shardingsphere

  /**
   /**
   * Renew circuit breaker state.
   *
   * @param circuitStateChangedEvent circuit state changed event
   */
  @Subscribe
  public final synchronized void renew(final CircuitStateChangedEvent circuitStateChangedEvent) {
    isCircuitBreak = circuitStateChangedEvent.isCircuitBreak();
  }
}
origin: apache/incubator-shardingsphere

/**
 * Renew circuit breaker state.
 *
 * @param circuitStateChangedEvent circuit state changed event
 */
@Subscribe
public synchronized void renew(final CircuitStateChangedEvent circuitStateChangedEvent) {
  isCircuitBreak = circuitStateChangedEvent.isCircuitBreak();
}

org.apache.shardingsphere.orchestration.internal.registry.state.eventCircuitStateChangedEvent

Javadoc

Circuit state event.

Most used methods

  • isCircuitBreak
  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • BoxLayout (javax.swing)
  • JLabel (javax.swing)
  • JList (javax.swing)
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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