Examples of queue()


Examples of io.iron.ironmq.Client.queue()

      return;
    }

    log.info(getLogHead() + "starting IronMqReceiver ... ");
    Client ironMqClient = new Client(configuration.getProjectId(), configuration.getToken());
    queue = ironMqClient.queue(configuration.getQueueName());

    consumerThreads = new ArrayList<Thread>(configuration.getNumConsumerThreads());
    for (int i = 0; i < configuration.getNumConsumerThreads(); i++) {
      log.info(getLogHead() + "starting consumer thread " + i);
      Thread consumerThread = new Thread(new IronMqMessageConsumer());
View Full Code Here

Examples of javax.faces.event.ActionEvent.queue()

                    // if the immediate attribute is set than event should be broadcasted on the second phase APPLY_REQUEST_VALUES
                    // in other case it should be queued to be executed on
                    if(isImmediate()){
                        childCommand.broadcast(actionEvent);
                    } else {
                        actionEvent.queue();
                    }
                    break;
                }
            }
        }
View Full Code Here

Examples of javax.faces.event.FacesEvent.queue()

      {
        int newStart = Integer.parseInt(value) - 1;
        event = createRangeChangeEvent(table, newStart);
      }

      event.queue();
      /* =-=AEW Don't set current value immediately - since that
           would mean that validate/updateModelValues run on the
           wrong rows!!!  Queue an event.
      System.out.println("DECODE: GOTO " + value);
      component.setAttribute("currentValue",
View Full Code Here

Examples of javax.faces.event.FacesEvent.queue()

        if (doExpand)
          newset.addAll();
        else
          newset.removeAll();
        FacesEvent event = new RowDisclosureEvent(old, newset, table);
        event.queue();
      }
      else
      {
        int rowIndex = Integer.parseInt((String) value);
        int oldIndex = table.getRowIndex();
View Full Code Here

Examples of javax.faces.event.FacesEvent.queue()

        int rowIndex = Integer.parseInt((String) value);
        int oldIndex = table.getRowIndex();
        table.setRowIndex(rowIndex);
        newset.setContained(doExpand);
        FacesEvent event = new RowDisclosureEvent(old, newset, table);
        event.queue();
        table.setRowIndex(oldIndex);
      }
    }
  }
View Full Code Here

Examples of javax.faces.event.FacesEvent.queue()

               selectionModel, selectedDelta, unselectedDelta);
    if ((selectedDelta.getSize() != 0) || (unselectedDelta.getSize() != 0))
    {
      FacesEvent event =
        new SelectionEvent(table, unselectedDelta, selectedDelta);
      event.queue();
    }
    table.setRowKey(oldKey);
  }

  private void _setDeltas(UIXCollection table,
View Full Code Here

Examples of javax.faces.event.FacesEvent.queue()

          RowKeySet old = _getExpandedRowKeys(tree);
          RowKeySet newset = old.clone();
          newset.setContained(expand);
          event = new RowDisclosureEvent(old, newset, tree);
        }
        event.queue();
      }
    };

    preserve.run((UIXHierarchy) tree);
  }
View Full Code Here

Examples of javax.faces.event.FacesEvent.queue()

          state.add();
          // clone, so that subsequent mutations of "state" will
          // not affect the parameters of this event: bug 4733858:
          RowKeySet selected = state.clone();
          FacesEvent event = new SelectionEvent(table, unselected, selected);
          event.queue();
        }
      }
    }
    finally
    {
View Full Code Here

Examples of javax.faces.event.ValueChangeEvent.queue()

          Date currentDate2 = getAsDate(getCurrentDate());
          if (!currentDate1.equals(currentDate2)) {
            updateCurrentDate(facesContext, currentDate1);
            ValueChangeEvent changeEvent = new ValueChangeEvent(
                this, currentDate2, currentDate1);
            changeEvent.queue();

          }

        }
      } else {
View Full Code Here

Examples of juzu.impl.plugin.module.metamodel.ModuleMetaModel.queue()

  @Override
  protected void preDetach(MetaModelObject parent) {
    if (parent instanceof ModuleMetaModel) {
      ModuleMetaModel applications = (ModuleMetaModel)parent;
      applications.queue(MetaModelEvent.createRemoved(this));
      this.model = null;
    }
  }
}
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.