Examples of InstanceID


Examples of org.apache.agila.engine.InstanceID

        task.setUserID( new UserID( 1 ) );
        task.setTaskDescription( "Task Description" );
        task.setTaskExpirationDate( new Date() );
        task.setSourceTokenID( new TokenID( 1 ) );
        task.setTaskStatus( Task.TASK_INCOMPLETE );
        task.setInstanceID( new InstanceID( 1 ) );

        TaskID taskID = dao.insertTask( task );
        assertNotNull( "TaskID should not be null", taskID );
    }
View Full Code Here

Examples of org.apache.flink.runtime.instance.InstanceID

   * This method registers the TaskManager at the jobManager and send periodic heartbeats.
   */
  private void registerAndRunHeartbeatLoop(long interval, int maxNonSuccessfulHeatbeats) {

    while (!shutdownStarted.get()) {
      InstanceID resultId = null;
 
      // try to register. We try as long as we need to, because it may be that the jobmanager is  not yet online
      {
        final long maxDelay = 10000// the maximal delay between registration attempts
        final long reportingDelay = 5000;
View Full Code Here

Examples of org.apache.hadoop.hdfs.protocol.AvatarConstants.InstanceId

  /**
   * Analyze the command line options
   */
  private static StartupInfo parseArguments(String args[]) {
    InstanceId instance = InstanceId.NODEZERO;
    StartupOption startOpt = StartupOption.REGULAR;
    boolean isStandby= false;
    String serviceName = null;
    int argsLen = (args == null) ? 0 : args.length;
    for (int i=0; i < argsLen; i++) {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

    this.cache = new LFUMap(500);
  }

  public BoxDefinition getBoxDefinition(final StyleSheet es)
  {
    final InstanceID id = es.getId();
    final CacheKey key = new CacheKey(id, es.getClass().getName());
    final CacheCarrier cc = (CacheCarrier) cache.get(key);
    if (cc == null)
    {
      final BoxDefinition boxDefinition = createBoxDefinition(es);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

    this.watermarkArea = new WatermarkAreaBox();
    this.watermarkArea.setName("Logical-Page-Watermark-Area");
    this.watermarkArea.setLogicalPage(this);

    final BlockRenderBox contentArea = new BlockRenderBox
        (SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY, new MasterReportType(),
            report.getAttributes(), null);
    contentArea.setName("Logical-Page-Content-Area");
    addChild(contentArea);
    contentAreaId = contentArea.getInstanceId();
    this.pageGrid = new DefaultPageGrid(report.getPageDefinition());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

public class BlockRenderBox extends RenderBox
{
  public BlockRenderBox(final StyleSheet styleSheet)
  {
    super(RenderNode.VERTICAL_AXIS, RenderNode.HORIZONTAL_AXIS,
        styleSheet, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

  }

  public BlockRenderBox()
  {
    super(RenderNode.VERTICAL_AXIS, RenderNode.HORIZONTAL_AXIS,
        SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

        pageBox.setPageOffset(nextOffset);

        final long shift = cleanPaginatedBoxesStep.compute(pageBox);
        if (shift > 0)
        {
          final InstanceID shiftNode = cleanPaginatedBoxesStep.getShiftNode();
          applyPageShiftValuesStep.compute(pageBox, shift, shiftNode);
        }

        if (pageBreak.isNextPageContainsContent())
        {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

public class InlineRenderBox extends RenderBox
{
  public InlineRenderBox()
  {
    super(RenderNode.HORIZONTAL_AXIS, RenderNode.VERTICAL_AXIS,
        SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

  private boolean isNonVisualsChanged()
  {
    AbstractReportDefinition parent = this.parent;
    while (parent != null)
    {
      final InstanceID id = parent.getObjectID();
      final Long dataSourceChangeTracker = parent.getDatasourceChangeTracker();
      if (dataSourceChangeTracker.equals(dataFactoryChangeTrackers.get(id)) == false)
      {
        return true;
      }
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.