Package org.idevlab.rjc

Examples of org.idevlab.rjc.Client


  public RjcConnection(org.idevlab.rjc.ds.RedisConnection connection, int dbIndex) {
    SingleDataSource connectionDataSource = new SingleDataSource(connection);
    session = new SessionFactoryImpl(connectionDataSource).create();
    subscriber = new RedisNodeSubscriber();
    subscriber.setDataSource(new SingleDataSource(new CloseSuppressingRjcConnection(connection)));
    client = new Client(connection);

    this.dbIndex = dbIndex;

    // select the db
    if (dbIndex > 0) {
View Full Code Here

TOP

Related Classes of org.idevlab.rjc.Client

Copyright © 2018 www.massapicom. 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.