test_class.declarator: NODE_COUNT = 3
test_class.modifier: private static final
test_class.original_string: private static final int NODE_COUNT = 3;
test_class.type: int
test_class.var_name: NODE_COUNT
test_class.declarator: ignite
test_class.modifier: private
test_class.original_string: private Ignite ignite;
test_class.type: Ignite
test_class.var_name: ignite
test_class.file: modules/ml/src/test/java/org/apache/ignite/ml/inference/builder/IgniteDistributedModelBuilderTest.java
test_class.identifier: IgniteDistributedModelBuilderTest
test_class.superclass: extends GridCommonAbstractTest
test_case.body: @Test
      public void testBuild() {
          AsyncModelBuilder mdlBuilder = new IgniteDistributedModelBuilder(ignite, 1, 1);
  
          Model<Integer, Future<Integer>> infMdl = mdlBuilder.build(
              ModelBuilderTestUtil.getReader(),
              ModelBuilderTestUtil.getParser()
          );
  
          // TODO: IGNITE-10250: Test hangs sometimes because of Ignite queue issue.
          // for (int i = 0; i < 100; i++)
          //    assertEquals(Integer.valueOf(i), infMdl.predict(i).get());
      }
test_case.class_method_signature: IgniteDistributedModelBuilderTest.testBuild()
test_case.full_signature: @Test public void testBuild()
test_case.identifier: testBuild
test_case.invocations: build getReader getParser
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBuild()
focal_class.declarator: INFERENCE_SERVICE_NAME_PATTERN = "inference_service_%s"
focal_class.modifier: private static final
focal_class.original_string: private static final String INFERENCE_SERVICE_NAME_PATTERN = "inference_service_%s";
focal_class.type: String
focal_class.var_name: INFERENCE_SERVICE_NAME_PATTERN
focal_class.declarator: INFERENCE_REQUEST_QUEUE_NAME_PATTERN = "inference_queue_req_%s"
focal_class.modifier: private static final
focal_class.original_string: private static final String INFERENCE_REQUEST_QUEUE_NAME_PATTERN = "inference_queue_req_%s";
focal_class.type: String
focal_class.var_name: INFERENCE_REQUEST_QUEUE_NAME_PATTERN
focal_class.declarator: INFERENCE_RESPONSE_QUEUE_NAME_PATTERN = "inference_queue_res_%s"
focal_class.modifier: private static final
focal_class.original_string: private static final String INFERENCE_RESPONSE_QUEUE_NAME_PATTERN = "inference_queue_res_%s";
focal_class.type: String
focal_class.var_name: INFERENCE_RESPONSE_QUEUE_NAME_PATTERN
focal_class.declarator: QUEUE_CAPACITY = 100
focal_class.modifier: private static final
focal_class.original_string: private static final int QUEUE_CAPACITY = 100;
focal_class.type: int
focal_class.var_name: QUEUE_CAPACITY
focal_class.declarator: queueCfg = new CollectionConfiguration()
focal_class.modifier: private static final
focal_class.original_string: private static final CollectionConfiguration queueCfg = new CollectionConfiguration();
focal_class.type: CollectionConfiguration
focal_class.var_name: queueCfg
focal_class.declarator: ignite
focal_class.modifier: private final
focal_class.original_string: private final Ignite ignite;
focal_class.type: Ignite
focal_class.var_name: ignite
focal_class.declarator: instances
focal_class.modifier: private final
focal_class.original_string: private final int instances;
focal_class.type: int
focal_class.var_name: instances
focal_class.declarator: maxPerNode
focal_class.modifier: private final
focal_class.original_string: private final int maxPerNode;
focal_class.type: int
focal_class.var_name: maxPerNode
focal_class.file: modules/ml/src/main/java/org/apache/ignite/ml/inference/builder/IgniteDistributedModelBuilder.java
focal_class.identifier: IgniteDistributedModelBuilder
focal_class.interfaces: implements AsyncModelBuilder
focal_class.class_method_signature: IgniteDistributedModelBuilder.IgniteDistributedModelBuilder(Ignite ignite, int instances, int maxPerNode)
focal_class.full_signature: public  IgniteDistributedModelBuilder(Ignite ignite, int instances, int maxPerNode)
focal_class.identifier: IgniteDistributedModelBuilder
focal_class.modifiers: public
focal_class.parameters: (Ignite ignite, int instances, int maxPerNode)
focal_class.signature:  IgniteDistributedModelBuilder(Ignite ignite, int instances, int maxPerNode)
focal_class.class_method_signature: IgniteDistributedModelBuilder.build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_class.full_signature: @Override public Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_class.identifier: build
focal_class.modifiers: @Override public
focal_class.parameters: (
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_class.return: Model<I, Future<O>>
focal_class.signature: Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_method.body: @Override public <I extends Serializable, O extends Serializable> Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser) {
          return new DistributedInfModel<>(ignite, UUID.randomUUID().toString(), reader, parser, instances, maxPerNode);
      }
focal_method.class_method_signature: IgniteDistributedModelBuilder.build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_method.full_signature: @Override public Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_method.identifier: build
focal_method.invocations: toString randomUUID
focal_method.modifiers: @Override public
focal_method.parameters: (
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_method.return: Model<I, Future<O>>
focal_method.signature: Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser)