Package io.quarkus.vault.runtime.config
Class VaultCacheEntry<V>
- java.lang.Object
-
- io.quarkus.vault.runtime.config.VaultCacheEntry<V>
-
public class VaultCacheEntry<V> extends Object
-
-
Constructor Summary
Constructors Constructor Description VaultCacheEntry(V value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VgetValue()voidreset()static <V> VtryReturnLastKnownValue(RuntimeException e, VaultCacheEntry<V> cacheEntry)booleanyoungerThan(Duration duration)
-
-
-
Constructor Detail
-
VaultCacheEntry
public VaultCacheEntry(V value)
-
-
Method Detail
-
tryReturnLastKnownValue
public static <V> V tryReturnLastKnownValue(RuntimeException e, VaultCacheEntry<V> cacheEntry)
-
youngerThan
public boolean youngerThan(Duration duration)
-
getValue
public V getValue()
-
reset
public void reset()
-
-