Redis实战之征服 Redis + Jedis + Spring (三) 分类: 开源应用系统 2013-08-03 11:07 2136人阅读 评论(0) 收藏 举报 一开始以为Spring下操作
2015-02-04 10:14
1091 查看
分类: 开源应用系统2013-08-03
11:07 2136人阅读 评论(0) 收藏 举报
一开始以为Spring下操作哈希表,列表,真就是那么土。恍惚间发现“stringRedisTemplate.opsForList()”的强大,抓紧时间恶补下。
通过spring-data-redis完成LINDEX, LLEN, LPOP, LPUSH, LRANGE, LREM, LSET, LTRIM, RPOP, RPUSH命令。其实还有一些命令,当前版本不支持。
不过,这些List的操作方法可以实现队列,堆栈的正常操作,足够用了。
相关链接:
Redis实战
Redis实战之Redis + Jedis
Redis实战之征服 Redis + Jedis + Spring (一)
Redis实战之征服 Redis + Jedis + Spring (二)
Redis实战之征服 Redis + Jedis + Spring (三)
为了简便操作,我使用了StringRedisTemplate。用字符串操作做展示。当然,你可以继续使用RedisTemplate。
闲言少叙,上代码,一目了然:
Java代码
/**
* Mar 5, 2013
*/
package org.zlex.redis.support;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;
/**
*
* @author snowolf
* @version 1.0
* @since 1.0
*/
@Component("listOps")
public class ListOps {
@Autowired
private StringRedisTemplate stringRedisTemplate;
/**
* 压栈
*
* @param key
* @param value
* @return
*/
public Long push(String key, String value) {
return stringRedisTemplate.opsForList().leftPush(key, value);
}
/**
* 出栈
*
* @param key
* @return
*/
public String pop(String key) {
return stringRedisTemplate.opsForList().leftPop(key);
}
/**
* 入队
*
* @param key
* @param value
* @return
*/
public Long in(String key, String value) {
return stringRedisTemplate.opsForList().rightPush(key, value);
}
/**
* 出队
*
* @param key
* @return
*/
public String out(String key) {
return stringRedisTemplate.opsForList().leftPop(key);
}
/**
* 栈/队列长
*
* @param key
* @return
*/
public Long length(String key) {
return stringRedisTemplate.opsForList().size(key);
}
/**
* 范围检索
*
* @param key
* @param start
* @param end
* @return
*/
public List<String> range(String key, int start, int end) {
return stringRedisTemplate.opsForList().range(key, start, end);
}
/**
* 移除
*
* @param key
* @param i
* @param value
*/
public void remove(String key, long i, String value) {
stringRedisTemplate.opsForList().remove(key, i, value);
}
/**
* 检索
*
* @param key
* @param index
* @return
*/
public String index(String key, long index) {
return stringRedisTemplate.opsForList().index(key, index);
}
/**
* 置值
*
* @param key
* @param index
* @param value
*/
public void set(String key, long index, String value) {
stringRedisTemplate.opsForList().set(key, index, value);
}
/**
* 裁剪
*
* @param key
* @param start
* @param end
*/
public void trim(String key, long start, int end) {
stringRedisTemplate.opsForList().trim(key, start, end);
}
}
[java] view
plaincopy
/**
* Mar 5, 2013
*/
package org.zlex.redis.support;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;
/**
*
* @author snowolf
* @version 1.0
* @since 1.0
*/
@Component("listOps")
public class ListOps {
@Autowired
private StringRedisTemplate stringRedisTemplate;
/**
* 压栈
*
* @param key
* @param value
* @return
*/
public Long push(String key, String value) {
return stringRedisTemplate.opsForList().leftPush(key, value);
}
/**
* 出栈
*
* @param key
* @return
*/
public String pop(String key) {
return stringRedisTemplate.opsForList().leftPop(key);
}
/**
* 入队
*
* @param key
* @param value
* @return
*/
public Long in(String key, String value) {
return stringRedisTemplate.opsForList().rightPush(key, value);
}
/**
* 出队
*
* @param key
* @return
*/
public String out(String key) {
return stringRedisTemplate.opsForList().leftPop(key);
}
/**
* 栈/队列长
*
* @param key
* @return
*/
public Long length(String key) {
return stringRedisTemplate.opsForList().size(key);
}
/**
* 范围检索
*
* @param key
* @param start
* @param end
* @return
*/
public List<String> range(String key, int start, int end) {
return stringRedisTemplate.opsForList().range(key, start, end);
}
/**
* 移除
*
* @param key
* @param i
* @param value
*/
public void remove(String key, long i, String value) {
stringRedisTemplate.opsForList().remove(key, i, value);
}
/**
* 检索
*
* @param key
* @param index
* @return
*/
public String index(String key, long index) {
return stringRedisTemplate.opsForList().index(key, index);
}
/**
* 置值
*
* @param key
* @param index
* @param value
*/
public void set(String key, long index, String value) {
stringRedisTemplate.opsForList().set(key, index, value);
}
/**
* 裁剪
*
* @param key
* @param start
* @param end
*/
public void trim(String key, long start, int end) {
stringRedisTemplate.opsForList().trim(key, start, end);
}
}
这里说明下,例如LPUSH,RPUSH,其实就是从左边压栈,还是从右边压栈的不同命令。可以把堆栈看作是一个从左至右的数组。如果左边压栈,右边出栈,那就是队列的入队/出队操作;如果左边压栈,左边出栈,那就是堆栈操作。
举个具体的例子:
队列操作:LPUSH入队,RPOP出队,同理,可把L|R替换。
堆栈操作:LPUSH压栈,LPOP出栈,同理,可把L|R替换。
下面进行测试用例,初始、结束时,分别做入队、出队操作,期间进行堆栈,队列操作。不用我细说了,看测试用例,很简单!
Java代码
/**
* Mar 5, 2013
*/
package org.zlex.redis;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Before;
import org.junit.After;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.zlex.redis.support.ListOps;
/**
*
* @author snowolf
* @version 1.0
* @since 1.0
*/
public class ListOpsTest {
private ApplicationContext app;
private ListOps listOps;
private String key = "queue";
@Before
public void before() throws Exception {
app = new ClassPathXmlApplicationContext("applicationContext.xml");
listOps = (ListOps) app.getBean("listOps");
System.out.println("------------IN---------------");
for (int i = 0; i < 5; i++) {
String uid = "u" + i;
System.out.println(uid);
listOps.in(key, uid);
}
}
@After
public void after() {
// ------------OUT---------------
System.out.println("------------OUT---------------");
long length = listOps.length(key);
for (long i = 0; i < length; i++) {
String uid = listOps.out(key);
System.out.println(uid);
}
}
@Test
public void stack() {
// ------------PUSH---------------
String key = "stack";
int len = 5;
System.out.println("------------PUSH---------------");
for (int i = 0; i < len; i++) {
String uid = "u" + System.currentTimeMillis();
System.out.println(uid);
listOps.push(key, uid);
}
long length = listOps.length(key);
assertEquals(len, length);
// ------------POP---------------
System.out.println("------------POP---------------");
for (long i = 0; i < length; i++) {
String uid = listOps.pop(key);
System.out.println(uid);
}
}
@Test
public void index() {
// -------------INDEX-------------
String value = listOps.index(key, 3);
assertEquals("u3", value);
}
@Test
public void range() {
// -------------RANGE-------------
List<String> list = listOps.range(key, 3, 5);
boolean result1 = list.contains("u3");
assertEquals(true, result1);
boolean result2 = list.contains("u1");
assertEquals(false, result2);
}
@Test
public void trim() {
// ------------TRIM---------------
List<String> list = listOps.range(key, 3, 5);
listOps.trim(key, 3, 5);
boolean result3 = list.contains("u1");
assertEquals(false, result3);
}
@Test
public void set() {
// ------------SET-----------------
List<String> list = listOps.range(key, 3, 5);
listOps.set(key, 4, "ux4");
boolean result4 = list.contains("u4");
assertEquals(true, result4);
}
@Test
public void remove() {
// ------------REMOVE-----------------
listOps.remove(key, 4, "u4");
String value = listOps.index(key, 4);
assertEquals(null, value);
}
}
[java] view
plaincopy
/**
* Mar 5, 2013
*/
package org.zlex.redis;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Before;
import org.junit.After;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.zlex.redis.support.ListOps;
/**
*
* @author snowolf
* @version 1.0
* @since 1.0
*/
public class ListOpsTest {
private ApplicationContext app;
private ListOps listOps;
private String key = "queue";
@Before
public void before() throws Exception {
app = new ClassPathXmlApplicationContext("applicationContext.xml");
listOps = (ListOps) app.getBean("listOps");
System.out.println("------------IN---------------");
for (int i = 0; i < 5; i++) {
String uid = "u" + i;
System.out.println(uid);
listOps.in(key, uid);
}
}
@After
public void after() {
// ------------OUT---------------
System.out.println("------------OUT---------------");
long length = listOps.length(key);
for (long i = 0; i < length; i++) {
String uid = listOps.out(key);
System.out.println(uid);
}
}
@Test
public void stack() {
// ------------PUSH---------------
String key = "stack";
int len = 5;
System.out.println("------------PUSH---------------");
for (int i = 0; i < len; i++) {
String uid = "u" + System.currentTimeMillis();
System.out.println(uid);
listOps.push(key, uid);
}
long length = listOps.length(key);
assertEquals(len, length);
// ------------POP---------------
System.out.println("------------POP---------------");
for (long i = 0; i < length; i++) {
String uid = listOps.pop(key);
System.out.println(uid);
}
}
@Test
public void index() {
// -------------INDEX-------------
String value = listOps.index(key, 3);
assertEquals("u3", value);
}
@Test
public void range() {
// -------------RANGE-------------
List<String> list = listOps.range(key, 3, 5);
boolean result1 = list.contains("u3");
assertEquals(true, result1);
boolean result2 = list.contains("u1");
assertEquals(false, result2);
}
@Test
public void trim() {
// ------------TRIM---------------
List<String> list = listOps.range(key, 3, 5);
listOps.trim(key, 3, 5);
boolean result3 = list.contains("u1");
assertEquals(false, result3);
}
@Test
public void set() {
// ------------SET-----------------
List<String> list = listOps.range(key, 3, 5);
listOps.set(key, 4, "ux4");
boolean result4 = list.contains("u4");
assertEquals(true, result4);
}
@Test
public void remove() {
// ------------REMOVE-----------------
listOps.remove(key, 4, "u4");
String value = listOps.index(key, 4);
assertEquals(null, value);
}
}
回头继续整理,这个套路没错!
相关链接:
Redis实战
Redis实战之Redis + Jedis
Redis实战之征服 Redis + Jedis + Spring (一)
Redis实战之征服 Redis + Jedis + Spring (二)
Redis实战之征服 Redis + Jedis + Spring (三)
11:07 2136人阅读 评论(0) 收藏 举报
一开始以为Spring下操作哈希表,列表,真就是那么土。恍惚间发现“stringRedisTemplate.opsForList()”的强大,抓紧时间恶补下。
通过spring-data-redis完成LINDEX, LLEN, LPOP, LPUSH, LRANGE, LREM, LSET, LTRIM, RPOP, RPUSH命令。其实还有一些命令,当前版本不支持。
不过,这些List的操作方法可以实现队列,堆栈的正常操作,足够用了。
相关链接:
Redis实战
Redis实战之Redis + Jedis
Redis实战之征服 Redis + Jedis + Spring (一)
Redis实战之征服 Redis + Jedis + Spring (二)
Redis实战之征服 Redis + Jedis + Spring (三)
为了简便操作,我使用了StringRedisTemplate。用字符串操作做展示。当然,你可以继续使用RedisTemplate。
闲言少叙,上代码,一目了然:
Java代码
/**
* Mar 5, 2013
*/
package org.zlex.redis.support;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;
/**
*
* @author snowolf
* @version 1.0
* @since 1.0
*/
@Component("listOps")
public class ListOps {
@Autowired
private StringRedisTemplate stringRedisTemplate;
/**
* 压栈
*
* @param key
* @param value
* @return
*/
public Long push(String key, String value) {
return stringRedisTemplate.opsForList().leftPush(key, value);
}
/**
* 出栈
*
* @param key
* @return
*/
public String pop(String key) {
return stringRedisTemplate.opsForList().leftPop(key);
}
/**
* 入队
*
* @param key
* @param value
* @return
*/
public Long in(String key, String value) {
return stringRedisTemplate.opsForList().rightPush(key, value);
}
/**
* 出队
*
* @param key
* @return
*/
public String out(String key) {
return stringRedisTemplate.opsForList().leftPop(key);
}
/**
* 栈/队列长
*
* @param key
* @return
*/
public Long length(String key) {
return stringRedisTemplate.opsForList().size(key);
}
/**
* 范围检索
*
* @param key
* @param start
* @param end
* @return
*/
public List<String> range(String key, int start, int end) {
return stringRedisTemplate.opsForList().range(key, start, end);
}
/**
* 移除
*
* @param key
* @param i
* @param value
*/
public void remove(String key, long i, String value) {
stringRedisTemplate.opsForList().remove(key, i, value);
}
/**
* 检索
*
* @param key
* @param index
* @return
*/
public String index(String key, long index) {
return stringRedisTemplate.opsForList().index(key, index);
}
/**
* 置值
*
* @param key
* @param index
* @param value
*/
public void set(String key, long index, String value) {
stringRedisTemplate.opsForList().set(key, index, value);
}
/**
* 裁剪
*
* @param key
* @param start
* @param end
*/
public void trim(String key, long start, int end) {
stringRedisTemplate.opsForList().trim(key, start, end);
}
}
[java] view
plaincopy
/**
* Mar 5, 2013
*/
package org.zlex.redis.support;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;
/**
*
* @author snowolf
* @version 1.0
* @since 1.0
*/
@Component("listOps")
public class ListOps {
@Autowired
private StringRedisTemplate stringRedisTemplate;
/**
* 压栈
*
* @param key
* @param value
* @return
*/
public Long push(String key, String value) {
return stringRedisTemplate.opsForList().leftPush(key, value);
}
/**
* 出栈
*
* @param key
* @return
*/
public String pop(String key) {
return stringRedisTemplate.opsForList().leftPop(key);
}
/**
* 入队
*
* @param key
* @param value
* @return
*/
public Long in(String key, String value) {
return stringRedisTemplate.opsForList().rightPush(key, value);
}
/**
* 出队
*
* @param key
* @return
*/
public String out(String key) {
return stringRedisTemplate.opsForList().leftPop(key);
}
/**
* 栈/队列长
*
* @param key
* @return
*/
public Long length(String key) {
return stringRedisTemplate.opsForList().size(key);
}
/**
* 范围检索
*
* @param key
* @param start
* @param end
* @return
*/
public List<String> range(String key, int start, int end) {
return stringRedisTemplate.opsForList().range(key, start, end);
}
/**
* 移除
*
* @param key
* @param i
* @param value
*/
public void remove(String key, long i, String value) {
stringRedisTemplate.opsForList().remove(key, i, value);
}
/**
* 检索
*
* @param key
* @param index
* @return
*/
public String index(String key, long index) {
return stringRedisTemplate.opsForList().index(key, index);
}
/**
* 置值
*
* @param key
* @param index
* @param value
*/
public void set(String key, long index, String value) {
stringRedisTemplate.opsForList().set(key, index, value);
}
/**
* 裁剪
*
* @param key
* @param start
* @param end
*/
public void trim(String key, long start, int end) {
stringRedisTemplate.opsForList().trim(key, start, end);
}
}
这里说明下,例如LPUSH,RPUSH,其实就是从左边压栈,还是从右边压栈的不同命令。可以把堆栈看作是一个从左至右的数组。如果左边压栈,右边出栈,那就是队列的入队/出队操作;如果左边压栈,左边出栈,那就是堆栈操作。
举个具体的例子:
队列操作:LPUSH入队,RPOP出队,同理,可把L|R替换。
堆栈操作:LPUSH压栈,LPOP出栈,同理,可把L|R替换。
下面进行测试用例,初始、结束时,分别做入队、出队操作,期间进行堆栈,队列操作。不用我细说了,看测试用例,很简单!
Java代码
/**
* Mar 5, 2013
*/
package org.zlex.redis;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Before;
import org.junit.After;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.zlex.redis.support.ListOps;
/**
*
* @author snowolf
* @version 1.0
* @since 1.0
*/
public class ListOpsTest {
private ApplicationContext app;
private ListOps listOps;
private String key = "queue";
@Before
public void before() throws Exception {
app = new ClassPathXmlApplicationContext("applicationContext.xml");
listOps = (ListOps) app.getBean("listOps");
System.out.println("------------IN---------------");
for (int i = 0; i < 5; i++) {
String uid = "u" + i;
System.out.println(uid);
listOps.in(key, uid);
}
}
@After
public void after() {
// ------------OUT---------------
System.out.println("------------OUT---------------");
long length = listOps.length(key);
for (long i = 0; i < length; i++) {
String uid = listOps.out(key);
System.out.println(uid);
}
}
@Test
public void stack() {
// ------------PUSH---------------
String key = "stack";
int len = 5;
System.out.println("------------PUSH---------------");
for (int i = 0; i < len; i++) {
String uid = "u" + System.currentTimeMillis();
System.out.println(uid);
listOps.push(key, uid);
}
long length = listOps.length(key);
assertEquals(len, length);
// ------------POP---------------
System.out.println("------------POP---------------");
for (long i = 0; i < length; i++) {
String uid = listOps.pop(key);
System.out.println(uid);
}
}
@Test
public void index() {
// -------------INDEX-------------
String value = listOps.index(key, 3);
assertEquals("u3", value);
}
@Test
public void range() {
// -------------RANGE-------------
List<String> list = listOps.range(key, 3, 5);
boolean result1 = list.contains("u3");
assertEquals(true, result1);
boolean result2 = list.contains("u1");
assertEquals(false, result2);
}
@Test
public void trim() {
// ------------TRIM---------------
List<String> list = listOps.range(key, 3, 5);
listOps.trim(key, 3, 5);
boolean result3 = list.contains("u1");
assertEquals(false, result3);
}
@Test
public void set() {
// ------------SET-----------------
List<String> list = listOps.range(key, 3, 5);
listOps.set(key, 4, "ux4");
boolean result4 = list.contains("u4");
assertEquals(true, result4);
}
@Test
public void remove() {
// ------------REMOVE-----------------
listOps.remove(key, 4, "u4");
String value = listOps.index(key, 4);
assertEquals(null, value);
}
}
[java] view
plaincopy
/**
* Mar 5, 2013
*/
package org.zlex.redis;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Before;
import org.junit.After;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.zlex.redis.support.ListOps;
/**
*
* @author snowolf
* @version 1.0
* @since 1.0
*/
public class ListOpsTest {
private ApplicationContext app;
private ListOps listOps;
private String key = "queue";
@Before
public void before() throws Exception {
app = new ClassPathXmlApplicationContext("applicationContext.xml");
listOps = (ListOps) app.getBean("listOps");
System.out.println("------------IN---------------");
for (int i = 0; i < 5; i++) {
String uid = "u" + i;
System.out.println(uid);
listOps.in(key, uid);
}
}
@After
public void after() {
// ------------OUT---------------
System.out.println("------------OUT---------------");
long length = listOps.length(key);
for (long i = 0; i < length; i++) {
String uid = listOps.out(key);
System.out.println(uid);
}
}
@Test
public void stack() {
// ------------PUSH---------------
String key = "stack";
int len = 5;
System.out.println("------------PUSH---------------");
for (int i = 0; i < len; i++) {
String uid = "u" + System.currentTimeMillis();
System.out.println(uid);
listOps.push(key, uid);
}
long length = listOps.length(key);
assertEquals(len, length);
// ------------POP---------------
System.out.println("------------POP---------------");
for (long i = 0; i < length; i++) {
String uid = listOps.pop(key);
System.out.println(uid);
}
}
@Test
public void index() {
// -------------INDEX-------------
String value = listOps.index(key, 3);
assertEquals("u3", value);
}
@Test
public void range() {
// -------------RANGE-------------
List<String> list = listOps.range(key, 3, 5);
boolean result1 = list.contains("u3");
assertEquals(true, result1);
boolean result2 = list.contains("u1");
assertEquals(false, result2);
}
@Test
public void trim() {
// ------------TRIM---------------
List<String> list = listOps.range(key, 3, 5);
listOps.trim(key, 3, 5);
boolean result3 = list.contains("u1");
assertEquals(false, result3);
}
@Test
public void set() {
// ------------SET-----------------
List<String> list = listOps.range(key, 3, 5);
listOps.set(key, 4, "ux4");
boolean result4 = list.contains("u4");
assertEquals(true, result4);
}
@Test
public void remove() {
// ------------REMOVE-----------------
listOps.remove(key, 4, "u4");
String value = listOps.index(key, 4);
assertEquals(null, value);
}
}
回头继续整理,这个套路没错!
相关链接:
Redis实战
Redis实战之Redis + Jedis
Redis实战之征服 Redis + Jedis + Spring (一)
Redis实战之征服 Redis + Jedis + Spring (二)
Redis实战之征服 Redis + Jedis + Spring (三)
相关文章推荐
- Linux 下的Bluetooth 架构 分类: Android驱动 2012-03-16 11:07 492人阅读 评论(0) 收藏 举报 实战Linux Bluetooth编程(一) 协议栈概述
- 系统学习深度学习(七)--主流深度学习开源框架对比 2017-01-23 11:05 2292人阅读 评论(0) 收藏 举报 分类: 深度学习(30) 目录(?)[+] 转自:http://b
- Linux 下的Bluetooth 架构 分类: Android驱动 2012-03-16 11:07 492人阅读 评论(0) 收藏 举报 实战Linux Bluetooth编程(一) 协议栈概述
- Linux系统常用目录操作函数 分类: B3_LINUX 2013-02-18 16:44 486人阅读 评论(0) 收藏
- MVC 前后端分离(REST-个人也认为是目前比较流行和比较好的方式) 2017-07-24 19:23 77人阅读 评论(0) 收藏 举报 分类: Spring(4) 目录(?)[+] 摘要
- Mac OS 简易安装redis 标签: redisbrewserverclientMacOS 2016-05-30 23:04 7813人阅读 评论(0) 收藏 举报 分类: Redis 版权声
- 线程同步(信号量,互斥,条件变量) 分类: linux应用程序 2008-04-08 09:43 2587人阅读 评论(1) 收藏 举报 进行多线程编程,最头疼的就是那些共享的数据。因为你无法知道哪个线程会在哪个时候对它进行操作,你也无法
- C# 中的委托和事件 分类: .NET 接口+泛型+委托+继承 2011-08-30 10:09 20人阅读 评论(0) 收藏 举报 引言 委托 和 事件在 .Net Framework中的应用非
- 为什么说android UI操作不是线程安全的 分类: Android 2014-09-23 21:08 1357人阅读 评论(0) 收藏 举报 目录(?)[+] 可能在非UI线程中刷新界面的时候,U
- Spring Aop 日志拦截应用 分类: SpringMvc 2015-04-19 14:48 143人阅读 评论(0) 收藏
- 50款经典 iPhone 开源应用(附代码下载) 分类: ios 2015-07-09 18:23 31人阅读 评论(0) 收藏
- Spring Aop 日志拦截应用 分类: SpringMvc 2015-04-19 14:48 144人阅读 评论(0) 收藏
- vi操作指令 分类: B3_LINUX 2012-10-18 22:35 446人阅读 评论(0) 收藏
- ucos在s3c2410上运行过程整体剖析之基础知识-与UCOS运行有关的ARM9芯片知识 分类: μc /os ii 系统有关知识 2012-03-08 21:23 606人阅读 评论(0) 收藏
- ucos在s3c2410上运行过程整体剖析-从main函数到UCOS初始化完毕 分类: μc /os ii 系统有关知识 2012-03-13 21:37 1740人阅读 评论(0) 收藏
- 征服 Redis + Jedis + Spring (一)—— 配置&常规操作(GET SET DEL)
- c#操作MySql.Data.DLL 分类: .NET 2013-03-08 15:49 4177人阅读 评论(2) 收藏
- 重要的开源资源及50个c/c++源代码网站 分类: H_HISTORY 2013-02-06 21:52 1047人阅读 评论(0) 收藏
- 关于 PendingIntent 和 Notification 以及 sendTextMessage 分类: Android2011-02-11 10:11 1388人阅读 评论(0) 收藏 举报
- ucos在s3c2410上运行过程整体剖析之基础知识-c语言和堆栈 分类: μc /os ii 系统有关知识 2012-03-08 21:00 586人阅读 评论(0) 收藏