NetKernel APIs


org.ten60.netkernel.layer1.meta
Interface IHasDependencies

All Superinterfaces:
IURMeta
All Known Implementing Classes:
DependencyMeta

public interface IHasDependencies
extends IURMeta

An interface for resource meta data that can contains a set of dependencies


Method Summary
 boolean canIndependentlyExpire()
          return true if this meta can expire independently of its dependencies
 IURMeta[] getCostDependenciesRecursive()
          get recursive list of cost dependencies
 IURMeta[] getDirectDependencies()
          return an array of direct dependencies of this resource
 IURMeta[] getExpiryDependenciesRecursive()
          get recursive list of expiry dependencies
 int getLocalCreationCost()
          return local cost for this resource without cost of its dependencies
 
Methods inherited from interface com.ten60.netkernel.urii.IURMeta
getContextSensitivity, getCreationCost, getMimeType, getPessimisticExpiryTime, getUsageCost, isExpired, isIntermediate
 

Method Detail

getCostDependenciesRecursive

public IURMeta[] getCostDependenciesRecursive()
get recursive list of cost dependencies


getExpiryDependenciesRecursive

public IURMeta[] getExpiryDependenciesRecursive()
get recursive list of expiry dependencies


getDirectDependencies

public IURMeta[] getDirectDependencies()
return an array of direct dependencies of this resource


getLocalCreationCost

public int getLocalCreationCost()
return local cost for this resource without cost of its dependencies


canIndependentlyExpire

public boolean canIndependentlyExpire()
return true if this meta can expire independently of its dependencies


NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.