org.apache.storm.nimbus

## Class WorkerHeartbeatsRecoveryStrategyFactory

- java.lang.Object
- - org.apache.storm.nimbus.WorkerHeartbeatsRecoveryStrategyFactory

-     public class WorkerHeartbeatsRecoveryStrategyFactory
      extends Object

  Factory class for recovery strategy.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WorkerHeartbeatsRecoveryStrategyFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static IWorkerHeartbeatsRecoveryStrategy` | `getStrategy(Map<String,Object> conf)` Get instance of `IWorkerHeartbeatsRecoveryStrategy` with conf.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WorkerHeartbeatsRecoveryStrategyFactory

          public WorkerHeartbeatsRecoveryStrategyFactory()

  - ### Method Detail

    - #### getStrategy

          public static IWorkerHeartbeatsRecoveryStrategy getStrategy(Map<String,Object> conf)

      Get instance of `IWorkerHeartbeatsRecoveryStrategy` with conf.

      Parameters:
        `conf` - strategy config
      Returns:
        an instance of `IWorkerHeartbeatsRecoveryStrategy`

Copyright © 2021 The Apache Software Foundation. All rights reserved.