Skip to content

Commit 6b56f8d

Browse files
committed
1 parent 0f73555 commit 6b56f8d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//package com.jiangcoder.search;
2+
//
3+
//import org.t3.client.beanstalk.BeanstalkJob;
4+
//import org.t3.client.beanstalk.StringSerializer;
5+
//import org.t3.client.beanstalk.pool.BeanstalkClient;
6+
//import org.t3.client.beanstalk.pool.BeanstalkPool;
7+
//
8+
//import com.mongodb.BasicDBList;
9+
//import com.mongodb.util.JSON;
10+
//
11+
//public class Test {
12+
//
13+
// public static void main(String[] args) throws Exception {
14+
// // TODO Auto-generated method stub
15+
//
16+
// BeanstalkClient watchBeansConnect=BeanstalkPool.getClient("10.58.50.53", 11300, "category",new StringSerializer());
17+
// BeanstalkJob job = null;
18+
// job = watchBeansConnect.reserve(5);
19+
// //watchBeansConnect.deleteJob(job);
20+
// BasicDBList jobData = (BasicDBList) JSON.parse((String)job.get());
21+
// System.out.println(jobData);
22+
// }
23+
//
24+
//}

0 commit comments

Comments
 (0)