protected class AbstractDynamicMetadataResolver.BackingStoreCleanupSweeper extends TimerTask
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Logger.
|
Modifier | Constructor and Description |
---|---|
protected |
BackingStoreCleanupSweeper() |
Modifier and Type | Method and Description |
---|---|
private boolean |
isRemoveData(AbstractDynamicMetadataResolver.EntityManagementData mgmtData,
org.joda.time.DateTime now,
org.joda.time.DateTime earliestValidLastAccessed)
Determine whether metadata should be removed based on expiration and idle time data.
|
private void |
removeExpiredAndIdleMetadata()
Purge metadata which is either 1) expired or 2) (if
AbstractDynamicMetadataResolver.isRemoveIdleEntityData() is true)
which hasn't been accessed within the last AbstractDynamicMetadataResolver.getMaxIdleEntityData() milliseconds. |
void |
run() |
cancel, scheduledExecutionTime
private void removeExpiredAndIdleMetadata()
AbstractDynamicMetadataResolver.isRemoveIdleEntityData()
is true)
which hasn't been accessed within the last AbstractDynamicMetadataResolver.getMaxIdleEntityData()
milliseconds.private boolean isRemoveData(@Nonnull AbstractDynamicMetadataResolver.EntityManagementData mgmtData, @Nonnull org.joda.time.DateTime now, @Nonnull org.joda.time.DateTime earliestValidLastAccessed)
mgmtData
- the management data instance for the entitynow
- the current timeearliestValidLastAccessed
- the earliest last accessed time which would be validCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.