public class ScopedTopologySet extends HashSet<String> implements AutoCloseable
A set of topology names that will be killed when this is closed, or when the program exits.
| Constructor and Description | 
|---|
| ScopedTopologySet(Nimbus.Iface client)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear() | 
| void | close() | 
| boolean | remove(Object o) | 
| boolean | removeAll(Collection<?> c) | 
| boolean | retainAll(Collection<?> c) | 
add, clone, contains, isEmpty, iterator, size, spliteratorequals, hashCodeaddAll, containsAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, equals, hashCode, toArray, toArrayparallelStream, removeIf, streampublic ScopedTopologySet(Nimbus.Iface client)
Constructor.
client - the client used to kill the topologies when this exist.public boolean remove(Object o)
public void clear()
public boolean removeAll(Collection<?> c)
removeAll in interface Collection<String>removeAll in interface Set<String>removeAll in class AbstractSet<String>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<String>retainAll in interface Set<String>retainAll in class AbstractCollection<String>public void close()
close in interface AutoCloseableCopyright © 2019 The Apache Software Foundation. All rights reserved.