private static ISession CreateSession(CassandraCqlSessionManager sessionManager, ICassandraConfiguration cassandraConfiguration) { return(sessionManager.GetSession(cassandraConfiguration)); }
public Cluster GetCluster(ICassandraConfiguration configuration) { return GetOrCreateCluster(configuration.Hosts, configuration.KeySpace, configuration.QueryTimeout, configuration.LocalDataCenter); }
public Cluster GetCluster(ICassandraConfiguration configuration) { return(GetOrCreateCluster(configuration.Hosts, configuration.KeySpace, configuration.QueryTimeout, configuration.LocalDataCenter)); }
public ISession GetSession(ICassandraConfiguration configuration) { var cluster = GetOrCreateCluster(configuration.Hosts, configuration.KeySpace, configuration.QueryTimeout, configuration.LocalDataCenter); return GetOrCreateSession(cluster, configuration.KeySpace); }
public ISession GetSession(ICassandraConfiguration configuration) { var cluster = GetOrCreateCluster(configuration.Hosts, configuration.KeySpace, configuration.QueryTimeout, configuration.LocalDataCenter); return(GetOrCreateSession(cluster, configuration.KeySpace)); }