gpt4 book ai didi

proj.zoie.api.Zoie.shutdown()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 04:18:31 27 4
gpt4 key购买 nike

本文整理了Java中proj.zoie.api.Zoie.shutdown()方法的一些代码示例,展示了Zoie.shutdown()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zoie.shutdown()方法的具体详情如下:
包路径:proj.zoie.api.Zoie
类名称:Zoie
方法名:shutdown

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);

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com