Class: Raft::LogEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/raft.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



30
31
32
# File 'lib/raft.rb', line 30

def command
  @command
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



30
31
32
# File 'lib/raft.rb', line 30

def index
  @index
end

#termObject

Returns the value of attribute term

Returns:

  • (Object)

    the current value of term



30
31
32
# File 'lib/raft.rb', line 30

def term
  @term
end