@FunctionalInterface public interface ConsistentHashChangeListener
| Modifier and Type | Method and Description |
|---|---|
static ConsistentHashChangeListener |
noOp()
Returns a No-op version of the functional interface
ConsistentHashChangeListener. |
void |
onConsistentHashChanged(ConsistentHash newConsistentHash)
Notification that a consistent hash has changed.
|
void onConsistentHashChanged(ConsistentHash newConsistentHash)
ConsistentHash.version()
of the given newConsistentHash.newConsistentHash - The new consistent hashstatic ConsistentHashChangeListener noOp()
ConsistentHashChangeListener.ConsistentHash as its only
parameter.Copyright © 2010–2023. All rights reserved.