一、SCN基础
1、什么是scn?
在oracle数据库中保证数据一致性的方法就是事务。事务是一个逻辑的、原子性的作业单元,通常由一个或多个sql组成,一个事务中的所有sql操作,要么失败全部回滚,要么成功全部提交。数据库的事务最主要的作用就是保证了数据的一致性,每次事务的提交都是将数据库从一种一致性状态带进另外一种一致性状态。
scn在数据库中是一个单一的不断的随着数据库一致性状态的改变而...
分类:
其他好文 时间:
2014-06-19 10:23:09
阅读次数:
285
ChangeQueue类实现ChangeSource接口,声明了拉取下一条Change对象的方法 * A source of {@link Change} objects. * * @since 2.8 */public interface ChangeSource { /** * @retu...
分类:
其他好文 时间:
2014-06-19 06:07:09
阅读次数:
264
本文主要介绍一个轻量级的文件监控方式,对文件的Create & Change & Delete,都有一个对应的Event方法来进行处理。对于核心的File Monitor Class,我们继承一个监听适配器类FileAlterationListenerAdaptor,这样会更文件,不用再去重写每个Event方法。...
分类:
编程语言 时间:
2014-06-16 21:23:44
阅读次数:
285
大纲1、TheBashShell2、OutputinColor3、Howcandoit?1、TheBashShellBashistheprimaryshelloftheLinuxmachine,includedherearesometips/trickswiththeshell.UsethemanualpageandlearnaboutPS1,PS2andPROMPT_COMMAND.Thetricksinherecanbeusein~/.bash_profileor~/.bashrc.2、Ou..
分类:
系统相关 时间:
2014-06-16 16:53:26
阅读次数:
407
#includevoid change_1(int a, int b);void change_2(int *a, int *b);int main(){ int a = 10; int b = 20; printf("changed before:"); printf("a=%d\tb=%d\n....
分类:
其他好文 时间:
2014-06-15 11:55:24
阅读次数:
249
Today we will learn how to get depth data from a kinect and what the format of the data is
kinect code
kinect Initialization
To get the depth data from the kinect, simply change the arg...
分类:
编程语言 时间:
2014-06-15 08:04:16
阅读次数:
640
Linux系统文件有三个主要的时间属性,分别是ctime(change time, 而不是create time), atime(access time), mtime(modify time)。后来为了解决atime的性能问题,还引入了一个relatime的属性,下面一一解释。ctime, 很多朋...
分类:
其他好文 时间:
2014-06-14 20:33:31
阅读次数:
191
To make a Scheduled Task run in the background, change the User running
the task to "SYSTEM",
and nothing will appear on your screen....
分类:
移动开发 时间:
2014-06-14 09:33:39
阅读次数:
395
作为一个普通用户,在这里我就不对O2O做什么概念性的总结了,就以产品的角度来做一些探讨。
一、什么是O2O?
O2O,在现在的概念就是(online tooffline),即线下的商务机会与线上结合。我的理解简而言之就是怎么利用互联网的工具让本地的商家更赚钱。说太多的概念没有意义,我们看到的一些O2O的形式,如团购、点餐等都是帮助有地域性局限的商家获取更多的客源赚钱。
二、什么样...
分类:
其他好文 时间:
2014-06-13 21:43:01
阅读次数:
258
2 8 5 3 11.从后往前,找到第一个逆序的数
pivot2.从后往前,找到第一个比pivot大的数 change3.交换 pivot 和 change的值4.把pivot这个位置后面的数
reverse,就是 8 5 2 1变成 1 2 5 8最终为3 1 2 5 8#include #inc...
分类:
其他好文 时间:
2014-06-13 17:38:19
阅读次数:
378