//not restored yet
Registry registry = requestContext.getRegistry();
String path = requestContext.getResourcePath().getPath();
Reader reader = requestContext.getDumpingReader();
// we wrap the reader with the monitored reader
MonitoredReader monitoredReader = new MonitoredReader(reader);
registry.restore(path, monitoredReader);
size = monitoredReader.getTotalRead();
requestContext.setProcessingComplete(true);
}
// persisting bandwidth
//RegistryUsagePersister.storeIncomingBandwidth(tenantId, size);