public abstract class AbstractReadOnlyExpiringCollection extends Object
Constructor and Description |
---|
AbstractReadOnlyExpiringCollection() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doClear() |
protected abstract void |
doLoad() |
protected void |
finalize() |
protected long |
getExpiryTimeoutMilliseconds() |
String |
getId() |
protected long |
getLastLoadingTime() |
protected boolean |
hasExpired() |
protected boolean |
isLoadOnFirstAccess() |
protected boolean |
isReloadOnExpiry() |
void |
setExpiryTimeoutMilliseconds(long milliseconds) |
protected void |
setId(String id) |
void |
setLoadOnFirstAccess(boolean loadOnFirstAccess) |
void |
setReloadOnExpiry(boolean reloadOnExpiry) |
void |
setReloadWhenExpired(boolean reloadWhenExpired) |
protected void |
setTimeProvider(TimeProvider timeProvider) |
void |
start() |
void |
stop() |
protected void |
validateOnAccess() |
protected void setId(String id)
protected void setTimeProvider(TimeProvider timeProvider)
public String getId()
public void setExpiryTimeoutMilliseconds(long milliseconds)
public void setReloadOnExpiry(boolean reloadOnExpiry)
public void setLoadOnFirstAccess(boolean loadOnFirstAccess)
public void setReloadWhenExpired(boolean reloadWhenExpired)
protected boolean hasExpired()
public void start()
public void stop()
protected void finalize() throws Throwable
protected void validateOnAccess()
protected abstract void doLoad()
protected abstract void doClear()
protected long getExpiryTimeoutMilliseconds()
protected boolean isReloadOnExpiry()
protected boolean isLoadOnFirstAccess()
protected long getLastLoadingTime()
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.