commit | 50166bfed9d096a09db524279d42b0846f787d70 | [log] [tgz] |
---|---|---|
author | Srdjan Petrovic <spetrovic@google.com> | Fri Oct 30 11:28:04 2015 -0700 |
committer | Srdjan Petrovic <spetrovic@google.com> | Fri Oct 30 11:28:04 2015 -0700 |
tree | 41d57f4e817a0864e890cbe5403f78a51fca6976 | |
parent | b2cc96ac7b13aeb9b2dbdd066fe47831c4a7eac2 [diff] |
Java: add a common iterator class for various iterators we use Change the iterator behavior to never throw a RuntimeException but to terminate early instead, reporting any errors encountered via a separate method. Also unified syncbase Stream and iterator. The end result is that the only way to close the syncbase Stream is to cancel the context. MultiPart: 1/2 Change-Id: I7f49270f69aa805761a7cd14a0cda4e8d94e4ea7