public int getDeregisterSubClusterFailedRetrieved() {
    return numDeregisterSubClusterFailedRetrieved.value();
  }
@Test
  public void testDeregisterSubClusterRetrievedFailed() {
    long totalBadBefore = metrics.getDeregisterSubClusterFailedRetrieved();
    badSubCluster.getDeregisterSubClusterFailed();
    Assert.assertEquals(totalBadBefore + 1,
        metrics.getDeregisterSubClusterFailedRetrieved());
  }