org.onebusaway.presentation.impl.transit_data
Class ArrivalsAndDeparturesQueryBeanCacheableObjectKeyFactory

java.lang.Object
  extended by org.onebusaway.presentation.impl.transit_data.ArrivalsAndDeparturesQueryBeanCacheableObjectKeyFactory
All Implemented Interfaces:
CacheableObjectKeyFactory

public class ArrivalsAndDeparturesQueryBeanCacheableObjectKeyFactory
extends Object
implements CacheableObjectKeyFactory


Constructor Summary
ArrivalsAndDeparturesQueryBeanCacheableObjectKeyFactory(int arrivalAndDepartureCacheWindow)
           
 
Method Summary
 CacheKeyInfo createKey(Object object)
           
 void setTimeWindow(int timeWindowInSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrivalsAndDeparturesQueryBeanCacheableObjectKeyFactory

public ArrivalsAndDeparturesQueryBeanCacheableObjectKeyFactory(int arrivalAndDepartureCacheWindow)
Method Detail

setTimeWindow

public void setTimeWindow(int timeWindowInSeconds)

createKey

public CacheKeyInfo createKey(Object object)
Specified by:
createKey in interface CacheableObjectKeyFactory


Copyright © 2012 OneBusAway. All Rights Reserved.