org.apache.helix.manager.zk.ZkCacheBaseDataAccessor.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(84)

本文整理了Java中org.apache.helix.manager.zk.ZkCacheBaseDataAccessor.<init>()方法的一些代码示例,展示了ZkCacheBaseDataAccessor.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZkCacheBaseDataAccessor.<init>()方法的具体详情如下:
包路径:org.apache.helix.manager.zk.ZkCacheBaseDataAccessor
类名称:ZkCacheBaseDataAccessor
方法名:<init>

ZkCacheBaseDataAccessor.<init>介绍

暂无

代码示例

代码示例来源:origin: apache/incubator-pinot

/**
 * Create Helix cluster if needed, and then start a Pinot controller instance.
 */
public synchronized void start() {
 _helixZkManager = HelixSetupUtils
   .setup(_helixClusterName, _helixZkURL, _instanceId, _isUpdateStateModel, _enableBatchMessageMode);
 Preconditions.checkNotNull(_helixZkManager);
 _helixAdmin = _helixZkManager.getClusterManagmentTool();
 _propertyStore = _helixZkManager.getHelixPropertyStore();
 _helixDataAccessor = _helixZkManager.getHelixDataAccessor();
 // Cache instance zk paths.
 BaseDataAccessor<ZNRecord> baseDataAccessor = _helixDataAccessor.getBaseDataAccessor();
 String instanceConfigs = PropertyPathBuilder.instanceConfig(_helixClusterName);
 _cacheInstanceConfigsDataAccessor =
   new ZkCacheBaseDataAccessor<>((ZkBaseDataAccessor<ZNRecord>) baseDataAccessor, instanceConfigs, null,
     Collections.singletonList(instanceConfigs));
 _keyBuilder = _helixDataAccessor.keyBuilder();
 _segmentDeletionManager = new SegmentDeletionManager(_dataDir, _helixAdmin, _helixClusterName, _propertyStore);
 ZKMetadataProvider.setClusterTenantIsolationEnabled(_propertyStore, _isSingleTenantCluster);
 _tableRebalancer = new TableRebalancer(_helixZkManager, _helixAdmin, _helixClusterName);
}

代码示例来源:origin: apache/helix

new ZkCacheBaseDataAccessor<ZNRecord>(baseAccessor, null, Arrays.asList(curStatePath,
  extViewPath), null);

代码示例来源:origin: apache/helix

new ZkCacheBaseDataAccessor<ZNRecord>(baseAccessor, null, Arrays.asList(curStatePath), null);

代码示例来源:origin: apache/helix

new ZkCacheBaseDataAccessor<ZNRecord>(baseAccessor, null, null, cachePaths);

代码示例来源:origin: apache/helix

new ZkCacheBaseDataAccessor<ZNRecord>(baseAccessor, null, cachePaths, null);

代码示例来源:origin: apache/helix

new ZkCacheBaseDataAccessor<ZNRecord>(baseAccessor, null, cachePaths, null);

代码示例来源:origin: apache/helix

new ZkCacheBaseDataAccessor<ZNRecord>(baseAccessor, null, null, zkCacheInitPaths);

代码示例来源:origin: apache/helix

new ZkCacheBaseDataAccessor<ZNRecord>(baseAccessor, null, null, zkCacheInitPaths);

代码示例来源:origin: apache/helix

new ZkCacheBaseDataAccessor<ZNRecord>(baseAccessor, null, cachePaths, null);

相关文章