|
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.ActiveAccessorMeta
public class ActiveAccessorMeta
An implementation of IURAccessorMeta for active accessors, i.e. accessors that only
implement the URRequest.RQT_SOURCE request.
| Field Summary |
|---|
| Fields inherited from class org.ten60.netkernel.layer1.meta.DependencyMeta |
|---|
sDebugFlag, sEmpty |
| Fields inherited from interface com.ten60.netkernel.urii.accessor.IURAccessorMeta |
|---|
MIME_TYPE |
| Constructor Summary | |
|---|---|
ActiveAccessorMeta(int aCost,
boolean aIsThreadSafe)
Creates a new instance of ActiveAccessorMeta |
|
| Method Summary | |
|---|---|
int |
getContextSensitivity()
Return the depth of sensitivity on the calling context (super stack). |
boolean |
isIntermediate()
accessors are never intermediate |
boolean |
isThreadSafe()
returns true if the accessor is thread safe |
void |
setThreadSafe(boolean aIsThreadSafe)
sets the accessor to be threadsafe or not |
boolean |
supportsRequestType(int aRequestType)
returns true if the request type is RRequest.RQT_SOURCE |
| Methods inherited from class org.ten60.netkernel.layer1.meta.DependencyMeta |
|---|
canIndependentlyExpire, getCostDependenciesRecursive, getCreationCost, getDirectDependencies, getExpiryDependenciesRecursive, getLocalCreationCost, getMimeType, getPessimisticExpiryTime, getUsageCost, isExpired, setDebugString, setDependencies, setIntermediate, setMimeType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ten60.netkernel.urii.IURMeta |
|---|
getCreationCost, getMimeType, getPessimisticExpiryTime, getUsageCost, isExpired |
| Constructor Detail |
|---|
public ActiveAccessorMeta(int aCost,
boolean aIsThreadSafe)
| Method Detail |
|---|
public boolean supportsRequestType(int aRequestType)
supportsRequestType in interface IURAccessorMetaURRequestpublic boolean isThreadSafe()
isThreadSafe in interface IURAccessorMetapublic void setThreadSafe(boolean aIsThreadSafe)
public boolean isIntermediate()
isIntermediate in interface IURMetaisIntermediate in class DependencyMetapublic int getContextSensitivity()
IURMeta
getContextSensitivity in interface IURMetagetContextSensitivity in class DependencyMeta
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||