test_class.declarator: metadataStorage = new ConcurrentHashMap<>()
test_class.modifier: private final
test_class.original_string: private final ConcurrentMap<UUID, Future<?>> metadataStorage = new ConcurrentHashMap<>();
test_class.type: ConcurrentMap<UUID, Future<?>>
test_class.var_name: metadataStorage
test_class.file: modules/tensorflow/src/test/java/org/apache/ignite/tensorflow/core/longrunning/task/LongRunningProcessClearTaskTest.java
test_class.identifier: LongRunningProcessClearTaskTest
test_case.body: @Test(expected = IllegalStateException.class)
      public void testCallProcessIsRunning() {
          UUID procId = UUID.randomUUID();
  
          Future<?> fut = mock(Future.class);
          doReturn(false).when(fut).isDone();
          metadataStorage.put(procId, fut);
  
          LongRunningProcessClearTask clearTask = createTask(procId);
  
          clearTask.call();
      }
test_case.class_method_signature: LongRunningProcessClearTaskTest.testCallProcessIsRunning()
test_case.full_signature: @Test(expected = IllegalStateException.class) public void testCallProcessIsRunning()
test_case.identifier: testCallProcessIsRunning
test_case.invocations: randomUUID mock isDone when doReturn put createTask call
test_case.modifiers: @Test(expected = IllegalStateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCallProcessIsRunning()
focal_class.declarator: serialVersionUID = -1840332865137076107L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -1840332865137076107L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: procIds
focal_class.modifier: private final
focal_class.original_string: private final List<UUID> procIds;
focal_class.type: List<UUID>
focal_class.var_name: procIds
focal_class.file: modules/tensorflow/src/main/java/org/apache/ignite/tensorflow/core/longrunning/task/LongRunningProcessClearTask.java
focal_class.identifier: LongRunningProcessClearTask
focal_class.class_method_signature: LongRunningProcessClearTask.LongRunningProcessClearTask(List<UUID> procIds)
focal_class.full_signature: public  LongRunningProcessClearTask(List<UUID> procIds)
focal_class.identifier: LongRunningProcessClearTask
focal_class.modifiers: public
focal_class.parameters: (List<UUID> procIds)
focal_class.signature:  LongRunningProcessClearTask(List<UUID> procIds)
focal_class.class_method_signature: LongRunningProcessClearTask.call()
focal_class.full_signature: @Override public List<LongRunningProcessStatus> call()
focal_class.identifier: call
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<LongRunningProcessStatus>
focal_class.signature: List<LongRunningProcessStatus> call()
focal_class.class_method_signature: LongRunningProcessClearTask.prepareProcessForRemoving(UUID procId)
focal_class.full_signature: private LongRunningProcessStatus prepareProcessForRemoving(UUID procId)
focal_class.identifier: prepareProcessForRemoving
focal_class.modifiers: private
focal_class.parameters: (UUID procId)
focal_class.return: LongRunningProcessStatus
focal_class.signature: LongRunningProcessStatus prepareProcessForRemoving(UUID procId)
focal_class.class_method_signature: LongRunningProcessClearTask.removeProcessesFromMetadataStorage()
focal_class.full_signature: private void removeProcessesFromMetadataStorage()
focal_class.identifier: removeProcessesFromMetadataStorage
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void removeProcessesFromMetadataStorage()
focal_class.superclass: extends LongRunningProcessTask<List<LongRunningProcessStatus>>
focal_method.body: @Override public List<LongRunningProcessStatus> call() {
          ArrayList<LongRunningProcessStatus> res = new ArrayList<>();
  
          for (UUID prodId : procIds)
              res.add(prepareProcessForRemoving(prodId));
  
          // All-or-nothing strategy. Processes will be removed only if all processes can be removed.
          removeProcessesFromMetadataStorage();
  
          return res;
      }
focal_method.class_method_signature: LongRunningProcessClearTask.call()
focal_method.full_signature: @Override public List<LongRunningProcessStatus> call()
focal_method.identifier: call
focal_method.invocations: add prepareProcessForRemoving removeProcessesFromMetadataStorage
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: List<LongRunningProcessStatus>
focal_method.signature: List<LongRunningProcessStatus> call()