本文整理匯總了Java中org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.Cluster.Action.Type類的典型用法代碼示例。如果您正苦於以下問題:Java Type類的具體用法?Java Type怎麽用?Java Type使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Type類屬於org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.Cluster.Action包,在下文中一共展示了Type類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: SwapRegionsAction
import org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.Cluster.Action.Type; //導入依賴的package包/類
public SwapRegionsAction(int fromServer, int fromRegion, int toServer, int toRegion) {
super(Type.SWAP_REGIONS);
this.fromServer = fromServer;
this.fromRegion = fromRegion;
this.toServer = toServer;
this.toRegion = toRegion;
}
示例2: AssignRegionAction
import org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.Cluster.Action.Type; //導入依賴的package包/類
public AssignRegionAction(int region, int server) {
super(Type.ASSIGN_REGION);
this.region = region;
this.server = server;
}
示例3: MoveRegionAction
import org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.Cluster.Action.Type; //導入依賴的package包/類
public MoveRegionAction(int region, int fromServer, int toServer) {
super(Type.MOVE_REGION);
this.fromServer = fromServer;
this.region = region;
this.toServer = toServer;
}
示例4: Action
import org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.Cluster.Action.Type; //導入依賴的package包/類
public Action (Type type) {this.type = type;}