Examples of run()


Examples of com.linkedin.data.transform.DataComplexProcessor.run()

    assertEquals(update.toString(), "{$delete=[description]}");
    assertFalse(g1.equals(g2));

    DataComplexProcessor processor = new DataComplexProcessor(new Patch(), update.getDataMap(), g1.data());
    processor.run(false);

    assertEquals(g1, g2);
  }

  @Test
View Full Code Here

Examples of com.linkedin.databus.core.test.DbusEventAppender.run()

  public void appendGeneratedEvents()
  throws Exception
  {
    final DbusEventAppender appender = new DbusEventAppender(_srcEvents, _srcBuf, _srcBufStats);
    appender.run();
    Assert.assertEquals(_srcEvents.size(), _srcBufStats.getTotalStats().getNumDataEvents());
  }

  public void setup() throws InvalidConfigException
  {
View Full Code Here

Examples of com.linkedin.helix.healthcheck.HealthStatsAggregationTask.run()

    Map<String, String> properties = new HashMap<String, String>();
    properties.put("healthChange.enabled", "false");
    _setupTool.getClusterManagementTool().setConfig(scope, properties);
   
    HealthStatsAggregationTask task = new HealthStatsAggregationTask(_startCMResultMap.get(controllerName)._manager);
    task.run();
    Thread.sleep(100);
    HelixDataAccessor helixDataAccessor = manager.getHelixDataAccessor();
    Builder keyBuilder = helixDataAccessor.keyBuilder();

    AlertHistory history = manager.getHelixDataAccessor().getProperty(keyBuilder.alertHistory());
View Full Code Here

Examples of com.linkedin.helix.monitoring.ZKPathDataDumpTask.run()

        Assert.assertTrue(_zkClient.getChildren(nextnextPath).size() > 0);
      }
    }
   
    ZKPathDataDumpTask dumpTask = new ZKPathDataDumpTask(manager, _zkClient, 0);
    dumpTask.run();
   
    subPaths = _zkClient.getChildren(controllerStatusPath);
    Assert.assertTrue(subPaths.size() > 0);
    for(String subPath : subPaths)
    {
View Full Code Here

Examples of com.linkedin.parseq.Engine.run()

    final ClassifierPlanFactory classifier = new ClassifierPlanFactory(restLiClient);
    try
    {
      final Task<Map<Long, Classification>> classifications = classifier.classify(viewerId, unclassified);
      engine.run(classifications);
      classifications.await();
      System.out.println(classifications.get());

      ExampleUtil.printTracingResults(classifications);
    }
View Full Code Here

Examples of com.linkedin.r2.util.TimeoutRunnable.run()

            {
              if (!channelGroupFuture.isCompleteSuccess())
              {
                LOG.warn("Failed to close some connections, ignoring");
              }
              afterClose.run();
            }
          });
        }

        @Override
View Full Code Here

Examples of com.massivecraft.factions.event.FactionsEventChunkChange.run()

      }
    }
   
    // Event
    FactionsEventChunkChange event = new FactionsEventChunkChange(sender, chunk, newFaction);
    event.run();
    if (event.isCancelled()) return false;

    // Apply
    BoardColls.get().setFactionAt(chunk, newFaction);
   
View Full Code Here

Examples of com.massivecraft.factions.event.FactionsEventCreate.run()

    // Pre-Generate Id
    String factionId = MStore.createId();
   
    // Event
    FactionsEventCreate createEvent = new FactionsEventCreate(sender, coll.getUniverse(), factionId, newName);
    createEvent.run();
    if (createEvent.isCancelled()) return;
   
    // Apply
    Faction faction = coll.create(factionId);
    faction.setName(newName);
View Full Code Here

Examples of com.massivecraft.factions.event.FactionsEventDescriptionChange.run()

    // Args
    String newDescription = this.argConcatFrom(0);
   
    // Event
    FactionsEventDescriptionChange event = new FactionsEventDescriptionChange(sender, usenderFaction, newDescription);
    event.run();
    if (event.isCancelled()) return;
    newDescription = event.getNewDescription();

    // Apply
    usenderFaction.setDescription(newDescription);
View Full Code Here

Examples of com.massivecraft.factions.event.FactionsEventDisband.run()

      return;
    }

    // Event
    FactionsEventDisband event = new FactionsEventDisband(me, faction);
    event.run();
    if (event.isCancelled()) return;

    // Merged Apply and Inform
   
    // Run event for each player in the faction
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.