edu.internet2.middleware.grouperClient.jdbc
Class GcDbQueryCache

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.jdbc.GcDbQueryCache

public class GcDbQueryCache
extends java.lang.Object

Author:
harveycg

Constructor Summary
GcDbQueryCache(int expireInMinutes, java.lang.Object _thingBeingCached)
          Create an object to cache database result objects.
 
Method Summary
 boolean expired()
          Whether this cache object is expired.
 java.lang.Object getThingBeingCached()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GcDbQueryCache

public GcDbQueryCache(int expireInMinutes,
                      java.lang.Object _thingBeingCached)
Create an object to cache database result objects.

Parameters:
expireInMinutes - is how many minutes this is valid for.
_thingBeingCached - is the thing being cached.
Method Detail

expired

public boolean expired()
Whether this cache object is expired.

Returns:
true if so.

getThingBeingCached

public java.lang.Object getThingBeingCached()
Returns:
the thingBeingCached