org.apache.jackrabbit.oak.spi.whiteboard.WhiteboardExecutor.stop()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(83)

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

WhiteboardExecutor.stop介绍

暂无

代码示例

代码示例来源:origin: org.apache.jackrabbit/oak-jcr

@Override
  public void unregister() {
    executor.stop();
  }
},

代码示例来源:origin: apache/jackrabbit-oak

@Override
  public void unregister() {
    executor.stop();
  }
},

代码示例来源:origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Override
  public void unregister() {
    executor.stop();
  }
},

代码示例来源:origin: apache/jackrabbit-oak

@Deactivate
public void deactivate() throws IOException {
  if (indexRegistration != null) {
    indexRegistration.unregister();
  }
  if (executor != null) {
    executor.stop();
    executor = null;
  }
  //Close the task *after* unregistering the jobs
  closer.close();
}

代码示例来源:origin: org.apache.jackrabbit/oak-core

@Deactivate
public void deactivate() throws IOException {
  if (indexRegistration != null) {
    indexRegistration.unregister();
  }
  if (executor != null) {
    executor.stop();
    executor = null;
  }
  //Close the task *after* unregistering the jobs
  closer.close();
}

代码示例来源:origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Deactivate
public void deactivate() throws IOException {
  if (indexRegistration != null) {
    indexRegistration.unregister();
  }
  if (executor != null) {
    executor.stop();
    executor = null;
  }
  //Close the task *after* unregistering the jobs
  closer.close();
}

代码示例来源:origin: apache/jackrabbit-oak

@Deactivate
  protected void deactivate() throws Exception {

    for (ServiceRegistration reg : regs) {
      reg.unregister();
    }

    if (backgroundObserver != null) {
      backgroundObserver.close();
    }

    if (executor != null) {
      executor.stop();
    }

  }
}

代码示例来源:origin: org.apache.jackrabbit/oak-solr-core

@Deactivate
  protected void deactivate() throws Exception {

    for (ServiceRegistration reg : regs) {
      reg.unregister();
    }

    if (backgroundObserver != null) {
      backgroundObserver.close();
    }

    if (executor != null) {
      executor.stop();
    }

  }
}

代码示例来源:origin: apache/jackrabbit-oak

private void unregisterNodeStore() {
  if (mbeanReg != null) {
    mbeanReg.unregister();
    mbeanReg = null;
  }
  if (executor != null) {
    executor.stop();
    executor = null;
  }
  if (observerTracker != null) {
    observerTracker.stop();
    observerTracker = null;
  }
  if (nsReg != null) {
    LOG.info("Unregistering the COW node store");
    nsReg.unregister();
    nsReg = null;
  }
}

代码示例来源:origin: org.apache.jackrabbit/oak-core

private void unregisterNodeStore() {
  if (mbeanReg != null) {
    mbeanReg.unregister();
    mbeanReg = null;
  }
  if (executor != null) {
    executor.stop();
    executor = null;
  }
  if (observerTracker != null) {
    observerTracker.stop();
    observerTracker = null;
  }
  if (nsReg != null) {
    LOG.info("Unregistering the COW node store");
    nsReg.unregister();
    nsReg = null;
  }
}

代码示例来源:origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

private void unregisterNodeStore() {
  if (mbeanReg != null) {
    mbeanReg.unregister();
    mbeanReg = null;
  }
  if (executor != null) {
    executor.stop();
    executor = null;
  }
  if (observerTracker != null) {
    observerTracker.stop();
    observerTracker = null;
  }
  if (nsReg != null) {
    LOG.info("Unregistering the COW node store");
    nsReg.unregister();
    nsReg = null;
  }
}

代码示例来源:origin: apache/jackrabbit-oak

private void unregisterNodeStore() {
  deactivationTimestamp = System.currentTimeMillis();
  closeQuietly(closer);
  if (nodeStoreReg != null) {
    nodeStoreReg.unregister();
    nodeStoreReg = null;
  }
  //If we exposed our BlobStore then unregister it *after*
  //NodeStore service. This ensures that if any other component
  //like SecondaryStoreCache depends on this then it remains active
  //untill DocumentNodeStore get deactivated
  if (blobStoreReg != null){
    blobStoreReg.unregister();
    blobStoreReg = null;
  }
  if (nodeStore != null) {
    nodeStore.dispose();
    nodeStore = null;
  }
  if (executor != null) {
    executor.stop();
    executor = null;
  }
}

代码示例来源:origin: org.apache.jackrabbit/oak-store-document

private void unregisterNodeStore() {
  deactivationTimestamp = System.currentTimeMillis();
  closeQuietly(closer);
  if (nodeStoreReg != null) {
    nodeStoreReg.unregister();
    nodeStoreReg = null;
  }
  //If we exposed our BlobStore then unregister it *after*
  //NodeStore service. This ensures that if any other component
  //like SecondaryStoreCache depends on this then it remains active
  //untill DocumentNodeStore get deactivated
  if (blobStoreReg != null){
    blobStoreReg.unregister();
    blobStoreReg = null;
  }
  if (nodeStore != null) {
    nodeStore.dispose();
    nodeStore = null;
  }
  if (executor != null) {
    executor.stop();
    executor = null;
  }
}

相关文章