@Test public void setShuttingDown() throws Exception { boolean old = RpcRunningState.isShuttingDown(); try { RpcRunningState.setShuttingDown(true); Assert.assertTrue(RpcRunningState.isShuttingDown()); RpcRunningState.setShuttingDown(false); Assert.assertFalse(RpcRunningState.isShuttingDown()); } finally { RpcRunningState.setShuttingDown(old); } }
static void setShuttingDown(boolean shuttingDown) { RpcRunningState.shuttingDown = shuttingDown; }
RpcRunningState { static void setShuttingDown(boolean shuttingDown) { RpcRunningState.shuttingDown = shuttingDown; } }
RpcRunningState { static void setShuttingDown(boolean shuttingDown) { RpcRunningState.shuttingDown = shuttingDown; }  }
RpcRunningState { static void setShuttingDown(boolean shuttingDown) { RpcRunningState.shuttingDown = shuttingDown; }  static boolean isShuttingDown(); static boolean isUnitTestMode(); static void setUnitTestMode(boolean unitTestMode); static boolean isDebugMode(); static void setDebugMode(boolean debugMode); }
RpcRunningState { static void setShuttingDown(boolean shuttingDown) { RpcRunningState.shuttingDown = shuttingDown; }  static boolean isShuttingDown(); static boolean isUnitTestMode(); static void setUnitTestMode(boolean unitTestMode); static boolean isDebugMode(); static void setDebugMode(boolean debugMode);  }