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
In
Memory
Cache
(
maximumSize
?
,
expireAfter
?
)
:
InMemoryCache
Parameters
maximumSize
:
number
= ...
expireAfter
:
number
= ...
Returns
InMemoryCache
Methods
get
get
(
key
)
:
undefined
|
IpInfo
Parameters
key
:
string
Returns
undefined
|
IpInfo
invalidate
invalidate
(
key
)
:
void
Parameters
key
:
string
Returns
void
invalidate
All
invalidate
All
(
)
:
void
Returns
void
put
put
(
key
,
data
)
:
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...