Closed alexsnaps closed 9 years ago
Unless there is an issue with the way wiring is done in the OnHeapStore
through org.ehcache.internal.store.offheap.OffHeapStore#enableStoreEventNotifications
, then the OffHeapStore
works the same way, see org.ehcache.internal.store.offheap.OffHeapStore#enableStoreEventNotifications
.
Currently org.ehcache.internal.store.offheap.OffHeapStoreSPITest#testStoreEventListener
can't be enabled because the OffHeapStore
lacks the capacity of triggering eviction from a "entry count" based constraint. But all the tests not related to eviction do pass.
AFAICT that is not the case right now, it seems somewhat wired in, but only ever uses the
CacheEvents.nullStoreEventListener()