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
  • Method Details

    • 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)
      Calls BaseDelegate#mergeCollectionsUnique(Function, Function, MergeMode) with threadSafeTargetCol if the target (i.e. this or the base) should be thread-safe.