Class AbstractWatchManager<T extends io.fabric8.kubernetes.api.model.HasMetadata>

    • Field Detail

      • client

        protected final io.fabric8.kubernetes.client.http.HttpClient client
      • baseOperation

        protected BaseOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,​?,​?> baseOperation
    • Method Detail

      • closeRequest

        public void closeRequest()
        Attempt to gracefully close the current request.

        If forceClosed has not been set, then it's expected that the watch will attempt to reconnect

      • setWatchEndCheckMs

        public void setWatchEndCheckMs​(int watchEndCheckMs)
      • closeCurrentRequest

        protected abstract void closeCurrentRequest()
      • startWatch

        protected void startWatch()
        Async start of the watch
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface io.fabric8.kubernetes.client.Watch
      • isWatching

        public boolean isWatching()