Tabnine Logo
WriteServerConfig.getReplicationPort
Code IndexAdd Tabnine to your IDE (free)

How to use
getReplicationPort
method
in
com.netflix.eureka2.server.config.WriteServerConfig

Best Java code snippets using com.netflix.eureka2.server.config.WriteServerConfig.getReplicationPort (Showing top 3 results out of 315)

origin: com.netflix.eureka/eureka2-write-server

  @Inject
  public TcpReplicationServer(WriteServerConfig config,
                Provider<TcpReplicationHandler> tcpReplicationHandler,
                @Named("replication") MetricEventsListenerFactory servoEventsListenerFactory) {
    super(servoEventsListenerFactory, config, config.getReplicationPort(), EurekaTransports.replicationPipeline(config.getCodec()), tcpReplicationHandler);
  }
}
origin: com.netflix.eureka2/eureka-write-server

@PostConstruct
public void start() {
  server = RxNetty.newTcpServerBuilder(
      config.getReplicationPort(),
      new TcpReplicationHandler(selfRegistrationService, eurekaRegistry, evictionQueue, metricFactory))
      .pipelineConfigurator(EurekaTransports.replicationPipeline(config.getCodec()))
      .withMetricEventsListenerFactory(servoEventsListenerFactory)
      .build()
      .start();
  logger.info("Starting TCP replication server on port {} with {} encoding...", server.getServerPort(), config.getCodec());
}
origin: com.netflix.eureka2/eureka-testkit

@Override
public WriteServerReport serverReport() {
  return new WriteServerReport(
      config.getRegistrationPort(),
      config.getDiscoveryPort(),
      config.getReplicationPort(),
      formatAdminURI(),
      getEurekaServerRegistry().size()
  );
}
com.netflix.eureka2.server.configWriteServerConfiggetReplicationPort

Popular methods of WriteServerConfig

  • writeBuilder
  • getRegistrationPort
  • <init>
  • getCodec
  • getDiscoveryPort
  • getBootstrapResolverType
  • getBootstrapServerList
  • getBootstrapTimeoutMillis
  • getEvictionStrategyType
  • getEvictionStrategyValue
  • getEvictionTimeoutMs
  • getHeartbeatIntervalMs
  • getEvictionTimeoutMs,
  • getHeartbeatIntervalMs,
  • getReplicationReconnectDelayMillis,
  • getServerList,
  • getServerResolverType,
  • isBootstrapEnabled

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JFileChooser (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Best plugins for Eclipse
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