test_class.file: shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/kernel/impl/ShardingSphereThreadFactoryBuilderTest.java
test_class.identifier: ShardingSphereThreadFactoryBuilderTest
test_case.body: @Test
      public void assertBuild() {
          ThreadFactory threadFactory = ShardingSphereThreadFactoryBuilder.build();
          Thread thread0 = threadFactory.newThread(() -> { });
          assertThat(thread0.getName(), is("ShardingSphere-0"));
          Thread thread1 = threadFactory.newThread(() -> { });
          assertThat(thread1.getName(), is("ShardingSphere-1"));
      }
test_case.class_method_signature: ShardingSphereThreadFactoryBuilderTest.assertBuild()
test_case.full_signature: @Test public void assertBuild()
test_case.identifier: assertBuild
test_case.invocations: build newThread assertThat getName is newThread assertThat getName is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertBuild()
focal_class.declarator: NAME_FORMAT_PREFIX = "ShardingSphere-"
focal_class.modifier: private static final
focal_class.original_string: private static final String NAME_FORMAT_PREFIX = "ShardingSphere-";
focal_class.type: String
focal_class.var_name: NAME_FORMAT_PREFIX
focal_class.declarator: DEFAULT_EXECUTOR_NAME_FORMAT = NAME_FORMAT_PREFIX + "%d"
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_EXECUTOR_NAME_FORMAT = NAME_FORMAT_PREFIX + "%d";
focal_class.type: String
focal_class.var_name: DEFAULT_EXECUTOR_NAME_FORMAT
focal_class.file: shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/kernel/impl/ShardingSphereThreadFactoryBuilder.java
focal_class.identifier: ShardingSphereThreadFactoryBuilder
focal_class.class_method_signature: ShardingSphereThreadFactoryBuilder.build()
focal_class.full_signature: public static ThreadFactory build()
focal_class.identifier: build
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: ThreadFactory
focal_class.signature: ThreadFactory build()
focal_class.class_method_signature: ShardingSphereThreadFactoryBuilder.build(final String nameFormat)
focal_class.full_signature: public static ThreadFactory build(final String nameFormat)
focal_class.identifier: build
focal_class.modifiers: public static
focal_class.parameters: (final String nameFormat)
focal_class.return: ThreadFactory
focal_class.signature: ThreadFactory build(final String nameFormat)
focal_method.body: public static ThreadFactory build() {
          return new ThreadFactoryBuilder().setDaemon(true).setNameFormat(DEFAULT_EXECUTOR_NAME_FORMAT).build();
      }
focal_method.class_method_signature: ShardingSphereThreadFactoryBuilder.build()
focal_method.full_signature: public static ThreadFactory build()
focal_method.identifier: build
focal_method.invocations: build setNameFormat setDaemon
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: ThreadFactory
focal_method.signature: ThreadFactory build()