- 浏览: 1152 次
- 性别:
- 来自: 哈尔滨
最新评论
文章列表
private Map sendHttpRequest(Map paraMap){
JSONObject jsonObjIn = new JSONObject(paraMap);
String body = JSON.toJSONString(jsonObjIn, SerializerFeature.DisableCircularReferenceDetect);
debug("<UWSTOFREYPAY> body=" + body);
String urlInvoke = UWSPropertiesUtils.getPropertyVa ...
/**
* 线程处理类
*/
public class ExecutorProcessPool {
private ExecutorService executor;
private static ExecutorProcessPool pool = new ExecutorProcessPool();
private final int threadMax = 50;
private ExecutorProcessPool() {
executor = ExecutorServiceFactory.getInstance().createFixedThreadPool(thr ...
public class ConcurrencyControl {
private static ConcurrencyControl instance = new ConcurrencyControl();
public static ConcurrencyControl getInstance(){
return instance;
}
private String preConfStr = "uws.concurrency.control.";
//并发对象
private Map<String, Object> ...