NetKernel APIs


org.ten60.netkernel.layer1.meta
Class DataAccessorMeta

java.lang.Object
  extended bycom.ten60.netkernel.urii.meta.MetaImpl
      extended byorg.ten60.netkernel.layer1.meta.MetaImpl
          extended byorg.ten60.netkernel.layer1.meta.DataAccessorMeta
All Implemented Interfaces:
IURAccessorMeta, IURMeta

public class DataAccessorMeta
extends MetaImpl
implements IURAccessorMeta

Implementation IURAccessorMeta for data accessors that don't depend upon other results and may implement all or any of the URRequest types


Field Summary
 
Fields inherited from interface com.ten60.netkernel.urii.accessor.IURAccessorMeta
MIME_TYPE
 
Constructor Summary
DataAccessorMeta(int aCost, int aSupportedRequestTypes, boolean aThreadSafe)
          Creates a new instance of DataAccessorMeta
 
Method Summary
 boolean isContextSensitive()
           
 boolean isThreadSafe()
          sets the accessor to be threadsafe or not
 boolean supportsRequestType(int aRequestType)
          return true if the accessor supports the given request type
 
Methods inherited from class org.ten60.netkernel.layer1.meta.MetaImpl
isIntermediate
 
Methods inherited from class com.ten60.netkernel.urii.meta.MetaImpl
getContextSensitivity, getCreationCost, getMimeType, getPessimisticExpiryTime, getUsageCost, incrementCreationCost, isExpired, setMimeType, setPessimisticExpiryTime, 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
getContextSensitivity, getCreationCost, getMimeType, getPessimisticExpiryTime, getUsageCost, isExpired, isIntermediate
 

Constructor Detail

DataAccessorMeta

public DataAccessorMeta(int aCost,
                        int aSupportedRequestTypes,
                        boolean aThreadSafe)
Creates a new instance of DataAccessorMeta

Method Detail

supportsRequestType

public boolean supportsRequestType(int aRequestType)
return true if the accessor supports the given request type

Specified by:
supportsRequestType in interface IURAccessorMeta
See Also:
URRequest

isThreadSafe

public boolean isThreadSafe()
sets the accessor to be threadsafe or not

Specified by:
isThreadSafe in interface IURAccessorMeta

isContextSensitive

public boolean isContextSensitive()

NetKernel APIs


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