class ReadFailureAndLineNumber {
        final String readFailure;
        final long lineNumber;

        ReadFailureAndLineNumber(String readFailure, long lineNumber) {
            this.readFailure = readFailure;
            this.lineNumber = lineNumber;
        }
    }

    @Override
    public void close() {
        ramAccounting.addBytes(-usedMemoryEstimate);
        usedMemoryEstimate = 0L;
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>

        return "ShardedRequests{"
            + "numShards=" + itemsByShard.size()
            + ", bytesUsed=" + usedMemoryEstimate
            + ", sizePerShard=" + usedMemoryEstimate / Math.max(1, itemsByShard.size())
            + "}";
    
<no_super_class>