Class WorkerReadinessResource
java.lang.Object
org.apache.pulsar.functions.worker.rest.WorkerReadinessResource
- All Implemented Interfaces:
Supplier<WorkerService>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected javax.servlet.http.HttpServletRequestprotected javax.servlet.ServletContext -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ATTRIBUTE_WORKER_SERVICE
- See Also:
-
servletContext
@Context protected javax.servlet.ServletContext servletContext -
httpRequest
@Context protected javax.servlet.http.HttpServletRequest httpRequest
-
-
Constructor Details
-
WorkerReadinessResource
public WorkerReadinessResource()
-
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<WorkerService>
-
isInitialized
@GET @Path("/initialized") public boolean isInitialized()
-