Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
setPoolStripes :: Int -> Settings -> Settingscql-io Database.CQL.IO Set the number of pool stripes to use. A good setting is equal to the number of CPU cores this codes is running on.
setPortNumber :: PortNumber -> Settings -> Settingscql-io Database.CQL.IO Set the portnumber to use to connect on every node of the cluster.
setPrepareStrategy :: PrepareStrategy -> Settings -> Settingscql-io Database.CQL.IO Set strategy to use for preparing statements.
setProtocolVersion :: Version -> Settings -> Settingscql-io Database.CQL.IO Set the binary protocol version to use.
setResponseTimeout :: NominalDiffTime -> Settings -> Settingscql-io Database.CQL.IO Set the response timeout of a connection. Requests exceeding the response timeout will fail with a ResponseTimeout exception.
-
cql-io Database.CQL.IO Set the exception handlers that decide whether a request can be retried by the client, i.e. what errors are permissible to retry. For configuring how the retries are performed, see setRetryPolicy.