set_cache


Description:

public void set_cache (BookCache cache)

Sets the cache as the cache to be used by the this.

By default, a cache.db in EBookBackend:cache_dir is created in the constructed method. This function can be used to override the default.

Note the this adds its own reference to the cache.

Parameters:

this

an BookMetaBackend

cache

an BookCache to use