本文整理了Java中com.twitter.distributedlog.impl.ZKLogMetadataStore.<init>()
方法的一些代码示例,展示了ZKLogMetadataStore.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKLogMetadataStore.<init>()
方法的具体详情如下:
包路径:com.twitter.distributedlog.impl.ZKLogMetadataStore
类名称:ZKLogMetadataStore
方法名:<init>
暂无
代码示例来源:origin: twitter/distributedlog
static interface ZooKeeperClientHandler<T> {
T handle(ZooKeeperClient zkc) throws IOException;
}
代码示例来源:origin: twitter/distributedlog
@Before
public void setup() throws Exception {
zkc = TestZooKeeperClientBuilder.newBuilder()
.uri(createDLMURI("/"))
.sessionTimeoutMs(zkSessionTimeoutMs)
.build();
scheduler = OrderedScheduler.newBuilder()
.name("test-zk-logmetadata-store")
.corePoolSize(1)
.build();
DistributedLogConfiguration conf = new DistributedLogConfiguration();
conf.addConfiguration(baseConf);
this.uri = createDLMURI("/" + runtime.getMethodName());
metadataStore = new ZKLogMetadataStore(conf, uri, zkc, scheduler);
}
内容来源于网络,如有侵权,请联系作者删除!