T - the type of the underlying valuepublic interface TransientValue<T>
MetadataMap which will automatically expire at some point.| Modifier and Type | Method and Description |
|---|---|
T |
getOrNull()
Returns the underlying value, or null if it has expired
|
boolean |
shouldExpire()
Returns if this value should be removed from the map
|
Copyright © 2020. All rights reserved.