Examples of State


Examples of storm.trident.state.State

    @Override
    public void prepare(Map conf, TopologyContext context, BatchOutputCollector batchCollector) {
        int thisComponentNumTasks = context.getComponentTasks(context.getThisComponentId()).size();
        for(Node n: _nodes) {
            if(n.stateInfo!=null) {
                State s = n.stateInfo.spec.stateFactory.makeState(conf, context, context.getThisTaskIndex(), thisComponentNumTasks);
                context.setTaskData(n.stateInfo.id, s);
            }
        }
        DirectedSubgraph<Node, Object> subgraph = new DirectedSubgraph(_graph, _nodes, null);
        TopologicalOrderIterator it = new TopologicalOrderIterator<Node, Object>(subgraph);
View Full Code Here

Examples of uk.org.microbase.notification.db.data.Message.State

       * TODO do we need to lock the message? Probably not, if anything just
       * need to lock message/responder combo?
       * And probably don't even need to do that because the queue is already
       * locked (see run() method).
       */
      State state = msg.getResponderStates().get(responderId);

      if (state == null)
      {
        updateMessageState(msg, Message.State.NEW);
        state = Message.State.NEW;
View Full Code Here

Examples of wyautl.core.Automaton.State

  }

  private static void extend(int index, Morphism candidate,
      ArrayList<Morphism> candidates, Automaton automaton) {

    State s = automaton.get(candidate.i2n[index]);

    switch (s.kind) {
    case Automaton.K_VOID:
    case Automaton.K_BOOL:
    case Automaton.K_INT:
View Full Code Here

Examples of wyautl_old.lang.Automaton.State

   * </p>
   */
  public static boolean isConcrete(Automaton automaton) {
    // First, check all states are deterministic
    for(int i=0;i!=automaton.size();++i) {
      State s = automaton.states[i];
      if(!s.deterministic) {
        return false;
      }
    }

View Full Code Here

Examples of zephyropen.state.State

    protected Color dataColor = Color.RED;

    public GoogleLineGraph(final String title, final String units, final Color color) {
     
      this.title = title;
      this.state = new State(title);
        this.dataColor = color;
        this.units = units;
    }
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.