{
if (has_cache) {
cache_.reset(new InMemoryClient(segment, rrclass));
- segment_ = segment;
+ ztable_segment_ = segment;
}
}
{
if (has_cache) {
cache_.reset(new InMemoryClient(segment, rrclass));
- segment_ = segment;
+ ztable_segment_ = segment;
}
}
}
return (ZoneWriterPair(ZONE_SUCCESS,
ZoneWriterPtr(
- result.info->segment_->
+ result.info->ztable_segment_->
getZoneWriter(load_action, name, rrclass_))));
}
// No other applications or tests may use it.
const DataSourceClient* getCacheClient() const;
boost::shared_ptr<memory::InMemoryClient> cache_;
- boost::shared_ptr<memory::ZoneTableSegment> segment_;
+ boost::shared_ptr<memory::ZoneTableSegment> ztable_segment_;
};
/// \brief The collection of data sources.
ConfigurableClientList::DataSourceInfo& dsrc_info =
list_->getDataSources()[index];
dsrc_info.cache_ = cache;
- dsrc_info.segment_ = ztable_segment_;
+ dsrc_info.ztable_segment_ = ztable_segment_;
}
// Check the positive result is as we expect it.
void positiveResult(const ClientList::FindResult& result,