code: public void release(PooledWsByteBufferImpl buffer) {
          if (inUseTable != null) {
              inUseTable.remove(buffer);
          }
          boolean pooled = pool.put(buffer);
          if (isDirectPool && !pooled) {
              destroy(buffer);
          }
      }
docs: Return a buffer to the pool or free the buffer to be garbage
  collected if the pool is full.
  
  @param buffer to be released.
  @param entryID