Prometheus Proxy
Toggle table of contents
3.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Prometheus Proxy
Prometheus Proxy
/
io.prometheus.agent
/
HttpClientCache
/
CacheEntry
Cache
Entry
class
CacheEntry
(
val
client
:
HttpClient
,
val
createdAt
:
Long
=
System.currentTimeMillis()
,
var
lastAccessedAt
:
Long
=
System.currentTimeMillis()
)
(
source
)
Members
Constructors
Cache
Entry
Link copied to clipboard
constructor
(
client
:
HttpClient
,
createdAt
:
Long
=
System.currentTimeMillis()
,
lastAccessedAt
:
Long
=
System.currentTimeMillis()
)
Properties
client
Link copied to clipboard
val
client
:
HttpClient
created
At
Link copied to clipboard
val
createdAt
:
Long
last
Accessed
At
Link copied to clipboard
var
lastAccessedAt
:
Long
Functions
is
In
Use
Link copied to clipboard
fun
isInUse
(
)
:
Boolean
mark
For
Close
Link copied to clipboard
fun
markForClose
(
)
on
Done
With
Client
Link copied to clipboard
fun
onDoneWithClient
(
)
:
Boolean
on
Start
With
Client
Link copied to clipboard
fun
onStartWithClient
(
)
:
Int