在实际工作中运用dubbo的时候,以上系列的文章基本上能够满足项目的基本需求,当然,对于一些特殊的需求Dubbo可以对其进行扩展,Dubbo拥有者丰富的扩展内容,这次主要将会带领大家去感受一下Dubbo的协议扩展和注册中心扩展.
首先要说的是协议扩展.
为什么要扩展协议呢?什么样的需求需要我们去扩展它?
(1) 不同服...
分类:
其他好文 时间:
2015-05-31 00:07:52
阅读次数:
185
#include
#include
using namespace std;
string findLongestPalindrome(string &s)
{
int length=s.size();
int maxlength=0;
int start,j,k;
for(i...
分类:
其他好文 时间:
2015-04-20 09:34:57
阅读次数:
155
转载自http://onevcat.com/2014/08/notification-today-widget/
分类:
移动开发 时间:
2015-04-15 16:24:08
阅读次数:
165
Dijkstra算法:基本思想是:每次找到离源点最近的一个点,然后以改点为中心扩展,最终得到源点到其余所有点的最短路径。基本步骤:1、将所有的顶点分为两部分,一部分是已知最短路程的顶点集合P,另一部分是未知最短路程的顶点集合Q。最开始时,第一部分P只有源点一个顶点,我们可以使用book数组标记哪些点...
分类:
编程语言 时间:
2015-03-17 12:05:30
阅读次数:
208
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of
S is 1000, and there exists one unique longest palindromic substring.(最长回文子串)
中心扩展法:
pub...
分类:
其他好文 时间:
2015-01-27 18:31:08
阅读次数:
151
最长回文子串 相关资料:1、暴力法2、动态规划3、中心扩展4、Manacher法http://blog.csdn.net/ywhorizen/article/details/6629268http://blog.csdn.net/kangroger/article/details/37742639在...
分类:
其他好文 时间:
2015-01-24 00:29:45
阅读次数:
181