test_class.declarator: herdThreadHelper
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private HerdThreadHelper herdThreadHelper;
test_class.type: HerdThreadHelper
test_class.var_name: herdThreadHelper
test_class.file: herd-code/herd-core/src/test/java/org/finra/herd/core/helper/HerdThreadHelperTest.java
test_class.identifier: HerdThreadHelperTest
test_class.superclass: extends AbstractCoreTest
test_case.body: @Test
      public void testSleep() throws Exception
      {
          // Sleep for 1 second
          herdThreadHelper.sleep(1 * 1000L);
  
          // Passing null should result in Exception that is eaten and logged
  
          executeWithoutLogging(HerdThreadHelper.class, new Command()
          {
              @Override
              public void execute() throws Exception
              {
                  (new HerdThreadHelper()).sleep(null);
              }
          });
      }
test_case.class_method_signature: HerdThreadHelperTest.testSleep()
test_case.full_signature: @Test public void testSleep()
test_case.identifier: testSleep
test_case.invocations: sleep executeWithoutLogging sleep
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSleep()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(HerdThreadHelper.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(HerdThreadHelper.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.file: herd-code/herd-core/src/main/java/org/finra/herd/core/helper/HerdThreadHelper.java
focal_class.identifier: HerdThreadHelper
focal_class.class_method_signature: HerdThreadHelper.sleep(Long millis)
focal_class.full_signature: public void sleep(Long millis)
focal_class.identifier: sleep
focal_class.modifiers: public
focal_class.parameters: (Long millis)
focal_class.return: void
focal_class.signature: void sleep(Long millis)
focal_class.class_method_signature: HerdThreadHelper.executeAsync(Runnable runnable)
focal_class.full_signature: @Async public void executeAsync(Runnable runnable)
focal_class.identifier: executeAsync
focal_class.modifiers: @Async public
focal_class.parameters: (Runnable runnable)
focal_class.return: void
focal_class.signature: void executeAsync(Runnable runnable)
focal_method.body: public void sleep(Long millis)
      {
          try
          {
              Thread.sleep(millis);
          }
          catch (Exception e)
          {
              // Don't do anything since this is just a sleep.
              LOGGER.warn("Couldn't sleep for " + millis + " milliseconds.", e);
          }
      }
focal_method.class_method_signature: HerdThreadHelper.sleep(Long millis)
focal_method.full_signature: public void sleep(Long millis)
focal_method.identifier: sleep
focal_method.invocations: sleep warn
focal_method.modifiers: public
focal_method.parameters: (Long millis)
focal_method.return: void
focal_method.signature: void sleep(Long millis)