public interface IWorkerHook extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
shutdown()
This method is called right before a worker shuts down.
|
void |
start(Map<String,Object> topoConf,
WorkerTopologyContext context)
This method is called when a worker is started.
|
void start(Map<String,Object> topoConf, WorkerTopologyContext context)
topoConf
- The Storm configuration for this workercontext
- This object can be used to get information about this worker's place within the topologyvoid shutdown()
Copyright © 2023 The Apache Software Foundation. All rights reserved.