本文整理了Java中org.apache.helix.manager.zk.ZkCacheBaseDataAccessor.<init>()
方法的一些代码示例,展示了ZkCacheBaseDataAccessor.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZkCacheBaseDataAccessor.<init>()
方法的具体详情如下:
包路径:org.apache.helix.manager.zk.ZkCacheBaseDataAccessor
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!