org.pentaho.reporting.libraries.resourceloader.cache

Class NullResourceBundleDataCache

public class NullResourceBundleDataCache extends Object implements ResourceBundleDataCache

Disables caching. It simply returns null on every request and ignores the put requests. You certainly want to use one of the other cache providers in real world applications.

Author: Thomas Morgner

Constructor Summary
NullResourceBundleDataCache()
Method Summary
voidclear()
ResourceBundleDataCacheEntryget(ResourceKey key)
ResourceBundleDataput(ResourceManager caller, ResourceBundleData data)
voidremove(ResourceBundleData data)
voidshutdown()

Constructor Detail

NullResourceBundleDataCache

public NullResourceBundleDataCache()

Method Detail

clear

public void clear()

get

public ResourceBundleDataCacheEntry get(ResourceKey key)

put

public ResourceBundleData put(ResourceManager caller, ResourceBundleData data)

remove

public void remove(ResourceBundleData data)

shutdown

public void shutdown()