docs: @Deprecated
      public TableDescription waitForAllActiveOrDelete() throws InterruptedException {
          try {
              retry: for (;;) {
                  TableDescription desc = describe();
                  String status = desc.getTableStatus();
                  if (TableStatus.fromValue(status) == TableStatus.ACTIVE) {
                      List<GlobalSecondaryIndexDescription> descriptions =
                              desc.getGlobalSecondaryIndexes();
                          if (descriptions != null) {
                              for (GlobalSecondaryIndexDescription d: descriptions) {
                                  status = d.getIndexStatus();
                                  if (IndexStatus.fromValue(status) != IndexStatus.ACTIVE) {
                                      // Some index is not active.  Keep waiting.
                                      Thread.sleep(SLEEP_TIME_MILLIS);
                                      continue retry;
                                  }
                              }
                          }
                          return desc;
                  }
                  Thread.sleep(SLEEP_TIME_MILLIS);
                  continue;
              }
          } catch(ResourceNotFoundException deleted) {
          }
          return null;
      }