Class: IControl::LocalLB::PersistenceRecord

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/local_lb.rb,
lib/icontrol/local_lb.rb

Overview

A struct that describes a persistence record.

Instance Attribute Summary collapse

Instance Attribute Details

#ageNumeric

The time since this persistence record was last touched.

Returns:

  • (Numeric)

    the current value of age



287
288
289
# File 'lib/icontrol/local_lb.rb', line 287

def age
  @age
end

#create_timeNumeric

The time this persistence record is created.

Returns:

  • (Numeric)

    the current value of create_time



287
288
289
# File 'lib/icontrol/local_lb.rb', line 287

def create_time
  @create_time
end

#modeIControl::LocalLB::PersistenceMode

The persistent mode used by the object in “name”.

Returns:



287
288
289
# File 'lib/icontrol/local_lb.rb', line 287

def mode
  @mode
end

#node_serverIControl::Common::IPPortDefinition

The node server the connection is persisted to.

Returns:



287
288
289
# File 'lib/icontrol/local_lb.rb', line 287

def node_server
  @node_server
end

#persistence_valueString

The string representation of the persistence value (i.e. client IP, SSL ID, SIP call ID…)

Returns:

  • (String)

    the current value of persistence_value



287
288
289
# File 'lib/icontrol/local_lb.rb', line 287

def persistence_value
  @persistence_value
end

#pool_nameString

The pool associated with the node server where the connection is persisted to.

Returns:

  • (String)

    the current value of pool_name



287
288
289
# File 'lib/icontrol/local_lb.rb', line 287

def pool_name
  @pool_name
end

#virtual_serverIControl::Common::VirtualServerDefinition

The virtual server (name:IP:port) associated with this persistence record (protocol is not used and will always be 0).

Returns:



287
288
289
# File 'lib/icontrol/local_lb.rb', line 287

def virtual_server
  @virtual_server
end