/** * @param ddgClient * @param fileName * @param offset * @param size */ public void read(DDGClient ddgClient, String fileName, long offset, long size) { ReplicationGroup replicationGroup = files.get(fileName); replicationGroup.read(fileName, offset, size, ddgClient); }
/** * @param ddgClient * @param fileName * @param offset * @param length */ public void write(DDGClient ddgClient, String fileName, long offset, long length) { ReplicationGroup replicationGroup = files.get(fileName); replicationGroup.write(fileName, offset, length, ddgClient); }