public void freeEntry(BasicPoolEntry entry){
  if (numEntries < 1) {
    throw new IllegalStateException("No entry created for this pool. " + route);
  }
  if (numEntries <= freeEntries.size()) {
    throw new IllegalStateException("No entry allocated from this pool. " + route);
  }
  freeEntries.add(entry);
}

public void freeEntry ( BasicPoolEntry entry ) { if ( numEntries < 1 ) { throw new IllegalStateException ( "No entry created for this pool. " + route ) ; } if ( numEntries <= freeEntries . size ( ) ) { throw new IllegalStateException ( "No entry allocated from this pool. " + route ) ; } freeEntries . add ( entry ) ; }
returns an allocated entry to this pool .
