Re: AWS S3AInputStream questions

2016-08-02 Thread Mr rty ff
InStream()", this.requestedStreamLen);pos = targetPos; Why you need this line? Shouldn`t pos be updated with actual skipped value? As you did: | if (skipped > 0) { | | | pos += skipped; | Thanks On Tuesday, August 2, 2016 10:17 AM, Mr rty ff wrote: Hi I have few questions about i

AWS S3AInputStream questions

2016-08-02 Thread Mr rty ff
Hi I have few questions about implementation of inputstream in S3.  1)public synchronized long getPos() throws IOException {return (nextReadPos < 0) ? 0 : nextReadPos;}Why does it return nextReadPos  not pos?In memeber definition for pos/*** This is the public position; the one set in {@link #se