public static class TopologyChange.HandlerSubscription extends Object
TopologyChange.
Should be null whenever the TopologyChange.type() is TopologyChange.Type.RESET.
| Constructor and Description |
|---|
HandlerSubscription(String name,
Integer loadFactor)
Constructs a
HandlerSubscription for the given name and loadFactor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
OptionalInt |
loadFactor()
Returns the load factor of the
HandlerSubscription. |
String |
name()
Returns the name of the
HandlerSubscription. |
String |
toString() |
public HandlerSubscription(String name, Integer loadFactor)
HandlerSubscription for the given name and loadFactor.name - The name of the HandlerSubscription.loadFactor - The load factor of the HandlerSubscription. Should be null when this
HandlerSubscription is used when TopologyChange.type() contains
TopologyChange.Type.QUERY_HANDLER_ADDED or TopologyChange.Type.QUERY_HANDLER_REMOVED.public String name()
HandlerSubscription.HandlerSubscription.public OptionalInt loadFactor()
HandlerSubscription.
Should be null when this HandlerSubscription is used when TopologyChange.type() contains
TopologyChange.Type.QUERY_HANDLER_ADDED or TopologyChange.Type.QUERY_HANDLER_REMOVED.
HandlerSubscription.Copyright © 2010–2025. All rights reserved.