Package | Description |
---|---|
com.atlassian.bamboo.utils | |
com.atlassian.bamboo.utils.expirables |
Modifier and Type | Method and Description |
---|---|
static BambooTimeValue |
BambooTimeValue.of(long value,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
static <T> com.atlassian.util.concurrent.ResettableLazyReference<T> |
ExpirableReferences.expirable(Supplier<T> supplier,
BambooTimeValue timeToIdle,
ExpiryTicker expiryTicker)
Returns a
ResettableLazyReference . |
static <T extends Closeable> |
ExpirableReferences.expirableWithClose(Supplier<T> supplier,
BambooTimeValue timeToIdle,
ExpiryTicker expiryTicker)
Returns a
that will automatically close() the referenced object when it's expired |
Constructor and Description |
---|
ExpiryHandlerImpl(Expirable expiring,
BambooTimeValue timeToIdle,
ExpiryTicker expiryTicker) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.