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.ejb.plugins
Class LRUStatefulContextCachePolicy.RemoverTask

    java.lang.Object
      java.util.TimerTask
          org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.OveragerTask
              org.jboss.ejb.plugins.LRUStatefulContextCachePolicy.RemoverTask

All Implemented Interfaces:
  Runnable

Enclosing class:
  LRUStatefulContextCachePolicy

protected class LRUStatefulContextCachePolicy.RemoverTask
extends LRUEnterpriseContextCachePolicy.OveragerTask

This TimerTask removes beans that have not been called for a while.

Constructor Summary
`protected` | `LRUStatefulContextCachePolicy.RemoverTask(long period)`

Method Summary
`protected String` | `getJMSTaskType()`
`protected long` | `getMaxAge()`
`protected String` | `getTaskLogMessage()`
`protected void` | `kickOut(org.jboss.util.LRUCachePolicy.LRUCacheEntry entry)`
`void` | `run()`

Methods inherited from class java.util.TimerTask
`cancel, scheduledExecutionTime`

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

Constructor Detail

### LRUStatefulContextCachePolicy.RemoverTask

    protected LRUStatefulContextCachePolicy.RemoverTask(long period)

Method Detail

### getTaskLogMessage

    protected String getTaskLogMessage()

  Overrides:
    `getTaskLogMessage` in class `LRUEnterpriseContextCachePolicy.OveragerTask`

### getJMSTaskType

    protected String getJMSTaskType()

  Overrides:
    `getJMSTaskType` in class `LRUEnterpriseContextCachePolicy.OveragerTask`

### kickOut

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

### getMaxAge

    protected long getMaxAge()

  Overrides:
    `getMaxAge` in class `LRUEnterpriseContextCachePolicy.OveragerTask`

### run

    public void run()

  Specified by:
    `run` in interface `Runnable`
  Overrides:
    `run` in class `LRUEnterpriseContextCachePolicy.OveragerTask`

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 © 2002 JBoss Group, LLC. All Rights Reserved.