public void OnSuccess(Key[] keys, Record[] records) { if (parent.AssertEquals(size, records.Length)) { for (int i = 0; i < records.Length; i++) { Record record = records[i]; if (!parent.AssertRecordFound(keys[i], record)) { break; } if (!parent.AssertGreaterThanZero(record.generation)) { break; } if (!parent.AssertGreaterThanZero(record.expiration)) { break; } } } parent.NotifyCompleted(); }
public void OnRecord(Key key, Record record) { if (parent.AssertRecordFound(key, record)) { Object value = record.GetValue(binName); parent.AssertNotNull(value); } }