Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.5.8 generated on January 11 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.solarmetric.kodo.runtime.datacache.query
Class QueryKeyExpirationListener

    java.lang.Object
      |
      +--com.solarmetric.kodo.runtime.datacache.query.QueryKeyExpirationListener

All Implemented Interfaces:
  com.solarmetric.util.Listener

class QueryKeyExpirationListener
extends Object
implements com.solarmetric.util.Listener

Constructor Summary
`QueryKeyExpirationListener(QueryCache cache)`

Method Summary
`void` | `eventOccurred(EventObject event)`
`void` | `registerQueryKey(Object key, QueryKey qk)` Registers `qk` with `oid` so that notification of expiration of `oid` can potentially result in the query associated with `qk` being expired.

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

Constructor Detail

### QueryKeyExpirationListener

    public QueryKeyExpirationListener(QueryCache cache)

Method Detail

### registerQueryKey

    public void registerQueryKey(Object key,
                                 QueryKey qk)

  Registers `qk` with `oid` so that notification of expiration of `oid` can potentially result in the query associated with `qk` being expired. This is useful because if a substantial number of objects in `qk`'s result list are not in memory, it may actually be more efficient to execute the query against the database, rather than executing one-off queries along the way.

### eventOccurred

    public void eventOccurred(EventObject event)

  Specified by:
    `eventOccurred` in interface `com.solarmetric.util.Listener`

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.5.8 generated on January 11 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.