code: public void invalidateHeadCache(Byte key, String value) {
          if (headerCache != null && headerCache.containsKey(key)) {
              String old = headerCache.get(key);
              if (!old.equals(value)) {
                  throw new SofaRpcRuntimeException("Value of old is not match current");
              }
              headerCache.remove(key);
          }
      }
docs: Invalidate head cache.
  
  @param key   the key
  @param value the value