Preparing search index...
The search index is not available
@ipregistry/client
@ipregistry/client
InMemoryCache
Class InMemoryCache
Implements
IpregistryCache
Index
Constructors
constructor
Methods
get
invalidate
invalidate
All
put
Constructors
constructor
new
InMemoryCache
(
maximumSize
?:
number
,
expireAfter
?:
number
)
:
InMemoryCache
Parameters
maximumSize
:
number
= ...
expireAfter
:
number
= ...
Returns
InMemoryCache
Methods
get
get
(
key
:
string
)
:
undefined
|
IpInfo
Parameters
key
:
string
Returns
undefined
|
IpInfo
invalidate
invalidate
(
key
:
string
)
:
void
Parameters
key
:
string
Returns
void
invalidate
All
invalidateAll
()
:
void
Returns
void
put
put
(
key
:
string
,
data
:
IpInfo
)
:
void
Parameters
key
:
string
data
:
IpInfo
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
invalidate
invalidate
All
put
@ipregistry/client
Loading...