gpt4 book ai didi

org.apache.xmlrpc.common.XmlRpcWorker类的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 15:15:05 25 4
gpt4 key购买 nike

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

XmlRpcWorker介绍

[英]An object, which executes requests on the controllers behalf. These objects are mainly used for controlling the clients or servers load, which is defined in terms of the number of currently active workers.
[中]一个对象,代表控制器执行请求。这些对象主要用于控制客户端或服务器的负载,负载是根据当前活动工作人员的数量定义的。

代码示例

代码示例来源:origin: xmlrpc/xmlrpc-client

/** Performs a request with the clients default configuration.
 * @param pRequest The request being performed.
 * @return The result object.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
  return getWorkerFactory().getWorker().execute(pRequest);
}

代码示例来源:origin: org.sonatype.sisu/sisu-xmlrpc-client

/** Performs a request with the clients default configuration.
 * @param pRequest The request being performed.
 * @return The result object.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
  return getWorkerFactory().getWorker().execute(pRequest);
}

代码示例来源:origin: rosjava/rosjava_core

/** Performs a request with the clients default configuration.
 * @param pRequest The request being performed.
 * @return The result object.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
  return getWorkerFactory().getWorker().execute(pRequest);
}

代码示例来源:origin: org.apache.xmlrpc/xmlrpc-client

/** Performs a request with the clients default configuration.
 * @param pRequest The request being performed.
 * @return The result object.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
  return getWorkerFactory().getWorker().execute(pRequest);
}

代码示例来源:origin: rosjava/rosjava_core

/** Performs the given request.
   * @param pRequest The request being executed.
   * @return The result object.
   * @throws XmlRpcException The request failed.
   */
  public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
    final XmlRpcWorkerFactory factory = getWorkerFactory();
    final XmlRpcWorker worker = factory.getWorker();
    try {
      return worker.execute(pRequest);
    } finally {
      factory.releaseWorker(worker);
    }
  }
}

代码示例来源:origin: org.apache.xmlrpc/xmlrpc-server

/** Performs the given request.
   * @param pRequest The request being executed.
   * @return The result object.
   * @throws XmlRpcException The request failed.
   */
  public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
    final XmlRpcWorkerFactory factory = getWorkerFactory();
    final XmlRpcWorker worker = factory.getWorker();
    try {
      return worker.execute(pRequest);
    } finally {
      factory.releaseWorker(worker);
    }
  }
}

代码示例来源:origin: org.sonatype.sisu/sisu-xmlrpc-server

/** Performs the given request.
   * @param pRequest The request being executed.
   * @return The result object.
   * @throws XmlRpcException The request failed.
   */
  public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
    final XmlRpcWorkerFactory factory = getWorkerFactory();
    final XmlRpcWorker worker = factory.getWorker();
    try {
      return worker.execute(pRequest);
    } finally {
      factory.releaseWorker(worker);
    }
  }
}

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