org.onebusaway.container.cache
public final class CacheKeyInfo extends Object implements Serializable
CacheableMethodKeyFactory
,
CacheableObjectKeyFactory
,
Serialized FormConstructor and Description |
---|
CacheKeyInfo(Serializable key,
boolean cacheRefreshIndicated) |
public CacheKeyInfo(Serializable key, boolean cacheRefreshIndicated)
key
- the serializable cache key generated for the method callcacheRefreshIndicated
- true if the specified method call indicates
that the cache should be cleared, otherwise falsepublic Serializable getKey()
public boolean isCacheRefreshIndicated()
Copyright © 2014 OneBusAway. All Rights Reserved.