Beispiel #1
0
 /**
  * Creates a dependency.
  *
  * @param parents the dependency's input files
  * @param children the dependency's output files
  * @param commandPrefix identifies a command prefix
  * @param data stores dependency data
  * @param comment records a dependency comment
  * @param framework identifies the framework
  * @param frameworkVersion identifies the framework version
  * @param dependencyType the dependency's type, Wide or Narrow
  * @param childrenBlockSizeByte the block size of the dependency's output files
  * @return the dependency's id
  * @throws IOException if the underlying master RPC fails
  */
 public synchronized int createDependency(
     List<String> parents,
     List<String> children,
     String commandPrefix,
     List<ByteBuffer> data,
     String comment,
     String framework,
     String frameworkVersion,
     int dependencyType,
     long childrenBlockSizeByte)
     throws IOException {
   return mFSMasterClient.user_createDependency(
       parents,
       children,
       commandPrefix,
       data,
       comment,
       framework,
       frameworkVersion,
       dependencyType,
       childrenBlockSizeByte);
 }