Package com.netflix.staash.connection

Examples of com.netflix.staash.connection.ConnectionFactory


    MetaDao provideCqlMetaDaoNew(@Named("astmetaks") Keyspace keyspace) {
        return new AstyanaxMetaDaoImpl(keyspace);
    }
    @Provides
    MetaService providePaasMetaService(@Named("newmetadao") MetaDao metad, CacheService cache) {
      ConnectionFactory fac = new PaasConnectionFactory("astyanax", null);
        PaasMetaService metasvc = new PaasMetaService(metad, fac, cache);
        return metasvc;
    }
View Full Code Here


    ConnectionFactory provideConnectionFactory() {
        return new PaasConnectionFactory("astyanax", null);
    }
    @Provides
    DataService providePaasDataService( MetaService metasvc) {
      ConnectionFactory fac = new PaasConnectionFactory("astyanax", null);
      PaasDataService datasvc = new PaasDataService(metasvc, fac);
        return datasvc;
    }
View Full Code Here

TOP

Related Classes of com.netflix.staash.connection.ConnectionFactory

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.