org.terracotta.toolkit.collections
Interface ToolkitSet<E>
- All Superinterfaces:
- Collection<E>, Destroyable, Iterable<E>, Set<E>, ToolkitLockedObject, ToolkitObject
- All Known Subinterfaces:
- ToolkitSortedSet<E>
public interface ToolkitSet<E>
- extends Set<E>, ToolkitLockedObject, Destroyable
A toolkit set. The set performs all mutative operations under the write lock from
ToolkitLockedObject.getReadWriteLock()
and all read operations under the read lock from the same.
Consult the Toolkit class level docs for more info on behavior regarding destroy.
Trying to add values that are not serializable will throw NotSerializableRuntimeException
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Copyright © 2014 Terracotta, Inc.. All Rights Reserved.