| Constructor and Description |
|---|
LiveNodesSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String id) |
boolean |
addAll(Collection<String> nodes) |
void |
clear() |
boolean |
contains(String id) |
Set<String> |
get() |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
void |
registerLiveNodesListener(LiveNodesListener listener) |
boolean |
remove(String id) |
void |
removeAllLiveNodesListeners() |
void |
removeLiveNodesListener(LiveNodesListener listener) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic int size()
public void registerLiveNodesListener(LiveNodesListener listener)
public void removeLiveNodesListener(LiveNodesListener listener)
public void removeAllLiveNodesListeners()
public boolean isEmpty()
public boolean contains(String id)
public boolean add(String id)
public boolean addAll(Collection<String> nodes)
public boolean remove(String id)
public void clear()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.