Class CachedDataBinder
java.lang.Object
oracle.stellent.ridc.convenience.usersecurity.impl.CachedDataBinder
-
Constructor Summary
ConstructorsConstructorDescriptionCachedDataBinder(DataBinder binder) Create a object that remembers the binder and when it was created -
Method Summary
Modifier and TypeMethodDescriptionGet the DataBinderlongGet the System time when this instance was fetched from Content ServerbooleanhasExpired(long timeToLive) Return true if the TimeToLive for this object has expired
-
Constructor Details
-
CachedDataBinder
Create a object that remembers the binder and when it was created- Parameters:
binder- (possibly null)
-
-
Method Details
-
getBinder
Get the DataBinder- Returns:
- DataBinder
-
getBinderFetchTime
public long getBinderFetchTime()Get the System time when this instance was fetched from Content Server- Returns:
- milliseconds from System.currentTimeMillis ()
-
hasExpired
public boolean hasExpired(long timeToLive) Return true if the TimeToLive for this object has expired- Parameters:
timeToLive- in milliseconds- Returns:
-