Open ugol opened 8 years ago
Possible algorithm:
then call dispose on the drool sessions.
Or, get a look at https://raw.githubusercontent.com/anistor/infinispan/master/core/src/main/java/org/infinispan/notifications/cachelistener/event/DataRehashedEvent.java
that contains both the views before and after rehashing.
<+anistor> ugol: both pre and post events contain to the before/after ConsistentHash objects. and method Address ConsistentHash.locatePrimary(Owner key) can be used to detect if a certain key is primary owned by current node <+anistor> ugol: EmbeddedCacheManager.getAddress() gives you your adress, so you can compare with what locatePrimary returns
...to get rid of finalizers