Interface Preemptive

All Known Subinterfaces:
DecodeRequestHttp<V>, DecodeResponseHttp<V>, DidClear, DidClose, DidCommand, DidConnect, DidDisconnect, DidDownlinkMap<L>, DidDownlinkValue<K>, DidDrop, DidEnter, DidFail, DidLeave, DidLink, DidMoveIndex<V>, DidMoveShape<K,S,V>, DidReadFrameWs<I>, DidReceive, DidRemoveIndex<V>, DidRemoveKey<K,V>, DidRemoveShape<K,S,V>, DidRequestHttp<V>, DidRespondHttp<V>, DidSet<V>, DidSync, DidTake, DidUnlink, DidUpdateIndex<V>, DidUpdateKey<K,V>, DidUpdateShape<K,S,V>, DidUpgradeWs, DidUplink, DidWriteFrameWs<O>, DoRequestHttp<V>, DoRespondHttp<V>, DoUpgradeWs, OnCommand<V>, OnCommandMessage, OnCue<V>, OnCueKey<K,V>, OnEvent<V>, OnEventMessage, OnLinkedResponse, OnLinkRequest, OnSyncedResponse, OnSyncKeys<K>, OnSyncRequest, OnUnlinkedResponse, OnUnlinkRequest, WillClear, WillCommand, WillDownlinkMap<L>, WillDownlinkValue<K>, WillDrop, WillEnter, WillLeave, WillLink, WillMoveIndex<V>, WillMoveShape<K,S,V>, WillReadFrameWs<I>, WillReceive, WillRemoveIndex, WillRemoveKey<K>, WillRemoveShape<K,S>, WillRequestHttp<V>, WillRespondHttp<V>, WillSet<V>, WillSync, WillTake, WillUnlink, WillUpdateIndex<V>, WillUpdateKey<K,V>, WillUpdateShape<K,S,V>, WillUpgradeWs, WillUplink, WillWriteFrameWs<O>
All Known Implementing Classes:
DownlinkGetter, DownlinkLogger, GuestDidClear, GuestDidClose, GuestDidCommand, GuestDidConnect, GuestDidDisconnect, GuestDidDownlinkMap, GuestDidDownlinkValue, GuestDidDrop, GuestDidEnter, GuestDidFail, GuestDidLeave, GuestDidMoveIndex, GuestDidMoveShape, GuestDidRemoveIndex, GuestDidRemoveKey, GuestDidRemoveShape, GuestDidSet, GuestDidTake, GuestDidUpdateIndex, GuestDidUpdateKey, GuestDidUpdateShape, GuestDidUplink, GuestOnCommand, GuestOnCue, GuestOnCueKey, GuestOnSyncKeys, GuestWillClear, GuestWillCommand, GuestWillDownlinkMap, GuestWillDownlinkValue, GuestWillDrop, GuestWillEnter, GuestWillLeave, GuestWillMoveIndex, GuestWillMoveShape, GuestWillRemoveIndex, GuestWillRemoveKey, GuestWillRemoveShape, GuestWillSet, GuestWillTake, GuestWillUpdateIndex, GuestWillUpdateKey, GuestWillUpdateShape, GuestWillUplink, MapDownlinkRecord, ValueDownlinkRecord

public interface Preemptive
Function interface that callers can optionally invoke concurrently.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns true if callers can safely invoke this function object concurrently.
  • Method Details

    • isPreemptive

      default boolean isPreemptive()
      Returns true if callers can safely invoke this function object concurrently. Returns false if this function object is not thread safe. Returns false by default.