org.wildfly.swarm.config.singleton

## Class SingletonPolicy.SingletonPolicyResources

- java.lang.Object
- - org.wildfly.swarm.config.singleton.SingletonPolicy.SingletonPolicyResources

- Enclosing class:
    SingletonPolicy<T extends SingletonPolicy<T>>

      public static class SingletonPolicy.SingletonPolicyResources
      extends Object

  Child mutators for SingletonPolicy

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SingletonPolicyResources()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RandomElectionPolicy` | `randomElectionPolicy()` A random election policy
    `SimpleElectionPolicy` | `simpleElectionPolicy()` A simple election policy

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

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

- - ### Constructor Detail

    - #### SingletonPolicyResources

          public SingletonPolicyResources()

  - ### Method Detail

    - #### randomElectionPolicy

          public RandomElectionPolicy randomElectionPolicy()

      A random election policy

    - #### simpleElectionPolicy

          public SimpleElectionPolicy simpleElectionPolicy()

      A simple election policy

Copyright © 2018 JBoss by Red Hat. All rights reserved.