public class ScopedTopologySet extends HashSet<String> implements AutoCloseable
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, spliterator
equals, hashCode
addAll, containsAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, equals, hashCode, toArray, toArray
parallelStream, removeIf, stream
public ScopedTopologySet(Nimbus.Iface client)
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 AutoCloseable
Copyright © 2023 The Apache Software Foundation. All rights reserved.