Re: AWS S3AInputStream questions

2016-08-05 Thread Aaron Fabbri
On Tue, Aug 2, 2016 at 12:17 AM, Mr rty ff wrote: > > 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? My understanding is: seek(

Re: AWS S3AInputStream questions

2016-08-02 Thread Mr rty ff
The message got garbled up so I trying to send it again. Hi I have few questions about implementation of inputstream in S3.From  S3AInputStream.java 1) public synchronized long getPos() throws IOException {return (nextReadPos < 0) ? 0 : nextReadPos;} Why does it return nextReadPos  not pos?In meme

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