Examples of stop()


Examples of ch.hortis.sonar.db.DatabaseEmbedder.stop()

      embedder.start();
      getLog().info("Embedded database started, press ctrl C to stop the process");
      Runtime.getRuntime().addShutdownHook( new Thread() {
        public void run() {
          try {
            embedder.stop();
            getLog().info("Embedded database stopped");
          } catch ( Exception e ) {
            System.err.println("Error during embedded database shutdown");
            e.printStackTrace( System.err );
          }
View Full Code Here

Examples of ch.njol.skript.SkriptLogger.SubLog.stop()

    final String s = input.getSingle(e);
    if (s == null)
      return;
    final SubLog log = SkriptLogger.startSubLog();
    final Effect eff = Effect.parse(s, "can't understand this effect: '" + s + "'");
    log.stop();
    if (eff != null) {
      eff.run(e);
    } else {
      final CommandSender sender = Skript.getEventValue(e, CommandSender.class, 0);
      log.printErrors(sender == null ? Bukkit.getConsoleSender() : sender, null);
View Full Code Here

Examples of ch.njol.skript.log.BlockingLogHandler.stop()

      final BlockingLogHandler log = SkriptLogger.startLogHandler(new BlockingLogHandler());
      try {
        if (parseType("" + s.substring(0, c), t2, false) == null)
          continue;
      } finally {
        log.stop();
      }
      if (t2.numTypes() == 0)
        continue;
      final Map<Enchantment, Integer> enchantments = new HashMap<Enchantment, Integer>();
      final String[] enchs = lc.substring(c + of.length(), lc.length()).split("\\s*(,|" + Pattern.quote(Language.get("and")) + ")\\s*");
 
View Full Code Here

Examples of ch.njol.skript.log.CountingLogHandler.stop()

        try {
          if (!Variables.load())
            if (c.getCount() == 0)
              error("(no information available)");
        } finally {
          c.stop();
          h.stop();
        }
       
        final long vld = System.currentTimeMillis() - vls;
        if (logNormal())
View Full Code Here

Examples of ch.njol.skript.log.ErrorDescLogHandler.stop()

      synchronized (loadedScripts) {
        loadedScripts.add(i);
      }
    } finally {
      Language.setUseLocal(true);
      h.stop();
    }
   
    if (i.files == 0)
      Skript.warning(m_no_scripts.toString());
    if (Skript.logNormal() && i.files > 0)
View Full Code Here

Examples of ch.njol.skript.log.LogHandler.stop()

          if (!Variables.load())
            if (c.getCount() == 0)
              error("(no information available)");
        } finally {
          c.stop();
          h.stop();
        }
       
        final long vld = System.currentTimeMillis() - vls;
        if (logNormal())
          info("Loaded " + Variables.numVariables() + " variables in " + ((vld / 100) / 10.) + " seconds");
View Full Code Here

Examples of ch.njol.skript.log.ParseLogHandler.stop()

          return false;
        }
        containers = c;
        h.printLog();
      } finally {
        h.stop();
      }
    }
    items = exprs[1].getConvertedExpression(Object.class);
    if (items == null)
      return false;
View Full Code Here

Examples of ch.njol.skript.log.RedirectingLogHandler.stop()

        skriptCommandHelp.showHelp(sender);
      }
    } catch (final Exception e) {
      Skript.exception(e, "Exception occurred in Skript's main command", "Used command: /" + label + " " + StringUtils.join(args, " "));
    } finally {
      r.stop();
    }
    return true;
  }
 
  private final static ArgsMessage m_invalid_script = new ArgsMessage(NODE + ".invalid script");
View Full Code Here

Examples of ch.njol.skript.log.RetainingLogHandler.stop()

        }
        this.third = third = e;
      }
      log.printLog();
    } finally {
      log.stop();
    }
   
    final Class<?> f = first.getReturnType(), s = third == null ? second.getReturnType() : Utils.getSuperType(second.getReturnType(), third.getReturnType());
    if (f == Object.class || s == Object.class)
      return true;
View Full Code Here

Examples of ch.qos.logback.classic.LoggerContext.stop()

    }

    @Override
    public void shutdown() {
        LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
        lc.stop();
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.