Interface TopologyChangedEvent<K,V>
-
- All Superinterfaces:
Event<K,V>
public interface TopologyChangedEvent<K,V> extends Event<K,V>
The event passed in to methods annotated withTopologyChanged.- 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
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default ConsistentHashgetConsistentHashAtEnd()Deprecated.since 9.0 usegetReadConsistentHashAtEnd()orgetWriteConsistentHashAtEnd()default ConsistentHashgetConsistentHashAtStart()Deprecated.since 9.0 usegetReadConsistentHashAtStart()orgetWriteConsistentHashAtStart()intgetNewTopologyId()ConsistentHashgetReadConsistentHashAtEnd()ConsistentHashgetReadConsistentHashAtStart()ConsistentHashgetWriteConsistentHashAtEnd()ConsistentHashgetWriteConsistentHashAtStart()
-
-
-
Method Detail
-
getConsistentHashAtStart
@Deprecated default ConsistentHash 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 default ConsistentHash 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()
-
-