Class: Saro::Dat::DatManager::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/saro/dat/dat_manager.rb

Overview

Immutable snapshot of the manager state. Readers access it lock-free via a single ivar read (atomic reference swap); writers rebuild a new frozen snapshot under @write_lock.

Instance Attribute Summary collapse

Instance Attribute Details

#by_cidObject

Returns the value of attribute by_cid

Returns:

  • (Object)

    the current value of by_cid



16
17
18
# File 'lib/saro/dat/dat_manager.rb', line 16

def by_cid
  @by_cid
end

#certificatesObject

Returns the value of attribute certificates

Returns:

  • (Object)

    the current value of certificates



16
17
18
# File 'lib/saro/dat/dat_manager.rb', line 16

def certificates
  @certificates
end

#issuerObject

Returns the value of attribute issuer

Returns:

  • (Object)

    the current value of issuer



16
17
18
# File 'lib/saro/dat/dat_manager.rb', line 16

def issuer
  @issuer
end