Package javax.batch.api.partition

Examples of javax.batch.api.partition.PartitionMapper


    assertEquals(3, count);
  }

  @Test
  public void testMapperProvidesPartitionsAndThreads() throws Exception {
    handler.setPartitionMapper(new PartitionMapper() {

      @Override
      public PartitionPlan mapPartitions() throws Exception {
        PartitionPlan plan = new PartitionPlanImpl();
        plan.setPartitions(3);
View Full Code Here


    assertEquals(3, count);
  }

  @Test
  public void testMapperWithProperties() throws Exception {
    handler.setPartitionMapper(new PartitionMapper() {

      @Override
      public PartitionPlan mapPartitions() throws Exception {
        PartitionPlan plan = new PartitionPlanImpl();
        Properties [] props = new Properties[2];
View Full Code Here

TOP

Related Classes of javax.batch.api.partition.PartitionMapper

Copyright © 2018 www.massapicom. 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.