test_class.file: hystrix-core/src/test/java/com/netflix/hystrix/HystrixTest.java
test_class.identifier: HystrixTest
test_case.body: @Test
      public void testResetCommandProperties() {
          HystrixCommand<Boolean> cmd1 = new ResettableCommand(100, 1, 10);
          assertEquals(100L, (long) cmd1.getProperties().executionTimeoutInMilliseconds().get());
          assertEquals(1L, (long) cmd1.getProperties().executionIsolationSemaphoreMaxConcurrentRequests().get());
          //assertEquals(10L, (long) cmd1.threadPool.getExecutor()..getCorePoolSize());
  
          Hystrix.reset();
  
          HystrixCommand<Boolean> cmd2 = new ResettableCommand(700, 2, 40);
          assertEquals(700L, (long) cmd2.getProperties().executionTimeoutInMilliseconds().get());
          assertEquals(2L, (long) cmd2.getProperties().executionIsolationSemaphoreMaxConcurrentRequests().get());
          //assertEquals(40L, (long) cmd2.threadPool.getExecutor().getCorePoolSize());
  	}
test_case.class_method_signature: HystrixTest.testResetCommandProperties()
test_case.full_signature: @Test public void testResetCommandProperties()
test_case.identifier: testResetCommandProperties
test_case.invocations: assertEquals get executionTimeoutInMilliseconds getProperties assertEquals get executionIsolationSemaphoreMaxConcurrentRequests getProperties reset assertEquals get executionTimeoutInMilliseconds getProperties assertEquals get executionIsolationSemaphoreMaxConcurrentRequests getProperties
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testResetCommandProperties()
focal_class.declarator: logger = LoggerFactory.getLogger(Hystrix.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(Hystrix.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: currentCommand = new ThreadLocal<ConcurrentStack<HystrixCommandKey>>() {
          @Override
          protected ConcurrentStack<HystrixCommandKey> initialValue() {
              return new ConcurrentStack<HystrixCommandKey>();
          }
      }
focal_class.modifier: private static
focal_class.original_string: private static ThreadLocal<ConcurrentStack<HystrixCommandKey>> currentCommand = new ThreadLocal<ConcurrentStack<HystrixCommandKey>>() {
          @Override
          protected ConcurrentStack<HystrixCommandKey> initialValue() {
              return new ConcurrentStack<HystrixCommandKey>();
          }
      };
focal_class.type: ThreadLocal<ConcurrentStack<HystrixCommandKey>>
focal_class.var_name: currentCommand
focal_class.file: hystrix-core/src/main/java/com/netflix/hystrix/Hystrix.java
focal_class.identifier: Hystrix
focal_class.class_method_signature: Hystrix.reset()
focal_class.full_signature: public static void reset()
focal_class.identifier: reset
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: Hystrix.reset(long time, TimeUnit unit)
focal_class.full_signature: public static void reset(long time, TimeUnit unit)
focal_class.identifier: reset
focal_class.modifiers: public static
focal_class.parameters: (long time, TimeUnit unit)
focal_class.return: void
focal_class.signature: void reset(long time, TimeUnit unit)
focal_class.class_method_signature: Hystrix._reset()
focal_class.full_signature: private static void _reset()
focal_class.identifier: _reset
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void _reset()
focal_class.class_method_signature: Hystrix.getCurrentThreadExecutingCommand()
focal_class.full_signature: public static HystrixCommandKey getCurrentThreadExecutingCommand()
focal_class.identifier: getCurrentThreadExecutingCommand
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: HystrixCommandKey
focal_class.signature: HystrixCommandKey getCurrentThreadExecutingCommand()
focal_class.class_method_signature: Hystrix.startCurrentThreadExecutingCommand(HystrixCommandKey key)
focal_class.full_signature: static Action0 startCurrentThreadExecutingCommand(HystrixCommandKey key)
focal_class.identifier: startCurrentThreadExecutingCommand
focal_class.modifiers: static
focal_class.parameters: (HystrixCommandKey key)
focal_class.return: Action0
focal_class.signature: Action0 startCurrentThreadExecutingCommand(HystrixCommandKey key)
focal_class.class_method_signature: Hystrix.endCurrentThreadExecutingCommand()
focal_class.full_signature: static void endCurrentThreadExecutingCommand()
focal_class.identifier: endCurrentThreadExecutingCommand
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void endCurrentThreadExecutingCommand()
focal_class.class_method_signature: Hystrix.endCurrentThreadExecutingCommand(ConcurrentStack<HystrixCommandKey> list)
focal_class.full_signature: private static void endCurrentThreadExecutingCommand(ConcurrentStack<HystrixCommandKey> list)
focal_class.identifier: endCurrentThreadExecutingCommand
focal_class.modifiers: private static
focal_class.parameters: (ConcurrentStack<HystrixCommandKey> list)
focal_class.return: void
focal_class.signature: void endCurrentThreadExecutingCommand(ConcurrentStack<HystrixCommandKey> list)
focal_class.class_method_signature: Hystrix.getCommandCount()
focal_class.full_signature: static int getCommandCount()
focal_class.identifier: getCommandCount
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getCommandCount()
focal_method.body: public static void reset() {
          // shutdown thread-pools
          HystrixThreadPool.Factory.shutdown();
          _reset();
      }
focal_method.class_method_signature: Hystrix.reset()
focal_method.full_signature: public static void reset()
focal_method.identifier: reset
focal_method.invocations: shutdown _reset
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void reset()