// Flush previously built in memory cache
Flush previously built in memory cache
// Flush previously built in memory cache
func (d *Driver) Flush() {
	d.cache.Clear(func(k cacheKey, v *cacheValue) bool {
		return !d.subscriptions.Check(v.CipherID, k.ItemName+"/"+k.ItemKey)
	})
}
func ( d * Driver ) Flush ( ) { d . cache . Clear ( func ( k cacheKey , v * cacheValue ) bool { return ! d . subscriptions . Check ( v . CipherID , k . ItemName + " " + k . ItemKey ) } ) }
Flush previously built in memory cache
Flush previously built in memory cache
// do not clear cache if subscribed