CacheableSecondaryAddressFinder class

Implemented types

Constructors

CacheableSecondaryAddressFinder(String _rootDomain, int _rootPort, {SecondaryUrlFinder? secondaryFinder})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cacheContains(String atSign) bool
findSecondary(String atSign) Future<SecondaryAddress>
override
getCacheExpiryTime(String atSign) int?
Returns the expiry time of this entry in millisecondsSinceEpoch, or null if this atSign is not in cache
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultCacheDuration → const Duration