コード例 #1
0
 /**
  * @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);
 }
コード例 #2
0
 /**
  * @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);
 }