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