## Uses of Class
org.apache.hadoop.yarn.server.federation.policies.FederationPolicyInitializationContext

- Packages that use FederationPolicyInitializationContext
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.server.federation.policies | Federation Policies.
  org.apache.hadoop.yarn.server.federation.policies.amrmproxy | AMRMPRoxy policies.
  org.apache.hadoop.yarn.server.federation.policies.manager | Various implementation of FederationPolicyManager.
  org.apache.hadoop.yarn.server.federation.policies.router | Router policies.

- - ### Uses of FederationPolicyInitializationContext in org.apache.hadoop.yarn.server.federation.policies

    Methods in org.apache.hadoop.yarn.server.federation.policies that return FederationPolicyInitializationContext
    Modifier and Type | Method and Description
    --- | ---
    `FederationPolicyInitializationContext` | AbstractConfigurableFederationPolicy.`getPolicyContext()` Getter method for the `FederationPolicyInitializationContext`.

    Methods in org.apache.hadoop.yarn.server.federation.policies with parameters of type FederationPolicyInitializationContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractConfigurableFederationPolicy.`reinitialize(FederationPolicyInitializationContext initializationContext)`
    `void` | ConfigurableFederationPolicy.`reinitialize(FederationPolicyInitializationContext policyContext)` This method is invoked to initialize of update the configuration of policies.
    `void` | AbstractConfigurableFederationPolicy.`setPolicyContext(FederationPolicyInitializationContext policyContext)` Setter method for the `FederationPolicyInitializationContext`.
    `static void` | FederationPolicyInitializationContextValidator.`validate(FederationPolicyInitializationContext policyContext, String myType)`

  - ### Uses of FederationPolicyInitializationContext in org.apache.hadoop.yarn.server.federation.policies.amrmproxy

    Methods in org.apache.hadoop.yarn.server.federation.policies.amrmproxy with parameters of type FederationPolicyInitializationContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | BroadcastAMRMProxyPolicy.`reinitialize(FederationPolicyInitializationContext policyContext)`
    `void` | HomeAMRMProxyPolicy.`reinitialize(FederationPolicyInitializationContext policyContext)`
    `void` | RejectAMRMProxyPolicy.`reinitialize(FederationPolicyInitializationContext policyContext)`
    `void` | LocalityMulticastAMRMProxyPolicy.`reinitialize(FederationPolicyInitializationContext policyContext)`

  - ### Uses of FederationPolicyInitializationContext in org.apache.hadoop.yarn.server.federation.policies.manager

    Methods in org.apache.hadoop.yarn.server.federation.policies.manager with parameters of type FederationPolicyInitializationContext
    Modifier and Type | Method and Description
    --- | ---
    `FederationAMRMProxyPolicy` | FederationPolicyManager.`getAMRMPolicy(FederationPolicyInitializationContext policyContext, FederationAMRMProxyPolicy oldInstance)` If the current instance is compatible, this method returns the same instance of `FederationAMRMProxyPolicy` reinitialized with the current context, otherwise a new instance initialized with the current context is provided.
    `FederationAMRMProxyPolicy` | AbstractPolicyManager.`getAMRMPolicy(FederationPolicyInitializationContext federationPolicyContext, FederationAMRMProxyPolicy oldInstance)` This default implementation validates the `FederationPolicyInitializationContext`, then checks whether it needs to reinstantiate the class (null or mismatching type), and reinitialize the policy.
    `FederationRouterPolicy` | FederationPolicyManager.`getRouterPolicy(FederationPolicyInitializationContext policyContext, FederationRouterPolicy oldInstance)` If the current instance is compatible, this method returns the same instance of `FederationRouterPolicy` reinitialized with the current context, otherwise a new instance initialized with the current context is provided.
    `FederationRouterPolicy` | AbstractPolicyManager.`getRouterPolicy(FederationPolicyInitializationContext federationPolicyContext, FederationRouterPolicy oldInstance)` This default implementation validates the `FederationPolicyInitializationContext`, then checks whether it needs to reinstantiate the class (null or mismatching type), and reinitialize the policy.

  - ### Uses of FederationPolicyInitializationContext in org.apache.hadoop.yarn.server.federation.policies.router

    Methods in org.apache.hadoop.yarn.server.federation.policies.router with parameters of type FederationPolicyInitializationContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | RejectRouterPolicy.`reinitialize(FederationPolicyInitializationContext federationPolicyContext)`
    `void` | LoadBasedRouterPolicy.`reinitialize(FederationPolicyInitializationContext policyContext)`
    `void` | HashBasedRouterPolicy.`reinitialize(FederationPolicyInitializationContext federationPolicyContext)`
    `void` | UniformRandomRouterPolicy.`reinitialize(FederationPolicyInitializationContext policyContext)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.