Package com.firefly.schedule.common

Examples of com.firefly.schedule.common.Config


public class TestRun {
 
  @Test
  public void run(){
    Config config = new Config();
    config.setOpenHeart(true);
    Schedule schedule = new TestSchedule();
    schedule.setConfig(config);
    schedule.start();
    try {
      Thread.sleep(100000000);
View Full Code Here


     * 3. 开启心跳监控
     */
    @Override
    public void start() {
      if(config == null)
        config = new Config();
     
        /* 所有配置信息 */
      log.info(config.print());

        try {
View Full Code Here

TOP

Related Classes of com.firefly.schedule.common.Config

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.