MySQL数据库InnoDB存储引擎Log漫游http://blog.163.com/zihuan_xuan/blog/static/1287942432012366293667/
分类:
数据库 时间:
2014-05-27 00:34:13
阅读次数:
255
转自:http://joe5456536.blog.163.com/blog/static/8537477320117136658629/http://www.cnblogs.com/devinzhang/archive/2012/04/27/2473570.html我知道静态变量的使用要很小心,因...
分类:
其他好文 时间:
2014-05-27 00:08:31
阅读次数:
251
总共有四种网络模式,默认采用的是system模式 SYSTEM Mode
最简单的网络配置。Eucalyptus分配mac地址,使用 Xen Bridge,配合已有的 DHCP DHCP 來分配 IP,适合小环境测试使用 STATIC
Mode此模式可让 Eucalyptus 管理员管理 VM 的 ...
分类:
其他好文 时间:
2014-05-26 23:14:22
阅读次数:
387
1.全局变量[其不属于面向对象的思想,因为其放在对象之外的],面向对象有一个特点,其实封装的,php希望其所有的成员都应该放在类中;php的面向对象是基于面向对象的,不是纯粹面向对象的;也就是其可以面向对象编程,也可以不面向对象编程。
使用global定义全局变量,其放在内存的全局区/静态区中,在....
分类:
Web程序 时间:
2014-05-26 22:55:28
阅读次数:
333
UML图namespace Study2014.CjModelDesign{ /// ///
2014-5-19 /// 简单封装 /// 过程式开发? /// public class Operation { public static...
分类:
其他好文 时间:
2014-05-26 22:29:27
阅读次数:
323
摘自:http://www.oschina.net/code/snippet_347813_125251. 代码:DbContextHolderpublic
class DbContextHolder { //线程安全的ThreadLocal private static final T...
分类:
编程语言 时间:
2014-05-26 22:22:46
阅读次数:
400
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
public class TraditionalTimerTest {
static int count;
public static void main(String[] args) {
class MyTimerTask exte...
分类:
其他好文 时间:
2014-05-23 01:45:11
阅读次数:
226
为什么会有线程同步的概念呢?为什么要同步?什么是线程同步?先看一段代码:package com.maso.test;
public class ThreadTest2 implements Runnable{
private TestObj testObj = new TestObj();
public static void main(String[] args) {
Thread...
分类:
移动开发 时间:
2014-05-23 01:29:34
阅读次数:
333
public class TraditionalThreadTest {
static class Outputer {
public void output1(String name) {
synchronized (Outputer.class) {
for (int i = 0; i < name.length(); i++) {
System.out.pri...
分类:
其他好文 时间:
2014-05-22 23:53:45
阅读次数:
442
Arrays 数组帮助类
示例程序(JUnit演示)
数组转化为List
@Test
public void testUserArraysChangeArraytoList() {
// 类Arrays
// public static List asList(T... a)
// Returns a fixed-s...
分类:
编程语言 时间:
2014-05-22 18:37:40
阅读次数:
354