Cassandra v1.0.1 Cassandra.Host View Source
Represents a Cassandra host
Link to this section Summary
Functions
Chacks whether the host
status is down or not
Creates a new Host struct from given data came from Cassandra system.peers
or system.local
tabels
Toggles the host
status to status
.
When status
is :get
it tries to get host status in network
Chacks whether the host
status is up or not
Link to this section Functions
Chacks whether the host
status is down or not
Link to this function
new(data, status \\ :down, data_center \\ nil, parser \\ fn x -> x end)
View Source
Creates a new Host struct from given data came from Cassandra system.peers
or system.local
tabels
Toggles the host
status to status
.
When status
is :get
it tries to get host status in network
Chacks whether the host
status is up or not