Class Worker


  • public class Worker
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Worker​(org.apache.pulsar.functions.worker.WorkerConfig workerConfig)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Integer> getListenPortHTTP()  
      java.util.Optional<java.lang.Integer> getListenPortHTTPS()  
      protected void start()  
      protected void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Worker

        public Worker​(org.apache.pulsar.functions.worker.WorkerConfig workerConfig)
    • Method Detail

      • start

        protected void start()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • stop

        protected void stop()
      • getListenPortHTTP

        public java.util.Optional<java.lang.Integer> getListenPortHTTP()
      • getListenPortHTTPS

        public java.util.Optional<java.lang.Integer> getListenPortHTTPS()