class

DNS::Caching::ServiceMapper

Inherits Reference < Object

Constructors

new(capacity : Int32 = 512)
Source

Instance methods

capacity
Source
clear
Source
entries
Source
full?
Source
get?(host : String, port : Int32) : Entry | Nil
Source
mutex
Source
set(host : String, port : Int32, dns_server : DNS::Address, options : Entry::Options = Entry::Options.new)
Source
set(host : String, port : Int32, dns_servers : Array(DNS::Address), options : Entry::Options = Entry::Options.new)
Source
set(host : String, port : Int32, dns_servers : Set(DNS::Address), options : Entry::Options = Entry::Options.new)
Source
size
Source

Nested types