List of usage examples for java.lang Integer toString
@HotSpotIntrinsicCandidate public static String toString(int i)
From source file:com.netcore.hsmart.smsconsumers.SmsConsumer562.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new SmsConsumer562Runnable(Integer.toString(i)); executor.execute(worker);//from w w w. j a va 2 s.c o m } }
From source file:com.netcore.hsmart.smsconsumers.SmsConsumer563.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new SmsConsumer563Runnable(Integer.toString(i)); executor.execute(worker);//from w ww . j a va2s . co m } }
From source file:com.netcore.hsmart.smsconsumers.SmsConsumer559.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new SmsConsumer559Runnable(Integer.toString(i)); executor.execute(worker);/*from www . ja v a 2 s . co m*/ } }
From source file:com.netcore.hsmart.smsconsumers.SmsConsumer564.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new SmsConsumer564Runnable(Integer.toString(i)); executor.execute(worker);/*from ww w . java 2 s . c o m*/ } }
From source file:it.polimi.tower4clouds.data_analyzer.DAServer.java
public static void main(String[] args) { PropertiesConfiguration releaseProperties = null; try {/*w ww.jav a 2s. c om*/ releaseProperties = new PropertiesConfiguration("release.properties"); } catch (org.apache.commons.configuration.ConfigurationException e) { logger.error("Internal error", e); System.exit(1); } APP_NAME = releaseProperties.getString("application.name"); APP_FILE_NAME = releaseProperties.getString("dist.file.name"); APP_VERSION = releaseProperties.getString("release.version"); try { DAConfig config = new DAConfig(args, APP_FILE_NAME); if (config.isHelp()) { System.out.println(config.usage); } else if (config.isVersion()) { System.out.println("Version: " + APP_VERSION); } else { String[] rspArgs = new String[1]; rspArgs[0] = "da.properties"; System.setProperty(InputDataUnmarshaller.INPUT_DATA_UNMARSHALLER_IMPL_PROPERTY_NAME, DAInputDataUnmarshaller.class.getName()); System.setProperty(OutputDataMarshaller.OUTPUT_DATA_MARSHALLER_IMPL_PROPERTY_NAME, DAOutputDataMarshaller.class.getName()); System.setProperty("log4j.configuration", "log4j.properties"); // System.setProperty("rsp_server.static_resources.path", // config.getKBFolder()); NOT USED BY RSP!!! System.setProperty("csparql_server.port", Integer.toString(config.getPort())); logger.info("{} {}", APP_NAME, APP_VERSION); rsp_services_csparql_server.main(rspArgs); } } catch (ConfigurationException e) { logger.error("Configuration problem: " + e.getMessage()); logger.error("Run \"" + APP_FILE_NAME + " -help\" for help"); System.exit(1); } catch (Exception e) { logger.error("Unknown error", e); } }
From source file:com.netcore.hsmart.smsconsumers.SmsConsumer557.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new SmsConsumer557Runnable(Integer.toString(i)); executor.execute(worker);/*w ww . jav a 2 s .c o m*/ } }
From source file:com.netcore.hsmart.smsconsumers.SmsConsumer561.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new SmsConsumer561Runnable(Integer.toString(i)); executor.execute(worker);/*w w w . ja va 2 s . com*/ } }
From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer557.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new DlrConsumer557Runnable(Integer.toString(i)); executor.execute(worker);/*from www .j a v a 2s .c o m*/ } }
From source file:com.netcore.hsmart.dlrconsumers.DlrConsumer559.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new DlrConsumer559Runnable(Integer.toString(i)); executor.execute(worker);//from w w w . jav a 2 s . c o m } }
From source file:com.netcore.hsmart.smsconsumers.SmsConsumer565.java
public static void main(String args[]) throws Exception { ExecutorService executor = Executors.newCachedThreadPool(); for (int i = 1; i <= COUNTERS; i++) { Runnable worker = new SmsConsumer565Runnable(Integer.toString(i)); executor.execute(worker);/* w w w. j a v a2s.c om*/ } }