本文整理了Java中proj.zoie.api.Zoie.syncWithVersion()
方法的一些代码示例,展示了Zoie.syncWithVersion()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zoie.syncWithVersion()
方法的具体详情如下:
包路径:proj.zoie.api.Zoie
类名称:Zoie
方法名:syncWithVersion
暂无
代码示例来源:origin: senseidb/zoie
@Override
public void syncWithVersion(long timeInMillis, String version) throws ZoieException {
if (_zoieTwo != null) {
_zoieTwo.syncWithVersion(timeInMillis, version);
}
}
代码示例来源:origin: com.senseidb.zoie/zoie-core
@Override
public void syncWithVersion(long timeInMillis, String version) throws ZoieException {
if (_zoieTwo != null) {
_zoieTwo.syncWithVersion(timeInMillis, version);
}
}
代码示例来源:origin: com.linkedin.zoie/zoie-core
public void syncWithVersion(long timeInMillis, String version) throws ZoieException
{
//long t0 = System.currentTimeMillis();
//Zoie zoieOne = _zoieOne;
//if (zoieOne != null) // TODO:last zoieOne version.
//zoieOne.syncWithVersion(timeInMillis, version);
//long left = timeInMillis - (System.currentTimeMillis()-t0);
//if (left > 0)
//_zoieTwo.syncWithVersion(timeInMillis, version);
//else
//throw new ZoieException("timed out when syncing.");
if (_zoieTwo != null)
_zoieTwo.syncWithVersion(timeInMillis, version);
}
代码示例来源:origin: com.senseidb/sensei-core
@Override
public void syncWithVersion(long timeToWait, String version) throws ZoieException {
Iterator<Integer> itr = _zoieSystemMap.keySet().iterator();
while (itr.hasNext()) {
int part_num = itr.next();
Zoie<BoboSegmentReader, JSONObject> dataConsumer = _zoieSystemMap.get(part_num);
if (dataConsumer != null) {
dataConsumer.syncWithVersion(timeToWait, version);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!