1. 检查主备库的状态 on primary on standby 2. 取消备库的MPR恢复线程 3. 备库以readonly方式打开 4. 开启备库的MPR线程 5. 测试active dataguard on primary on standby ...
分类:
数据库 时间:
2017-07-05 22:58:37
阅读次数:
330
序言作为一个android开发人员,时常想开发一个小游戏娱乐一下大家,今天就说说,我是怎么样一天写出一个简单的“飞机大战”的.体验地址:http://www.wandoujia.com/apps/edu.njupt.zhb.planegame源码:https://github.com/nuptboy ...
分类:
移动开发 时间:
2017-07-05 10:04:51
阅读次数:
263
在 java 中,很多时候拷贝的都是一个变量,所以很多的时候,原始变量 和 拷贝变量 引用同一个对象。所以,当某些情况下,我们需要创建两个一摸一样的对象,且以后可以各自改变各自的状态,就需要使用 clone。 clone 是 Object 类的一个 protect 方法,只能通过对象调用,因为在 j ...
分类:
其他好文 时间:
2017-07-05 01:15:50
阅读次数:
175
Android 的数据存储方式有四种,这次是【共享参数__sharedprefences】 听起来挺别扭的,平时看到的app里面,当用户删除了一些软件以后下次安装,发现原来的设置还在,这种情况就是把一些用户的设置保存在手机里面的一个存储区域, 格式是XML key__Value 不方便保存关系比较复 ...
分类:
移动开发 时间:
2017-07-04 21:37:05
阅读次数:
253
ContextMenu介绍: 假设一个View注冊了上下文菜单。那么当长按该View时便会弹出一个浮动菜单,来供选择下一步操作。 实现这个功能须要调用setOnCreateContextMenuListener来注冊一个监听器。那么它和注冊长按监听器setOnLongClickListener有什么 ...
分类:
移动开发 时间:
2017-07-04 14:45:50
阅读次数:
193
首先有个接口 interface Visit { public function go (); } 然后有三个类Leg,Car,Train class Leg implements Visit { public function go (){ echo "walt to 新疆"; } } class ...
分类:
其他好文 时间:
2017-07-04 14:40:04
阅读次数:
148
此文为博主原创题解,转载时请通知博主,并把原文链接放在正文醒目位置。 题目链接:http://poj.org/problem?id=3723 Description Windy has a country, and he wants to build an army to protect his c ...
分类:
其他好文 时间:
2017-07-04 12:16:47
阅读次数:
310
// test04.cpp : Defines the entry point for the console application.////设计模式第4章 工厂模式#include "stdafx.h"#include <string>#include <vector>#include <ios ...
分类:
编程语言 时间:
2017-07-03 16:31:50
阅读次数:
158
基本结构 基本命令 CSRF from django.views.decorators.csrf import csrf_exempt @csrf_exempt def csrf1(request): if request.method == 'GET': return render(request ...
分类:
其他好文 时间:
2017-07-03 10:16:55
阅读次数:
114