Package org.opencms.ade.configuration
Class CmsSynchronizedUpdateSet<U>
- java.lang.Object
-
- org.opencms.ade.configuration.CmsSynchronizedUpdateSet<U>
-
- Type Parameters:
U
- the type representing the updates
public class CmsSynchronizedUpdateSet<U> extends java.lang.Object
Helper class which keeps track of a set of updates to be performed in a different thread. New updates can be added, and all updates can be fetched and removed at the same time.
-
-
Constructor Summary
Constructors Constructor Description CmsSynchronizedUpdateSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(U update)
Adds a new update.java.util.Set<U>
removeAll()
Removes all updates from the internal set and returns a new set containing the removed updates.
-
-
-
Constructor Detail
-
CmsSynchronizedUpdateSet
public CmsSynchronizedUpdateSet()
-
-