Package org.apache.storm.loadgen
Class ScopedTopologySet
- All Implemented Interfaces:
- Serializable,- AutoCloseable,- Cloneable,- Iterable<String>,- Collection<String>,- Set<String>
A set of topology names that will be killed when this is closed, or when the
 program exits.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()voidclose()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) Methods inherited from class java.util.HashSetadd, clone, contains, isEmpty, iterator, size, spliterator, toArray, toArrayMethods inherited from class java.util.AbstractSetequals, hashCodeMethods inherited from class java.util.AbstractCollectionaddAll, containsAll, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.SetaddAll, containsAll, equals, hashCode
- 
Constructor Details- 
ScopedTopologySetConstructor.- Parameters:
- client- the client used to kill the topologies when this exist.
 
 
- 
- 
Method Details- 
remove
- 
clearpublic void clear()
- 
removeAll- Specified by:
- removeAllin interface- Collection<String>
- Specified by:
- removeAllin interface- Set<String>
- Overrides:
- removeAllin class- AbstractSet<String>
 
- 
retainAll- Specified by:
- retainAllin interface- Collection<String>
- Specified by:
- retainAllin interface- Set<String>
- Overrides:
- retainAllin class- AbstractCollection<String>
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
 
-