org.apache.http.impl.conn.tsccm.WaitingThread.interrupt()方法的使用及代码示例

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

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

WaitingThread.interrupt介绍

暂无

代码示例

代码示例来源:origin: robovm/robovm

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  
  if (waitingThread != null)
    waitingThread.interrupt();
  
}

代码示例来源:origin: robovm/robovm

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 * 
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted)
    waitingThread.interrupt();
}

代码示例来源:origin: MobiVM/robovm

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  
  if (waitingThread != null)
    waitingThread.interrupt();
  
}

代码示例来源:origin: MobiVM/robovm

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 * 
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted)
    waitingThread.interrupt();
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  
  if (waitingThread != null)
    waitingThread.interrupt();
  
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.httpcomponents.httpclient

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  if (waitingThread != null) {
    waitingThread.interrupt();
  }
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 *
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(final WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted) {
    waitingThread.interrupt();
  }
}

代码示例来源:origin: com.hynnet/httpclient

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  if (waitingThread != null) {
    waitingThread.interrupt();
  }
}

代码示例来源:origin: com.hynnet/httpclient

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 *
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(final WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted) {
    waitingThread.interrupt();
  }
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.httpcomponents.httpclient

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 *
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(final WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted) {
    waitingThread.interrupt();
  }
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  if (waitingThread != null) {
    waitingThread.interrupt();
  }
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 * 
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted)
    waitingThread.interrupt();
}

代码示例来源:origin: Nextdoor/bender

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 *
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(final WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted) {
    waitingThread.interrupt();
  }
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  
  if (waitingThread != null)
    waitingThread.interrupt();
  
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 * 
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted)
    waitingThread.interrupt();
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Sets the waiting thread.  If this has already been aborted,
 * the waiting thread is immediately interrupted.
 * 
 * @param waitingThread The thread to interrupt when aborting.
 */
public void setWaitingThread(WaitingThread waitingThread) {
  this.waitingThread = waitingThread;
  if (aborted)
    waitingThread.interrupt();
}

代码示例来源:origin: Nextdoor/bender

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  if (waitingThread != null) {
    waitingThread.interrupt();
  }
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * If a waiting thread has been set, interrupts it.
 */
public void abort() {
  aborted = true;
  
  if (waitingThread != null)
    waitingThread.interrupt();
  
}

相关文章