NetKernel APIs


com.ten60.netkernel.module
Class MappingCache

java.lang.Object
  extended bycom.ten60.netkernel.module.MappingCache

public class MappingCache
extends Object

Quick lookup cache for the request resolution process


Constructor Summary
MappingCache(int aSize)
          Creates a new instance of MappingCache
 
Method Summary
 MappedRequest get(URRequest aRequest)
          try to find how the requests will be resolved from the cache
 void put(URRequest aRequest, MappedRequest aMapped)
          once a resolution has been performed it can be added to the cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingCache

public MappingCache(int aSize)
Creates a new instance of MappingCache

Method Detail

get

public MappedRequest get(URRequest aRequest)
try to find how the requests will be resolved from the cache


put

public void put(URRequest aRequest,
                MappedRequest aMapped)
once a resolution has been performed it can be added to the cache


NetKernel APIs


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