namespace java tachyon.thrift

include "common.thrift"
include "exception.thrift"

struct PartitionInfo {
  1: binary keyStart
  2: binary keyLimit
  3: i64 blockId
}

/**
 * This interface contains key-value master service endpoints for Tachyon clients.
 */
service KeyValueMasterClientService extends common.TachyonService {

  /**
   * Marks a partition complete and add it to the store.
   */
  void completePartition( /** the path of the store */  1: string path,
      /** the path of the store */ 2: PartitionInfo info)
    throws (1: exception.TachyonTException e)

  /**
   * Marks a store complete with its filesystem path.
   */
  void completeStore( /** the path of the store */ 1: string path)
    throws (1: exception.TachyonTException e)

  /**
   * Creates a new key-value store on master.
   */
  void createStore( /** the path of the store */  1: string path)
    throws (1: exception.TachyonTException e)

  /**
   * Gets a list of partition information given a filesystem path.
   */
  list<PartitionInfo> getPartitionInfo( /** the path of the store */ 1: string path)
    throws (1: exception.TachyonTException e)
}

namespace java tachyon.thrift

include "common.thrift"
include "exception.thrift"

/**
 * Information of each key-value partition.
 */
struct PartitionInfo {
  1: binary keyStart
  2: binary keyLimit
  3: i64 blockId
}

/**
 * This interface contains key-value master service endpoints for Tachyon clients.
 */
service KeyValueMasterClientService extends common.TachyonService {

  /**
   * Marks a partition complete and adds it to the store.
   */
  void completePartition( /** the path of the store */  1: string path,
      /** the path of the store */ 2: PartitionInfo info)
    throws (1: exception.TachyonTException e)

  /**
   * Marks a store complete with its filesystem path.
   */
  void completeStore( /** the path of the store */ 1: string path)
    throws (1: exception.TachyonTException e)

  /**
   * Creates a new key-value store on master.
   */
  void createStore( /** the path of the store */  1: string path)
    throws (1: exception.TachyonTException e)

  /**
   * Gets a list of partition information given a filesystem path.
   */
  list<PartitionInfo> getPartitionInfo( /** the path of the store */ 1: string path)
    throws (1: exception.TachyonTException e)
}

Add javadoc in thrift definition

apc999/alluxio,maobaolong/alluxio,calvinjia/tachyon,jsimsa/alluxio,uronce-cc/alluxio,ChangerYoung/alluxio,calvinjia/tachyon,maboelhassan/alluxio,bf8086/alluxio,ShailShah/alluxio,yuluo-ding/alluxio,Reidddddd/mo-alluxio,riversand963/alluxio,wwjiang007/alluxio,jsimsa/alluxio,madanadit/alluxio,jswudi/alluxio,maobaolong/alluxio,Alluxio/alluxio,Reidddddd/alluxio,maobaolong/alluxio,PasaLab/tachyon,Alluxio/alluxio,EvilMcJerkface/alluxio,calvinjia/tachyon,aaudiber/alluxio,PasaLab/tachyon,WilliamZapata/alluxio,ChangerYoung/alluxio,maboelhassan/alluxio,Alluxio/alluxio,maboelhassan/alluxio,calvinjia/tachyon,Reidddddd/alluxio,riversand963/alluxio,apc999/alluxio,aaudiber/alluxio,aaudiber/alluxio,yuluo-ding/alluxio,ShailShah/alluxio,uronce-cc/alluxio,ChangerYoung/alluxio,wwjiang007/alluxio,jsimsa/alluxio,madanadit/alluxio,uronce-cc/alluxio,wwjiang007/alluxio,jsimsa/alluxio,aaudiber/alluxio,ShailShah/alluxio,calvinjia/tachyon,Alluxio/alluxio,madanadit/alluxio,wwjiang007/alluxio,ShailShah/alluxio,yuluo-ding/alluxio,madanadit/alluxio,bf8086/alluxio,maobaolong/alluxio,jswudi/alluxio,maobaolong/alluxio,Reidddddd/mo-alluxio,calvinjia/tachyon,wwjiang007/alluxio,maobaolong/alluxio,madanadit/alluxio,ChangerYoung/alluxio,aaudiber/alluxio,Alluxio/alluxio,Reidddddd/alluxio,PasaLab/tachyon,riversand963/alluxio,EvilMcJerkface/alluxio,calvinjia/tachyon,jswudi/alluxio,WilliamZapata/alluxio,apc999/alluxio,yuluo-ding/alluxio,WilliamZapata/alluxio,wwjiang007/alluxio,uronce-cc/alluxio,madanadit/alluxio,ChangerYoung/alluxio,bf8086/alluxio,aaudiber/alluxio,EvilMcJerkface/alluxio,PasaLab/tachyon,uronce-cc/alluxio,Reidddddd/alluxio,jswudi/alluxio,Alluxio/alluxio,maboelhassan/alluxio,riversand963/alluxio,yuluo-ding/alluxio,apc999/alluxio,bf8086/alluxio,madanadit/alluxio,Reidddddd/mo-alluxio,apc999/alluxio,Reidddddd/alluxio,ChangerYoung/alluxio,Reidddddd/alluxio,Alluxio/alluxio,PasaLab/tachyon,ShailShah/alluxio,WilliamZapata/alluxio,wwjiang007/alluxio,wwjiang007/alluxio,WilliamZapata/alluxio,Alluxio/alluxio,bf8086/alluxio,EvilMcJerkface/alluxio,maboelhassan/alluxio,Reidddddd/alluxio,jswudi/alluxio,apc999/alluxio,riversand963/alluxio,maobaolong/alluxio,bf8086/alluxio,maobaolong/alluxio,madanadit/alluxio,bf8086/alluxio,Alluxio/alluxio,jsimsa/alluxio,uronce-cc/alluxio,Reidddddd/mo-alluxio,maobaolong/alluxio,PasaLab/tachyon,PasaLab/tachyon,WilliamZapata/alluxio,aaudiber/alluxio,bf8086/alluxio,EvilMcJerkface/alluxio,apc999/alluxio,riversand963/alluxio,ShailShah/alluxio,Reidddddd/mo-alluxio,Reidddddd/mo-alluxio,EvilMcJerkface/alluxio,EvilMcJerkface/alluxio,Alluxio/alluxio,jsimsa/alluxio,maobaolong/alluxio,EvilMcJerkface/alluxio,calvinjia/tachyon,maboelhassan/alluxio,wwjiang007/alluxio,yuluo-ding/alluxio,wwjiang007/alluxio,jswudi/alluxio,maboelhassan/alluxio