wait() 等待,如果一个线程执行了wait方法,那么该线程就会进去一个以锁对象为标识符的线程池中等待 notity() 唤醒,如果一个线程执行了notity方法,那么就会唤醒以锁对象为标识符的线程池中等待线程的其中一个(至于唤醒哪一个,不能确定) notifyAll() 唤醒所有的线程 wait ...
分类:
其他好文 时间:
2018-04-29 16:21:11
阅读次数:
181
no python application found, check your startup logs for errors 日志里面报类似于“Mon Mar 23 10:26:49 2015 – — no python application found, check your startup ...
分类:
其他好文 时间:
2018-04-29 15:20:05
阅读次数:
168
测试项目搭建 定义一个简单的Mvc项目,有如下文件: (1) public class Startup { public void Configuration(IAppBuilder app) { app.Run(context = { return Task.Run( async () = { a ...
分类:
移动开发 时间:
2018-04-29 13:37:58
阅读次数:
3803
Main features:Basic layouts for pages, blog and eCommerceWebsite Builder integrationBasic SnippetsAutomatic Less/Sass compilingAutomatic Js and CSS mi ...
分类:
Web程序 时间:
2018-04-29 13:29:15
阅读次数:
249
此脚本主要用来实现非maven tomcat项目的war包手动发布, 1、将测试war包上传至指定目录 2、备份目前生产代码 3、自动配置文件替换 4、新版本代码的发布 #!/bin/bash ############Setup basic path and configuration file n ...
分类:
系统相关 时间:
2018-04-29 12:05:03
阅读次数:
985
自定义properties文件配置:src/main/resources/conf/boot.properties @Value注解调用自定义properties属性值: @ConfigurationProperties 配置properties属性对象: ...
分类:
移动开发 时间:
2018-04-29 12:04:17
阅读次数:
545
原文:Android项目实战(四十):Andoird 7.0+ 安装APK适配 首先看一下安装apk文件的代码 /** * 通过隐式意图调用系统安装程序安装APK */ public static void install(Context context) { Intent intent = new... ...
分类:
移动开发 时间:
2018-04-29 11:45:05
阅读次数:
219
1.查看cpu: top 2.查看当前linux版本:name -a 查看当前运行的内核版本:cat /pro/version 查看发行版本信息:cat /etc/issue 查看上面所有信息:lsb_release -a 3.查看linux下的系统盘:df -l ...
分类:
系统相关 时间:
2018-04-29 01:20:07
阅读次数:
188
age={'tom':18,'cat':19,'jerry':30,'dog':12} # print(max(age.values())) # print(min(age.values())) # print(max(age))#字典默认比较的是key # for i in zip(age.val... ...
分类:
其他好文 时间:
2018-04-28 23:49:16
阅读次数:
221
(1)环境介绍 (2)以下配置三台服务器都相同 关闭防火墙和selinux 配置yum源 cat /etc/yum.repos.d/galera.repo ...
分类:
数据库 时间:
2018-04-28 23:45:39
阅读次数:
316