public class GcDbQueryCache extends Object
Constructor and Description |
---|
GcDbQueryCache(int expireInMinutes,
Object _thingBeingCached)
Create an object to cache database result objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
expired()
Whether this cache object is expired.
|
Object |
getThingBeingCached() |
public GcDbQueryCache(int expireInMinutes, Object _thingBeingCached)
expireInMinutes
- is how many minutes this is valid for._thingBeingCached
- is the thing being cached.public boolean expired()
public Object getThingBeingCached()
Copyright © 2016 Internet2. All rights reserved.