Exemplo n.º 1
0
  @Override
  public void run() {
    for (int i = 0; i < 10000; i++) {
      DimensionRequestDTO request = new DimensionRequestDTO();
      Set<Column> columns = new HashSet<Column>();
      request.setDimensionName("dim_store");
      request.setColumns(columns);
      request.addColumn(new Column("first_name", "mike" + i));
      request.addColumn(new Column("last_name", "Hillyer"));
      // System.out.println(securityManagerService.encryCouponNo("121212"));
      Column result = lateArriveDimensionLookUpFacade.lookUp(request);

      System.out.println(result);
    }

    count.countDown();
  }
 @Override
 public Column lookUp(DimensionRequestDTO dimensionRequestDTO) {
   logger.info("[lookUp] DimensionRequestDTO = [ " + dimensionRequestDTO.toKeyString() + "]");
   return dimensionLookUpBiz.lookUp(dimensionRequestDTO);
 }