Class: Pocolog::Logger::Sampling

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

Instance Attribute Summary collapse

Instance Attribute Details

#last_writeObject

Returns the value of attribute last_write

Returns:

  • (Object)

    the current value of last_write



3
4
5
# File 'lib/pocolog/logger.rb', line 3

def last_write
  @last_write
end

#next_sampleObject

Returns the value of attribute next_sample

Returns:

  • (Object)

    the current value of next_sample



3
4
5
# File 'lib/pocolog/logger.rb', line 3

def next_sample
  @next_sample
end

#periodObject

Returns the value of attribute period

Returns:

  • (Object)

    the current value of period



3
4
5
# File 'lib/pocolog/logger.rb', line 3

def period
  @period
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



3
4
5
# File 'lib/pocolog/logger.rb', line 3

def source
  @source
end

#streamObject

Returns the value of attribute stream

Returns:

  • (Object)

    the current value of stream



3
4
5
# File 'lib/pocolog/logger.rb', line 3

def stream
  @stream
end