Package org.apache.ws.util

Examples of org.apache.ws.util.LRUCache


   public synchronized void startReaping(  )
   {
      if ( !m_started )
      {
         // create our LRU map that will maintain those resources that do not support WS-RL
         m_noTerminationTimeSupport = new LRUCache(  );
         m_noTerminationTimeSupport.setMaxCapacity( 50 ); // TODO: make this configurable

         // create our reaper thread pool that will provide the threads used to actually check for and destroy expired resources
         m_reaperThreadPool = new PooledExecutor(  );
         m_reaperThreadPool.setThreadFactory( new NamedThread.ConcurrentThreadFactory( "resource-reaper", true ) );
View Full Code Here

TOP

Related Classes of org.apache.ws.util.LRUCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.