码迷,mamicode.com
首页 >  
搜索关键字:target    ( 24275个结果
Android Handler机制 (一个Thead中可以建立多个Hander,通过msg.target保证MessageQueue中的每个msg交由发送message的handler进行处理 ,但是 每个线程中最多只有一个Looper,肯定也就一个MessageQuque)
转载自http://blog.csdn.net/stonecao/article/details/6417364在android中提供了一种异步回调机制Handler,使用它,我们可以在完成一个很长时间的任务后做出相应的通知 handler基本使用: 在主线程中,使用handler很简单,new一个...
分类:移动开发   时间:2014-09-23 12:13:04    阅读次数:344
ESXi 的安装与配置
一、ESXi的硬件要求1.1硬件和系统资源n仅在安装有64位x86CPU的服务器上安装和运行。n需要在BIOS中针对CPU启用NX/XD位。n需要至少4GB的物理RAM。至少提供8GB的RAM,以便能够充分利用ESXi的功能,并在典型生产环境下运行虚拟机。n要支持64位虚拟机,x64CPU必须能够支持硬件虚拟化..
分类:其他好文   时间:2014-09-23 10:42:26    阅读次数:7109
mysql主从复制(添加从服务器)和双主复制
思路:master:1、启用二进制日志2、定义server-id3、创建有复制权限的账户完善设置4、设置事务日志从内存缓冲直接同步存储到磁盘中slave:1、启用中继日志2、定义server-id3、使用有复制权限的帐号连接master4、启动iothread以及sqlthread完善设置5、定义节点为只读数据库Maria..
分类:数据库   时间:2014-09-23 02:29:04    阅读次数:458
利用Haproxy对Discuz实现数据的动静分离
一,实验目的利用Haproxy+Discuz实现数据的动静分离二,实验模型三,实验环境四,实验内容1,首先在node2,3上安装http服务,安装PHP2,提供NFS文件共享存储配置node2的web根目录为nfs共享目录为挂载在node3的文件根目录下。node3:mount-tnfs172.16.18.1:/var/www/html/upload/v..
分类:其他好文   时间:2014-09-23 02:27:14    阅读次数:322
Leetcode Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-09-22 23:28:53    阅读次数:160
LeetCode Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2014-09-22 22:48:33    阅读次数:180
GoldenGate performance tuning
ogg同步的时候,有时候我们会遇见非常大的表。这时候我们可以使用多个replicat进程通过range参数进行分割分别应用到目标端数据库中 例如: replicat rep2: MAP scott.emp, TARGET scott.emp, FILTER (@RANGE (1,3)); replicat rep3: MAP scott.emp, TARGET scott...
分类:其他好文   时间:2014-09-22 12:29:32    阅读次数:172
RMAN之进入RMAN(转)
通过RMAN的方式不论要备份还是要恢复,都必须先启动实例并加载数据库。SQL> shutdown immediate数据库已经关闭。已经卸载数据库。ORACLE 例程已经关闭。C:\Users\sunxfb>set oracle_sid=thrsC:\Users\sunxfb>rman target...
分类:其他好文   时间:2014-09-21 23:07:11    阅读次数:295
LeetCode:Search for a Range
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:其他好文   时间:2014-09-21 19:36:11    阅读次数:172
HDU-5040-Instrusive(BFS+优先队列)
Problem Description The legendary mercenary Solid Matt gets a classic mission: infiltrate a military base. The military base can be seen as an N * N grid. Matt's target is in one of the grids an...
分类:其他好文   时间:2014-09-21 19:27:11    阅读次数:466
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!