Example usage for java.lang Integer toString

List of usage examples for java.lang Integer toString

Introduction

In this page you can find the example usage for java.lang Integer toString.

Prototype

@HotSpotIntrinsicCandidate
public static String toString(int i) 

Source Link

Document

Returns a String object representing the specified integer.

Usage

From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer556.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new DlrConsumer556Runnable(Integer.toString(i));
        executor.execute(worker);//from w  ww.  j  a v  a  2 s . co  m
    }
}

From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer566.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new DlrConsumer566Runnable(Integer.toString(i));
        executor.execute(worker);//from   w  w w  .  j  av a  2s  .  c  o  m
    }
}

From source file:com.netcore.hsmart.smsconsumers.SmsConsumer561Multipart.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new SmsConsumer561MultipartRunnable(Integer.toString(i));
        executor.execute(worker);/*  w  w  w .  j  a v a  2  s  .c o m*/
    }
}

From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer562.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new DlrConsumer562Runnable(Integer.toString(i));
        executor.execute(worker);//from w w w  .  j  a v  a 2  s .co  m
    }
}

From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer563.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new DlrConsumer563Runnable(Integer.toString(i));
        executor.execute(worker);/*from  w  w w .  java  2s . co  m*/
    }
}

From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer564.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new DlrConsumer564Runnable(Integer.toString(i));
        executor.execute(worker);//  w  w  w.j a v a 2s .  c  o  m
    }
}

From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer565.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new DlrConsumer565Runnable(Integer.toString(i));
        executor.execute(worker);/*from  w  w  w  .  j  a va 2  s . c  o m*/
    }
}

From source file:com.carl.interesting.StartINGServer.java

/**
 * Main method.//w  w  w  .j  a va  2  s.c o  m
 * 
 * @param args [explain parameter]
 * @return void [explain return type]
 * @exception throws [exception type] [explain exception]
 * @see [class,class#method,class#member]
 */
public static void main(String[] args) {
    LOG.info("Start ING server");
    switch (args.length) {
    case 0:
        // LOG.info("The default port " + PORT + " will be used.");
        break;
    case 1:
        PORT = Integer.parseInt(args[0]);
        break;
    default:
        PORT = Integer.parseInt(args[0]);
    }
    try {
        initServer();
        // start server
        if (null == startServer(PORT)) {
            LOG.error("port " + PORT + " has been used");
            System.exit(0);
            return;
        }
        LOG.info(String.format("ING Server is started at: " + "%s/" + Constant.PROJECT + "/ ...",
                BASE + ":" + Integer.toString(PORT)));
        // start clean monitor job
        // new MonitorCleanJob().start();
        // ??(Host/Mon/Osd/Mds/Pool/Access)
        // clusterServiceImpl.initFromDB();
        // ??()
        // initHostAgentDB();
        // ?
        // initScheduler();
        // initLeader();
        // ?license
        // communicationScheduler.initCommunicate();
        // ?
        // warningDisScheduler.initWarningDistribute();
        // recoverTask();
    } catch (Exception e) {
        LogUtil.logError(LOG, e);
    }
}

From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer561.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new DlrConsumer561Runnable(Integer.toString(i));
        executor.execute(worker);// www  .  j a  va  2  s  .  co  m
    }
}

From source file:com.netcore.hsmart.smsconsumers.SmsConsumer566.java

public static void main(String args[]) throws Exception {

    ExecutorService executor = Executors.newCachedThreadPool();

    for (int i = 1; i <= COUNTERS; i++) {
        Runnable worker = new SmsConsumer566Runnable(Integer.toString(i));
        executor.execute(worker);//from w  ww . j a  v a  2 s.c o  m
    }
}