Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Host = Host {}
- peer2Host :: PortNumber -> Peer -> Host
- updateHost :: Host -> Maybe (Text, Text) -> Host
- data HostResponse k a b = HostResponse {
- hrHost :: !Host
- hrResponse :: !(Response k a b)
- data HostEvent
- hostAddr :: Lens' Host InetAddr
- dataCentre :: Lens' Host Text
- rack :: Lens' Host Text
- newtype InetAddr = InetAddr {}
- sock2inet :: PortNumber -> SockAddr -> InetAddr
- ip2inet :: PortNumber -> IP -> InetAddr
Documentation
A Cassandra host known to the client.
data HostResponse k a b Source #
A response that is known to originate from a specific Host
.
HostResponse | |
|
Instances
Show b => Show (HostResponse k a b) Source # | |
Defined in Database.CQL.IO.Cluster.Host showsPrec :: Int -> HostResponse k a b -> ShowS # show :: HostResponse k a b -> String # showList :: [HostResponse k a b] -> ShowS # |
This event will be passed to a Policy
to inform it about
cluster changes.