码迷,mamicode.com
首页 >  
搜索关键字:runtime    ( 5883个结果
【转】RunTime.getRunTime().addShutdownHook用法
Runtime.getRuntime().addShutdownHook(shutdownHook); 这个方法的含义说明:这个方法的意思就是在jvm中增加一个关闭的钩子,当jvm关闭的时候,会执行系统中已经设置的所有通过方法addShutdownHook添加的钩子,当系统执行完这些钩子后,jvm才...
分类:其他好文   时间:2014-05-17 00:41:22    阅读次数:212
C# 读写ini配置文件(.net/SQL技术交流群206656202 入群需注明博客园)
using System;using System.IO;using System.Reflection;using System.Runtime.InteropServices;using System.Text;namespace Souxuexiao.Cache{public static c...
分类:数据库   时间:2014-05-13 22:28:38    阅读次数:561
ios runtime 动态向类添加方法
1、定义C函数: void dynamicMethodIMP(id self, SEL _cmd) {     NSLog(@"蜗牛也疯狂"); } 2、重写函数+(BOOL)resolveInstanceMethod:(SEL)sel +(BOOL)resolveInstanceMethod:(SEL)sel {     class_addMethod([self ...
分类:移动开发   时间:2014-05-13 08:09:05    阅读次数:412
mysql主从检测脚本
#!/bin/bash #checkmysqlslavestatus USER="check" PSW="***" RUNTIME=3600 ADDR="192.168.*.*" declare-aslave_is forIPin$ADDR do slave_is=($(/usr/local/mysql/bin/mysql-h$IP-u${USER}-p${PSW}-e"showslavestatus\G"|grepRunning|awk‘{print$2}‘)) if["${slave_is[0]}"="Y..
分类:数据库   时间:2014-05-13 04:33:44    阅读次数:374
warning MSB3162: 所选的“Microsoft Report Viewer 2012 Runtime”项需要“Microsoft.SqlServer.SQLSysClrTypes.11.0”。在“系统必备”对话框中选择缺少的系统必备组件,或者为缺少的系统必备组件创建引导程序包。
warning MSB3162: 所选的“Microsoft Report Viewer 2012 Runtime”项需要“Microsoft.SqlServer.SQLSysClrTypes.11.0”。在“系统必备”对话框中选择缺少的系统必备组件,或者为缺少的系统必备组件创建引导程序包。发布Re...
分类:数据库   时间:2014-05-12 20:21:06    阅读次数:713
srping mvc RequestMapping实现
spring mvc中定义请求的url只需要在方法上添加注解: @RequestMapping("aa.mvc")即可定义访问的url地址,但是你是否有考虑过为什么添加这个注解就可以实现url访问地址的定义了呢?下面解析下他的实现原理! 首先定义注解RequestMapping @Retention(RetentionPolicy.RUNTIME) @Target(value = { Ele...
分类:移动开发   时间:2014-05-11 02:49:49    阅读次数:294
thinkphp框架
ThinkPHP框架项目目录library ckeditor jquery ThinkPHPapplication Common Conf config.php Lib Action Model Runtime Tpl default 控制器名 ...
分类:Web程序   时间:2014-05-10 00:41:48    阅读次数:475
单例类
1: 2: using System; 3: using System.Collections.Generic; 4: using System.Text; 5: using System.IO; 6: using System.Runtime.Serialization.Formatters.Bi...
分类:其他好文   时间:2014-05-09 23:47:37    阅读次数:333
INI文件的操作(ASP.NET+C#)
INI文件的操作(ASP.NET+C#) (一)INIFile.cs using System;  using System.Runtime.InteropServices;  using System.Text; namespace CreateWebDir  {  ///   /// INIFile 的摘要说明。  ///   public class INIFile ...
分类:Web程序   时间:2014-05-09 22:18:42    阅读次数:319
Velocity模版加载(classpath、webapp)
classpath资源路径加载: velocity.properties文件配置 file.resource.loader.class = org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader input.encoding = UTF-8 output.encoding = UTF-8Servlet代...
分类:移动开发   时间:2014-05-09 06:14:52    阅读次数:387
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!