Class NuxeoStandbyFilter.Controller

    • Field Detail

      • lock

        protected final Lock lock
      • canStandby

        protected final Condition canStandby
      • canProceed

        protected final Condition canProceed
      • isStandby

        protected volatile boolean isStandby
      • hasBeenFiltered

        protected final ThreadLocal<Boolean> hasBeenFiltered
        This variable is used to determine if the Thread wanting to shutdown/standby the server has gone through this filter. We need this variable in order to not wait for ourself to end.

        Calls relying on this variable:

        • org.nuxeo.runtime.reload.NuxeoRestart#restart()
        • org.nuxeo.ecm.admin.operation.HotReloadStudioSnapshot#run()
        • org.nuxeo.connect.client.jsf.AppCenterViewsManager#installStudioSnapshotAndRedirect()
    • Constructor Detail

      • Controller

        protected Controller()
    • Method Detail

      • onNewRequest

        public void onNewRequest()
      • onRequestEnd

        public void onRequestEnd()
      • onResumed

        public void onResumed()
      • signalBlockedToProceed

        protected void signalBlockedToProceed()
      • signalBlockedToStandby

        protected void signalBlockedToStandby()