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.

  1. setMaxRecvBuffer :: Int -> Settings -> Settings

    cql-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.

  2. setMaxStreams :: Int -> Settings -> Settings

    cql-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.

  3. setMaxTimeouts :: Int -> Settings -> Settings

    cql-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.

  4. setPolicy :: IO Policy -> Settings -> Settings

    cql-io Database.CQL.IO

    Set the load-balancing policy.

  5. setPoolStripes :: Int -> Settings -> Settings

    cql-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.

  6. setPortNumber :: PortNumber -> Settings -> Settings

    cql-io Database.CQL.IO

    Set the portnumber to use to connect on every node of the cluster.

  7. setPrepareStrategy :: PrepareStrategy -> Settings -> Settings

    cql-io Database.CQL.IO

    Set strategy to use for preparing statements.

  8. setProtocolVersion :: Version -> Settings -> Settings

    cql-io Database.CQL.IO

    Set the binary protocol version to use.

  9. setResponseTimeout :: NominalDiffTime -> Settings -> Settings

    cql-io Database.CQL.IO

    Set the response timeout of a connection. Requests exceeding the response timeout will fail with a ResponseTimeout exception.

  10. setRetryHandlers :: (forall (m :: Type -> Type) . Monad m => [RetryStatus -> Handler m Bool]) -> RetrySettings -> RetrySettings

    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.

Page 774 of many | Previous | Next