public class ExpiringTableSupplier extends Object implements java.util.function.Supplier<com.atlassian.cluster.monitoring.spi.model.Table>, Serializable
table with an expiry duration.
It supplies its delegate if it has not expired, or an ClusteredCache.EMPTY otherwise.| Modifier and Type | Field and Description |
|---|---|
static ExpiringTableSupplier |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static ExpiringTableSupplier |
create(com.atlassian.cluster.monitoring.spi.model.Table table,
java.time.Duration expiresAfter) |
com.atlassian.cluster.monitoring.spi.model.Table |
get() |
public static final ExpiringTableSupplier EMPTY
public static ExpiringTableSupplier create(com.atlassian.cluster.monitoring.spi.model.Table table, java.time.Duration expiresAfter)
public com.atlassian.cluster.monitoring.spi.model.Table get()
get in interface java.util.function.Supplier<com.atlassian.cluster.monitoring.spi.model.Table>Copyright © 2002-2024 Atlassian. All Rights Reserved.