public interface SharedCountListener
extends org.apache.curator.framework.state.ConnectionStateListener
Modifier and Type | Method and Description |
---|---|
void |
countHasChanged(SharedCountReader sharedCount,
int newCount)
Called when the shared value has changed
|
void countHasChanged(SharedCountReader sharedCount, int newCount) throws Exception
sharedCount
- the shared count instancenewCount
- the new countException
- errorsCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.