private void requestBlock ( ) { next = ByteBuffer . allocate ( blockSizeBytes ) ; long requestTimeout = retryParams . getRequestTimeoutMillisForCurrentAttempt ( ) ; pendingFetch = raw . readObjectAsync ( next , filename , fetchPosition , requestTimeout ) ; }
Allocates a new next buffer and pending fetch .