Class: Async::Redis::ClusterClient::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/async/redis/cluster_client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client

Returns:

  • (Object)

    the current value of client



28
29
30
# File 'lib/async/redis/cluster_client.rb', line 28

def client
  @client
end

#endpointObject

Returns the value of attribute endpoint

Returns:

  • (Object)

    the current value of endpoint



28
29
30
# File 'lib/async/redis/cluster_client.rb', line 28

def endpoint
  @endpoint
end

#healthObject

Returns the value of attribute health

Returns:

  • (Object)

    the current value of health



28
29
30
# File 'lib/async/redis/cluster_client.rb', line 28

def health
  @health
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



28
29
30
# File 'lib/async/redis/cluster_client.rb', line 28

def id
  @id
end

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



28
29
30
# File 'lib/async/redis/cluster_client.rb', line 28

def role
  @role
end