本文整理了Java中proj.zoie.api.Zoie.shutdown()
方法的一些代码示例,展示了Zoie.shutdown()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zoie.shutdown()
方法的具体详情如下:
包路径:proj.zoie.api.Zoie
类名称:Zoie
方法名:shutdown
暂无
代码示例来源:origin: senseidb/zoie
@Override
public void shutdown() {
_running = false;
Zoie<R, D> zoieOne = _zoieOne;
if (zoieOne != null) {
zoieOne.shutdown();
}
if (_zoieTwo != null) {
_zoieTwo.shutdown();
}
}
代码示例来源:origin: com.linkedin.zoie/zoie-core
public void shutdown()
{
_running = false;
Zoie zoieOne = _zoieOne;
if (zoieOne != null)
zoieOne.shutdown();
if (_zoieTwo != null)
_zoieTwo.shutdown();
}
代码示例来源:origin: com.senseidb.zoie/zoie-core
@Override
public void shutdown() {
_running = false;
Zoie<R, D> zoieOne = _zoieOne;
if (zoieOne != null) {
zoieOne.shutdown();
}
if (_zoieTwo != null) {
_zoieTwo.shutdown();
}
}
代码示例来源:origin: senseidb/zoie
@Override
public void run() {
synchronized (_activeReaders) {
for (ZoieRef z : _activeReaders.values()) {
if (z.zoie == toBeShutdown) {
log.info("Waiting for active readers...");
return;
}
}
}
log.info("Shuting down old zoie...");
toBeShutdown.shutdown();
cancel();
}
}, 8000, 8000);
代码示例来源:origin: com.senseidb/sensei-core
public void shutdown() {
if (!_started) return;
logger.info("unregistering mbeans...");
// shutdown the index manager
logger.info("shutting down index manager...");
if (_indexManager != null) {
_indexManager.shutdown();
}
logger.info("index manager shutdown...");
// shutdown the zoieSystems
for (Zoie<BoboSegmentReader, ?> zoieSystem : zoieSystems) {
zoieSystem.shutdown();
}
zoieSystems.clear();
_started = false;
}
代码示例来源:origin: com.senseidb.zoie/zoie-core
@Override
public void run() {
synchronized (_activeReaders) {
for (ZoieRef z : _activeReaders.values()) {
if (z.zoie == toBeShutdown) {
log.info("Waiting for active readers...");
return;
}
}
}
log.info("Shuting down old zoie...");
toBeShutdown.shutdown();
cancel();
}
}, 8000, 8000);
代码示例来源:origin: com.linkedin.zoie/zoie-core
@Override
public void run()
{
synchronized(_activeReaders)
{
for (ZoieRef z : _activeReaders.values())
{
if (z.zoie == toBeShutdown)
{
log.info("Waiting for active readers...");
return;
}
}
}
log.info("Shuting down old zoie...");
toBeShutdown.shutdown();
cancel();
}
}, 8000, 8000);
内容来源于网络,如有侵权,请联系作者删除!