protected override void Initialize()
        {
            PipelineExecuter = new SingleThreadedPipelineExecuter();

            Register(new FirstAction());
            Register(new SecondAction());
        }
        protected override void Initialize()
        {
            PipelineExecuter = new SingleThreadedPipelineExecuter();

            Register(new JoinUsersAndIds()
                     	.Left(new GenerateUsers(25000))
                     	.Right(new GenerateRandomIds(15000)));
            operation = new AccumulateResults();
            Register(this.operation);
        }
        protected override void Initialize()
        {
            PipelineExecuter = new SingleThreadedPipelineExecuter();

            Register(new FibonacciOperation(numberOfFibonacciIterations));

            var split = new BranchingOperation();

            for (int i = 0; i < numberOfChildOperations; i++)
                split.Add(new FibonacciBulkInsert());

            Register(split);
        }
        protected override void Initialize()
        {
            PipelineExecuter = new SingleThreadedPipelineExecuter();

            Register(new FibonacciOperation(30));

            BranchingOperation split = new BranchingOperation()
                .Add(Partial
                     	.Register(new MultiplyByThreeOperation())
                     	.Register(new Fibonacci.Bulk.FibonacciBulkInsert()))
                .Add(Partial
                     	.Register(new Fibonacci.Bulk.FibonacciBulkInsert()));

            Register(split);
        }
Exemple #5
0
		protected override void Initialize()
		{
			PipelineExecuter = new SingleThreadedPipelineExecuter(); 
			Register(new XmlRowOperationFile(Path.Combine(path, "badges.xml")));
			Register(new AddBadgesToUser());
		}
Exemple #6
0
 protected override void Initialize()
 {
     PipelineExecuter = new SingleThreadedPipelineExecuter();
     Register(new XmlRowOperationFile(Path.Combine(path, "users.xml")));
     Register(new RowToDatabase("Users", doc => "users/" + doc["Id"]));
 }
Exemple #7
0
 protected override void Initialize()
 {
     PipelineExecuter = new SingleThreadedPipelineExecuter();
     Register(new XmlRowOperationFile(Path.Combine(path, "comments.xml")));
     Register(new AddCommentsToPost());
 }