protected class AbstractDynamicMetadataResolver.EntityManagementData extends Object
Modifier and Type | Field and Description |
---|---|
private String |
entityID
The entity ID managed by this instance.
|
private org.joda.time.DateTime |
expirationTime
Expiration time of the associated metadata.
|
private org.joda.time.DateTime |
lastAccessedTime
The last time in milliseconds at which the entity's backing store data was accessed.
|
private org.joda.time.DateTime |
lastUpdateTime
Last update time of the associated metadata.
|
private ReadWriteLock |
readWriteLock
Read-write lock instance which governs access to the entity's backing store data.
|
private org.joda.time.DateTime |
refreshTriggerTime
Time at which should start attempting to refresh the metadata.
|
Modifier | Constructor and Description |
---|---|
protected |
EntityManagementData(String id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getEntityID()
Get the entity ID managed by this instance.
|
org.joda.time.DateTime |
getExpirationTime()
Get the expiration time of the metadata.
|
org.joda.time.DateTime |
getLastAccessedTime()
Get the last time at which the entity's backing store data was accessed.
|
org.joda.time.DateTime |
getLastUpdateTime()
Get the last update time of the metadata.
|
ReadWriteLock |
getReadWriteLock()
Get the read-write lock instance which governs access to the entity's backing store data.
|
org.joda.time.DateTime |
getRefreshTriggerTime()
Get the refresh trigger time of the metadata.
|
void |
recordEntityAccess()
Record access of the entity's backing store data.
|
void |
setExpirationTime(org.joda.time.DateTime dateTime)
Set the expiration time of the metadata.
|
void |
setLastUpdateTime(org.joda.time.DateTime dateTime)
Set the last update time of the metadata.
|
void |
setRefreshTriggerTime(org.joda.time.DateTime dateTime)
Set the refresh trigger time of the metadata.
|
private String entityID
private org.joda.time.DateTime lastUpdateTime
private org.joda.time.DateTime expirationTime
private org.joda.time.DateTime refreshTriggerTime
private org.joda.time.DateTime lastAccessedTime
private ReadWriteLock readWriteLock
@Nonnull public String getEntityID()
@Nullable public org.joda.time.DateTime getLastUpdateTime()
public void setLastUpdateTime(@Nonnull org.joda.time.DateTime dateTime)
dateTime
- the last update time@Nonnull public org.joda.time.DateTime getExpirationTime()
public void setExpirationTime(@Nonnull org.joda.time.DateTime dateTime)
dateTime
- the new expiration time@Nonnull public org.joda.time.DateTime getRefreshTriggerTime()
public void setRefreshTriggerTime(@Nonnull org.joda.time.DateTime dateTime)
dateTime
- the new refresh trigger time@Nonnull public org.joda.time.DateTime getLastAccessedTime()
public void recordEntityAccess()
@Nonnull public ReadWriteLock getReadWriteLock()
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.