I was wondering if there's a way to detect or listen in on the data being shared with a new node that's joining an existing Infinispan cluster? Just the same way as having a listener for data that's being added/ changed for a cache, is there a way that the a new node can get a replay of add events for all the data that's currently in the cluster upon joining into it? I need to figure out a way to do this to allow additional data setup to happen upon discovery of data within the Infinispan cache.
Appreciate any help or pointers on this.
You can receive the current state if you install a clustered listener with @Listener(clustered = true, includeCurrentState = true). Would clustered listeners work for you?