Interface ConcurrentBaseDelegate<T extends ConcurrentBaseDelegate<T>>
-
- All Superinterfaces:
BaseDelegate<T>
- All Known Implementing Classes:
FrameStack
public interface ConcurrentBaseDelegate<T extends ConcurrentBaseDelegate<T>> extends BaseDelegate<T>
- Since:
- 1.6
- Author:
- Sina Madani
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.epsilon.common.function.BaseDelegate
BaseDelegate.MergeMode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
isThreadSafe()
default void
mergeAndSetThreadSafety(BaseDelegate.MergeMode mode, boolean threadSafe)
default <C> void
mergeCollectionsUnique(Function<T,Collection<C>> colPropertyGetter, Supplier<? extends Collection<C>> threadSafeTargetCol, Supplier<? extends Collection<C>> targetCol, BaseDelegate.MergeMode mode)
CallsBaseDelegate#mergeCollectionsUnique(Function, Function, MergeMode)
with threadSafeTargetCol if the target (i.e.void
setThreadSafe(boolean concurrent)
-
Methods inherited from interface org.eclipse.epsilon.common.function.BaseDelegate
delegateLookup, delegateLookup, delegateLookup, getBase, getFrom, getTo, merge, mergeCollectionsUnique
-
-
-
-
Method Detail
-
isThreadSafe
boolean isThreadSafe()
-
setThreadSafe
void setThreadSafe(boolean concurrent)
-
mergeAndSetThreadSafety
default void mergeAndSetThreadSafety(BaseDelegate.MergeMode mode, boolean threadSafe)
-
mergeCollectionsUnique
default <C> void mergeCollectionsUnique(Function<T,Collection<C>> colPropertyGetter, Supplier<? extends Collection<C>> threadSafeTargetCol, Supplier<? extends Collection<C>> targetCol, BaseDelegate.MergeMode mode)
CallsBaseDelegate#mergeCollectionsUnique(Function, Function, MergeMode)
with threadSafeTargetCol if the target (i.e. this or the base) should be thread-safe.
-
-