Package org.idevlab.rjc

Examples of org.idevlab.rjc.SessionFactoryImpl


  private volatile RjcSubscription subscription;
  private volatile RedisNodeSubscriber subscriber;

  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;
View Full Code Here

TOP

Related Classes of org.idevlab.rjc.SessionFactoryImpl

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.