Method: Cassandra::Errors::UnavailableError#alive

Defined in:
lib/cassandra/errors.rb

#aliveInteger (readonly)

Returns the number of replicas available for the request.

Returns:

  • (Integer)

    the number of replicas available for the request



174
175
176
# File 'lib/cassandra/errors.rb', line 174

def alive
  @alive
end