Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.remoting.transport.socket
Class LRUPool

    java.lang.Object
      org.jboss.util.LRUCachePolicy
          org.jboss.remoting.transport.socket.LRUPool

All Implemented Interfaces:
  org.jboss.util.CachePolicy

    public class LRUPool

extends org.jboss.util.LRUCachePolicy

This class is an extention of LRUCachePolicy. On a entry removal it makes sure to call shutdown on the pooled ServerThread

Author:
  Bill Burke

Nested Class Summary

Nested classes/interfaces inherited from class org.jboss.util.LRUCachePolicy
`org.jboss.util.LRUCachePolicy.LRUCacheEntry, org.jboss.util.LRUCachePolicy.LRUList`

Field Summary

Fields inherited from class org.jboss.util.LRUCachePolicy
`m_list, m_map, m_maxCapacity, m_minCapacity`

Constructor Summary
`LRUPool(int min, int max)`

Method Summary
`protected void` | `entryRemoved(org.jboss.util.LRUCachePolicy.LRUCacheEntry entry)`
`void` | `evict()`
`java.util.Set` | `getContents()`

Methods inherited from class org.jboss.util.LRUCachePolicy
`ageOut, cacheMiss, create, createCacheEntry, createList, destroy, flush, get, insert, peek, remove, size, start, stop`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LRUPool

    public LRUPool(int min,
                   int max)

Method Detail

### entryRemoved

    protected void entryRemoved(org.jboss.util.LRUCachePolicy.LRUCacheEntry entry)

### evict

    public void evict()

### getContents

    public java.util.Set getContents()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.