code: public static void disposeInstance(IdGenerator idGen) {
          if (idGen != null) {
              long nodeId = idGen.nodeId;
              IdGenerator temp = cache.remove(nodeId);
              if (temp != null) {
                  temp.destroy();
              }
          }
      }
docs: Disposes an unused {@link IdGenerator}.
  
  @param idGen