Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setConsistency :: Consistency -> BatchM ()cql-io Database.CQL.IO Set Batch consistency level.
setContacts :: String -> [String] -> Settings -> Settingscql-io Database.CQL.IO Set the initial contact points (hosts) from which node discovery will start.
setIdleTimeout :: NominalDiffTime -> Settings -> Settingscql-io Database.CQL.IO Set the connection idle timeout. Connections in a pool will be closed if not in use for longer than this timeout.
setKeyspace :: Keyspace -> Settings -> Settingscql-io Database.CQL.IO Set the default keyspace to use. Every new connection will be initialised to use this keyspace.
setLogger :: Logger -> Settings -> Settingscql-io Database.CQL.IO Set the Logger to use for processing log messages emitted by the client.
setMaxConnections :: Int -> Settings -> Settingscql-io Database.CQL.IO Maximum connections per pool stripe.
setMaxRecvBuffer :: Int -> Settings -> Settingscql-io Database.CQL.IO Set maximum receive buffer size. The actual buffer size used will be the minimum of the CQL response size and the value set here.
setMaxStreams :: Int -> Settings -> Settingscql-io Database.CQL.IO Set the maximum number of streams per connection. In version 2 of the binary protocol at most 128 streams can be used. Version 3 supports up to 32768 streams.
setMaxTimeouts :: Int -> Settings -> Settingscql-io Database.CQL.IO When receiving a response times out, we can no longer use the stream of the connection that was used to make the request as it is uncertain if a response will arrive later. Thus the bandwith of a connection will be decreased. This settings defines a threshold after which we close the connection to get a new one with all streams available.
setPolicy :: IO Policy -> Settings -> Settingscql-io Database.CQL.IO Set the load-balancing policy.