Tabnine Logo
SimpleAntaresClient.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
me.hao0.antares.client.core.SimpleAntaresClient
constructor

Best Java code snippets using me.hao0.antares.client.core.SimpleAntaresClient.<init> (Showing top 2 results out of 315)

origin: ihaolin/antares

public SpringAntaresClient(String appName, String appSecret, String zkServers, String zkNamespace){
  client = new SimpleAntaresClient(appName, appSecret, zkServers, zkNamespace);
}
origin: ihaolin/antares

@Bean(destroyMethod = "shutdown")
public SimpleAntaresClient buildSpringClient(){
  SimpleAntaresClient client = new SimpleAntaresClient(
                    properties.getAppName(),
                    properties.getAppSecret(),
                    properties.getZkServers(),
                    properties.getZkNamespace());
  client.setExecutorThreadCount(properties.getExecutorThreadCount());
  client.start();
  registerJobs(client);
  return client;
}
me.hao0.antares.client.coreSimpleAntaresClient<init>

Popular methods of SimpleAntaresClient

  • registerJob
  • setExecutorThreadCount
  • start
  • shutdown

Popular in Java

  • Reading from database using SQL prepared statement
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Reference (javax.naming)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 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