Class FixedBackoffResourceStatePolicyFactory

  • All Implemented Interfaces:
    com.github.ambry.clustermap.ResourceStatePolicyFactory

    public class FixedBackoffResourceStatePolicyFactory
    extends java.lang.Object
    implements com.github.ambry.clustermap.ResourceStatePolicyFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      FixedBackoffResourceStatePolicyFactory​(com.github.ambry.clustermap.Resource resource, com.github.ambry.clustermap.HardwareState initialState, com.github.ambry.config.ClusterMapConfig clusterMapConfig)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.github.ambry.clustermap.ResourceStatePolicy getResourceStatePolicy()  
      • Methods inherited from class java.lang.Object

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

      • FixedBackoffResourceStatePolicyFactory

        public FixedBackoffResourceStatePolicyFactory​(com.github.ambry.clustermap.Resource resource,
                                                      com.github.ambry.clustermap.HardwareState initialState,
                                                      com.github.ambry.config.ClusterMapConfig clusterMapConfig)
                                               throws java.lang.InstantiationError
        Throws:
        java.lang.InstantiationError
    • Method Detail

      • getResourceStatePolicy

        public com.github.ambry.clustermap.ResourceStatePolicy getResourceStatePolicy()
        Specified by:
        getResourceStatePolicy in interface com.github.ambry.clustermap.ResourceStatePolicyFactory