|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ten60.netkernel.layer1.meta.DependencyMeta
org.ten60.netkernel.layer1.meta.TimedExpiryDependencyMeta
public class TimedExpiryDependencyMeta
A Dependency Meta (for cost) but with a specific expiry time - i.e. it ignores expiry of it's dependents
| Field Summary |
|---|
| Fields inherited from class org.ten60.netkernel.layer1.meta.DependencyMeta |
|---|
sDebugFlag, sEmpty |
| Constructor Summary | |
|---|---|
TimedExpiryDependencyMeta(java.lang.String aMimeType,
long aExpiryTime,
int aCreationCost)
Creates a new instance of TimedExpiryMeta |
|
| Method Summary | |
|---|---|
boolean |
canIndependentlyExpire()
return true if this meta can expire independently of its dependencies |
IURMeta[] |
getExpiryDependenciesRecursive()
get recursive list of expiry dependencies |
long |
getPessimisticExpiryTime()
recursively calculate the pessimistic expiry time |
boolean |
isExpired()
recursive evaluation of isExpired by looking at dependencies |
java.lang.String |
toString()
|
| Methods inherited from class org.ten60.netkernel.layer1.meta.DependencyMeta |
|---|
getContextSensitivity, getCostDependenciesRecursive, getCreationCost, getDirectDependencies, getLocalCreationCost, getMimeType, getUsageCost, isIntermediate, setDebugString, setDependencies, setIntermediate, setMimeType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimedExpiryDependencyMeta(java.lang.String aMimeType,
long aExpiryTime,
int aCreationCost)
| Method Detail |
|---|
public long getPessimisticExpiryTime()
DependencyMeta
getPessimisticExpiryTime in interface IURMetagetPessimisticExpiryTime in class DependencyMetapublic boolean isExpired()
DependencyMeta
isExpired in interface IURMetaisExpired in class DependencyMetapublic boolean canIndependentlyExpire()
IHasDependencies
canIndependentlyExpire in interface IHasDependenciescanIndependentlyExpire in class DependencyMetapublic java.lang.String toString()
toString in class DependencyMetapublic IURMeta[] getExpiryDependenciesRecursive()
IHasDependencies
getExpiryDependenciesRecursive in interface IHasDependenciesgetExpiryDependenciesRecursive in class DependencyMeta
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||