Class DelayedInitBroadcaster

java.lang.Object
org.atmosphere.cpr.DefaultBroadcaster
com.vaadin.quarkus.graal.DelayedInitBroadcaster
All Implemented Interfaces:
org.atmosphere.cpr.Broadcaster

public class DelayedInitBroadcaster extends org.atmosphere.cpr.DefaultBroadcaster
A broadcaster implementation that postpone schedulers initialization.

Usually initialization is performed during Atmosphere init() call, but this prevents a native build to complete because starting threads at build time is not supported. Postponed initialization is activated by a call to startExecutors(AtmosphereFramework).
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.atmosphere.cpr.DefaultBroadcaster

    org.atmosphere.cpr.DefaultBroadcaster.AsyncWriteToken, org.atmosphere.cpr.DefaultBroadcaster.WriteQueue

    Nested classes/interfaces inherited from interface org.atmosphere.cpr.Broadcaster

    org.atmosphere.cpr.Broadcaster.POLICY, org.atmosphere.cpr.Broadcaster.SCOPE
  • Field Summary

    Fields inherited from class org.atmosphere.cpr.DefaultBroadcaster

    asyncWriteFuture, bc, broadcasterListeners, broadcastOnResume, CACHED, candidateForPoolable, config, delayedBroadcast, destroyed, dispatchThread, initialized, lifeCycleListeners, messages, name, notifierFuture, POLLING_DEFAULT, resources, scope, sharedListeners, started, uniqueWriteQueue, uri, usingTokenIdForAttribute, waitTime, writeQueues, writeTimeoutInSecond

    Fields inherited from interface org.atmosphere.cpr.Broadcaster

    ROOT_MASTER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.atmosphere.cpr.BroadcasterConfig
    createBroadcasterConfig(org.atmosphere.cpr.AtmosphereConfig config)
     
    protected void
     
    protected void
     

    Methods inherited from class org.atmosphere.cpr.DefaultBroadcaster

    addAtmosphereResource, addBroadcasterLifeCyclePolicyListener, addBroadcasterListener, awaitAndBroadcast, broadcast, broadcast, broadcast, broadcasterListeners, broadcastOnResume, broadcastOnResume, cacheAndSuspend, cacheLostMessage, cacheLostMessage, cacheLostMessage, cacheMessageOnIOException, checkCachedAndPush, currentLifecycleTask, currentLifecycleTask, delayBroadcast, delayBroadcast, deliverPush, destroy, dispatchMessages, endBroadcast, entryDone, executeAsyncWrite, executeBlockingWrite, filter, futureDone, getAsyncWriteHandler, getAtmosphereResources, getBroadcasterConfig, getBroadcasterLifeCyclePolicy, getBroadcastHandler, getID, getScope, initialize, initialize, invokeOnStateChange, isDestroyed, killReactiveThreads, lifecycleHandler, lifecycleHandler, lifeCycleListeners, lifeCyclePolicy, messages, notifyAndAdd, notifyBroadcastListener, notifyOnAddAtmosphereResourceListener, notifyOnMessage, notifyOnRemoveAtmosphereResourceListener, onException, onException, outOfOrderBroadcastSupported, perRequestFilter, policy, prepareInvokeOnStateChange, push, queueWriteIO, reactiveThreadsCount, recentActivity, releaseExternalResources, removeAtmosphereResource, removeAtmosphereResource, removeBroadcasterLifeCyclePolicyListener, removeBroadcasterListener, rename, resumeAll, retrieveTrackedBroadcast, scheduleFixedBroadcast, scheduleFixedBroadcast, setBroadcasterConfig, setBroadcasterLifeCyclePolicy, setID, setScope, setSuspendPolicy, toString, writeQueues

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DelayedInitBroadcaster

      public DelayedInitBroadcaster()
  • Method Details

    • createBroadcasterConfig

      protected org.atmosphere.cpr.BroadcasterConfig createBroadcasterConfig(org.atmosphere.cpr.AtmosphereConfig config)
      Overrides:
      createBroadcasterConfig in class org.atmosphere.cpr.DefaultBroadcaster
    • spawnReactor

      protected void spawnReactor()
      Overrides:
      spawnReactor in class org.atmosphere.cpr.DefaultBroadcaster
    • start

      protected void start()
      Overrides:
      start in class org.atmosphere.cpr.DefaultBroadcaster