Package com.cxy.redisclient.service

Examples of com.cxy.redisclient.service.PubSubService.publish()


import junit.framework.TestCase;

public class PubSub extends TestCase {
  public void testPub(){
    PubSubService service = new PubSubService();
    service.publish(13, "test", "16:16 message");
  }
  public void testSub(){
    PubSubService service = new PubSubService();
    service.subscribe(13, new JedisPubSub() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.