Interface TopologyChangedEvent<K,V>
- All Superinterfaces:
Event<K,V>
- All Known Implementing Classes:
EventImpl
The event passed in to methods annotated with
TopologyChanged.- Since:
- 5.0
- Author:
- Manik Surtani
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.notifications.cachelistener.event.Event
Event.Type -
Method Summary
Modifier and TypeMethodDescriptiondefault ConsistentHashDeprecated.default ConsistentHashDeprecated.since 9.0 usegetReadConsistentHashAtStart()orgetWriteConsistentHashAtStart()int
-
Method Details
-
getConsistentHashAtStart
Deprecated.since 9.0 usegetReadConsistentHashAtStart()orgetWriteConsistentHashAtStart()- Returns:
- retrieves the consistent hash at the start of a topology change
-
getReadConsistentHashAtStart
ConsistentHash getReadConsistentHashAtStart() -
getWriteConsistentHashAtStart
ConsistentHash getWriteConsistentHashAtStart() -
getConsistentHashAtEnd
Deprecated.since 9.0 usegetReadConsistentHashAtEnd()orgetWriteConsistentHashAtEnd()- Returns:
- retrieves the consistent hash at the end of a topology change
-
getReadConsistentHashAtEnd
ConsistentHash getReadConsistentHashAtEnd() -
getWriteConsistentHashAtEnd
ConsistentHash getWriteConsistentHashAtEnd() -
getNewTopologyId
int getNewTopologyId()
-
getReadConsistentHashAtEnd()orgetWriteConsistentHashAtEnd()