test_class.declarator: registryRepository
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private RegistryRepository registryRepository;
test_class.type: RegistryRepository
test_class.var_name: registryRepository
test_class.declarator: repositoryResumeBreakPointManager
test_class.modifier: private
test_class.original_string: private RepositoryResumeBreakPointManager repositoryResumeBreakPointManager;
test_class.type: RepositoryResumeBreakPointManager
test_class.var_name: repositoryResumeBreakPointManager
test_class.file: shardingsphere-scaling/shardingsphere-scaling-core/src/test/java/org/apache/shardingsphere/scaling/core/job/position/resume/RepositoryResumeBreakPointManagerTest.java
test_class.identifier: RepositoryResumeBreakPointManagerTest
test_case.body: @Test
      public void assertPersistInventoryPosition() {
          repositoryResumeBreakPointManager.persistInventoryPosition();
          verify(registryRepository, atLeastOnce()).persist("/base/inventory", "{\"unfinished\":{},\"finished\":[]}");
      }
test_case.class_method_signature: RepositoryResumeBreakPointManagerTest.assertPersistInventoryPosition()
test_case.full_signature: @Test public void assertPersistInventoryPosition()
test_case.identifier: assertPersistInventoryPosition
test_case.invocations: persistInventoryPosition persist verify atLeastOnce
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertPersistInventoryPosition()
focal_class.declarator: INVENTORY = "/inventory"
focal_class.modifier: private static final
focal_class.original_string: private static final String INVENTORY = "/inventory";
focal_class.type: String
focal_class.var_name: INVENTORY
focal_class.declarator: INCREMENTAL = "/incremental"
focal_class.modifier: private static final
focal_class.original_string: private static final String INCREMENTAL = "/incremental";
focal_class.type: String
focal_class.var_name: INCREMENTAL
focal_class.declarator: registryRepository = RegistryRepositoryHolder.REGISTRY_REPOSITORY
focal_class.modifier: private static
focal_class.original_string: private static RegistryRepository registryRepository = RegistryRepositoryHolder.REGISTRY_REPOSITORY;
focal_class.type: RegistryRepository
focal_class.var_name: registryRepository
focal_class.declarator: executor
focal_class.modifier: private final
focal_class.original_string: private final ScheduledExecutorService executor;
focal_class.type: ScheduledExecutorService
focal_class.var_name: executor
focal_class.declarator: inventoryPath
focal_class.modifier: private final
focal_class.original_string: private final String inventoryPath;
focal_class.type: String
focal_class.var_name: inventoryPath
focal_class.declarator: incrementalPath
focal_class.modifier: private final
focal_class.original_string: private final String incrementalPath;
focal_class.type: String
focal_class.var_name: incrementalPath
focal_class.file: shardingsphere-scaling/shardingsphere-scaling-core/src/main/java/org/apache/shardingsphere/scaling/core/job/position/resume/RepositoryResumeBreakPointManager.java
focal_class.identifier: RepositoryResumeBreakPointManager
focal_class.class_method_signature: RepositoryResumeBreakPointManager.RepositoryResumeBreakPointManager(final String databaseType, final String taskPath)
focal_class.full_signature: public  RepositoryResumeBreakPointManager(final String databaseType, final String taskPath)
focal_class.identifier: RepositoryResumeBreakPointManager
focal_class.modifiers: public
focal_class.parameters: (final String databaseType, final String taskPath)
focal_class.signature:  RepositoryResumeBreakPointManager(final String databaseType, final String taskPath)
focal_class.class_method_signature: RepositoryResumeBreakPointManager.isAvailable()
focal_class.full_signature: public static boolean isAvailable()
focal_class.identifier: isAvailable
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAvailable()
focal_class.class_method_signature: RepositoryResumeBreakPointManager.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: RepositoryResumeBreakPointManager.resumePosition()
focal_class.full_signature: private void resumePosition()
focal_class.identifier: resumePosition
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resumePosition()
focal_class.class_method_signature: RepositoryResumeBreakPointManager.persistPosition()
focal_class.full_signature: private void persistPosition()
focal_class.identifier: persistPosition
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void persistPosition()
focal_class.class_method_signature: RepositoryResumeBreakPointManager.persistInventoryPosition()
focal_class.full_signature: @Override public void persistInventoryPosition()
focal_class.identifier: persistInventoryPosition
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void persistInventoryPosition()
focal_class.class_method_signature: RepositoryResumeBreakPointManager.persistIncrementalPosition()
focal_class.full_signature: @Override public void persistIncrementalPosition()
focal_class.identifier: persistIncrementalPosition
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void persistIncrementalPosition()
focal_class.superclass: extends AbstractResumeBreakPointManager
focal_method.body: @Override
      public void persistInventoryPosition() {
          String result = getInventoryPositionData();
          registryRepository.persist(inventoryPath, result);
          log.info("persist inventory position {} = {}", inventoryPath, result);
      }
focal_method.class_method_signature: RepositoryResumeBreakPointManager.persistInventoryPosition()
focal_method.full_signature: @Override public void persistInventoryPosition()
focal_method.identifier: persistInventoryPosition
focal_method.invocations: getInventoryPositionData persist info
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void persistInventoryPosition()