//-------------------------------------------------------------------------
@Override
public <R> ConfigHistoryResult<R> history(final ConfigHistoryRequest<R> request) {
final Class<?> type = request.getType();
final ObjectId oid = request.getObjectId();
final PagingRequest pagingRequest = request.getPagingRequest();
return new ConfigHistoryResult<R>(
pagingRequest.select(
functional(_store.keySet())
.map(new Function1<ObjectId, ConfigDocument>() {
@Override
public ConfigDocument execute(final ObjectId objectId) {
return _store.get(objectId);