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 ConsistentHash
Deprecated, for removal: This API element is subject to removal in a future version.default ConsistentHash
Deprecated, for removal: This API element is subject to removal in a future version.since 9.0 usegetReadConsistentHashAtStart()
orgetWriteConsistentHashAtStart()
int
-
Method Details
-
getConsistentHashAtStart
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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()