Examples of toShortString()


Examples of com.alipay.bluewhale.core.cluster.SolrInfo.toShortString()

        Long hbtime = statcollect.getLastTime();
        SolrInfo info = new SolrInfo(this.params.replication,this.params.replicationindex,this.taskIndex,false,localSolrPath.toString(),
          "solrservice".toString(), hdfsforder, bindport,
          statcollect.getStat(), new HashMap<String, ShardCount>(), new HashMap<String, ShardCount>(), this.statcollect.getSetupTime(),
           hbtime, this.isMergeServer);
        LOG.info("higolog zkHeatbeat " + this.tablename + ",info:"  + info.toShortString());
        Worker.getCluster().higo_heartbeat(this.tablename, this.taskid, info);
    } catch (Exception e) {
        LOG.error(StormUtils.stringify_error(e));
        throw new RuntimeException(e);
    }
View Full Code Here

Examples of com.alipay.bluewhale.core.cluster.SolrInfo.toShortString()

      SolrInfo info = new SolrInfo(this.params.replication,this.params.replicationindex,this.taskIndex,isrealtime,localSolrPath.toString(),
          hdfsIndexpath.toString(), hdfsforder, bindport,
          statcollect.getStat(), this.partstat.getPartioncount(),daystat, statcollect.getSetupTime(),
          hbtime, this.isMergeServer);
      LOG.info("higolog zkHeatbeat " + this.tablename + ",info:"
          + info.toShortString());
      Worker.getCluster().higo_heartbeat(this.tablename, this.taskid,
          info);
    } catch (Exception e) {
      LOG.error(StormUtils.stringify_error(e));
      errorCollect.setException(e);
View Full Code Here

Examples of com.hp.hpl.jena.reasoner.rulesys.Rule.toShortString()

    public static void execute(RETERuleContext context, boolean isAdd) {
        Rule rule = context.getRule();
        BindingEnvironment env = context.getEnv();
        ForwardRuleInfGraphI infGraph = (ForwardRuleInfGraphI)context.getGraph();
        if (infGraph.shouldTrace()) {
            logger.info("Fired rule: " + rule.toShortString());
        }
        RETEEngine engine = context.getEngine();
        engine.incRuleCount();
        List<Triple> matchList = null;
        if (infGraph.shouldLogDerivations() && isAdd) {
View Full Code Here

Examples of com.hp.hpl.jena.reasoner.rulesys.Rule.toShortString()

                Functor f = (Functor)hClause;
                Builtin imp = f.getImplementor();
                if (imp != null) {
                    imp.headAction(f.getBoundArgs(env), f.getArgLength(), context);
                } else {
                    throw new ReasonerException("Invoking undefined Functor " + f.getName() +" in " + rule.toShortString());
                }
            } else if (hClause instanceof Rule) {
                Rule r = (Rule)hClause;
                if (r.isBackward()) {
                    if (isAdd) {
View Full Code Here

Examples of com.hp.hpl.jena.reasoner.rulesys.Rule.toShortString()

    public static void execute(RETERuleContext context, boolean isAdd) {
        Rule rule = context.getRule();
        BindingEnvironment env = context.getEnv();
        ForwardRuleInfGraphI infGraph = (ForwardRuleInfGraphI)context.getGraph();
        if (infGraph.shouldTrace()) {
            logger.info("Fired rule: " + rule.toShortString());
        }
        RETEEngine engine = context.getEngine();
        engine.incRuleCount();
        List<Triple> matchList = null;
        if (infGraph.shouldLogDerivations() && isAdd) {
View Full Code Here

Examples of com.hp.hpl.jena.reasoner.rulesys.Rule.toShortString()

                Functor f = (Functor)hClause;
                Builtin imp = f.getImplementor();
                if (imp != null) {
                    imp.headAction(f.getBoundArgs(env), f.getArgLength(), context);
                } else {
                    throw new ReasonerException("Invoking undefined Functor " + f.getName() +" in " + rule.toShortString());
                }
            } else if (hClause instanceof Rule) {
                Rule r = (Rule)hClause;
                if (r.isBackward()) {
                    if (isAdd) {
View Full Code Here

Examples of com.hp.hpl.jena.reasoner.rulesys.Rule.toShortString()

    public static void execute(RETERuleContext context, boolean isAdd) {
        Rule rule = context.getRule();
        BindingEnvironment env = context.getEnv();
        ForwardRuleInfGraphI infGraph = (ForwardRuleInfGraphI)context.getGraph();
        if (infGraph.shouldTrace()) {
            logger.info("Fired rule: " + rule.toShortString());
        }
        RETEEngine engine = context.getEngine();
        engine.incRuleCount();
        List<Triple> matchList = null;
        if (infGraph.shouldLogDerivations() && isAdd) {
View Full Code Here

Examples of com.hp.hpl.jena.reasoner.rulesys.Rule.toShortString()

                Functor f = (Functor)hClause;
                Builtin imp = f.getImplementor();
                if (imp != null) {
                    imp.headAction(f.getBoundArgs(env), f.getArgLength(), context);
                } else {
                    throw new ReasonerException("Invoking undefined Functor " + f.getName() +" in " + rule.toShortString());
                }
            } else if (hClause instanceof Rule) {
                Rule r = (Rule)hClause;
                if (r.isBackward()) {
                    if (isAdd) {
View Full Code Here

Examples of com.jgoodies.forms.layout.CellConstraints.toShortString()

        for (int i = 0; i < childCount; i++) {
            Component child = container.getComponent(i);
            CellConstraints cc = layout.getConstraints(child);
            String ccString = cc == null
                ? "no constraints"
                : cc.toShortString(layout);
            System.out.print(ccString);
            System.out.print("; ");
            String childType = child.getClass().getName();
            System.out.print(childType);
            if (child instanceof JLabel) {
View Full Code Here

Examples of com.jgoodies.forms.layout.CellConstraints.toShortString()

        for (int i = 0; i < childCount; i++) {
            Component child = container.getComponent(i);
            CellConstraints cc = layout.getConstraints(child);
            String ccString = cc == null
                ? "no constraints"
                : cc.toShortString(layout);
            System.out.print(ccString);
            System.out.print("; ");
            String childType = child.getClass().getName();
            System.out.print(childType);
            if (child instanceof JLabel) {
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.