本文整理汇总了Java中org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsCatalogJanitorEnabledRequest类的典型用法代码示例。如果您正苦于以下问题:Java IsCatalogJanitorEnabledRequest类的具体用法?Java IsCatalogJanitorEnabledRequest怎么用?Java IsCatalogJanitorEnabledRequest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IsCatalogJanitorEnabledRequest类属于org.apache.hadoop.hbase.protobuf.generated.MasterProtos包,在下文中一共展示了IsCatalogJanitorEnabledRequest类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: isCatalogJanitorEnabled
点赞 2
import org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsCatalogJanitorEnabledRequest; //导入依赖的package包/类
@Override
public IsCatalogJanitorEnabledResponse isCatalogJanitorEnabled(RpcController c,
IsCatalogJanitorEnabledRequest req) throws ServiceException {
return IsCatalogJanitorEnabledResponse.newBuilder().setValue(
master.isCatalogJanitorEnabled()).build();
}
开发者ID:fengchen8086,
项目名称:ditb,
代码行数:7,
代码来源:MasterRpcServices.java
示例2: isCatalogJanitorEnabled
点赞 2
import org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsCatalogJanitorEnabledRequest; //导入依赖的package包/类
@Override
public IsCatalogJanitorEnabledResponse isCatalogJanitorEnabled(RpcController c,
IsCatalogJanitorEnabledRequest req) throws ServiceException {
boolean isEnabled = catalogJanitorChore != null ? catalogJanitorChore.getEnabled() : false;
return IsCatalogJanitorEnabledResponse.newBuilder().setValue(isEnabled).build();
}
开发者ID:tenggyut,
项目名称:HIndex,
代码行数:7,
代码来源:HMaster.java
示例3: buildIsCatalogJanitorEnabledRequest
点赞 1
import org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsCatalogJanitorEnabledRequest; //导入依赖的package包/类
/**
* Creates a request for querying the master whether the catalog janitor is enabled
* @return A {@link IsCatalogJanitorEnabledRequest}
*/
public static IsCatalogJanitorEnabledRequest buildIsCatalogJanitorEnabledRequest() {
return IS_CATALOG_JANITOR_ENABLED_REQUEST;
}
开发者ID:fengchen8086,
项目名称:ditb,
代码行数:8,
代码来源:RequestConverter.java