现在的位置: 首页 > 综合 > 正文

点滴。加密。线程。ntp。jboss cache CountDownLatch Linux下ntp时间同步服务器GIS电力巡检—移动GIS

2013年07月24日 ⁄ 综合 ⁄ 共 1243字 ⁄ 字号 评论关闭

http://download.csdn.net/my

加密算法RSA

线程池:

private ExecutorService operationExecutor = Executors.newSingleThreadExecutor(); 

 if (!operationExecutor .isShutdown())
{
      operationExecutor .submit(new DbTask(logBean));
}

    class DbTask implements Runnable
    {

。。。。。

    }

operationExecutor .shutdownNow();

        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
        String interfaceName = stack[2].getMethodName();

 

        new Thread(new Runnable()
        {
            @Override
            public void run()
            {
             。。。。  
            }
        }).start();

 

    private static ThreadLocal<HashMap<String, String>> headerContents = new ThreadLocal<HashMap<String, String>>()
    {
    };

Linux下ntp时间同步服务器

定时器使用quartz

GIS电力巡检—移动GIS

读取配置文件

 private static final String WS_CONFIG_PATH = "/conf/Url.properties";

        StringBuilder configUrl = new StringBuilder();
        configUrl.append(new File(WebServiceProvider.class.getResource("/").getPath()).getParent());
        configUrl.append(WS_CONFIG_PATH);

 hibernate 事务隔离级别

    <tx:method name="*" isolation="READ_COMMITTED" propagation="REQUIRED" rollback-for="Throwable"/>

http://xurichusheng.iteye.com/blog/1066086

CountDownLatch 它允许一个或多个线程一直等待

http://www.iteye.com/topic/1002652

http://www.iteye.com/topic/1111978

http://www.iteye.com/topic/657295

抱歉!评论已关闭.