public static class SingletonPolicy.SingletonPolicyResources extends Object
Constructor and Description |
---|
SingletonPolicyResources() |
Modifier and Type | Method and Description |
---|---|
Deployment |
deployment(String key) |
List<Deployment> |
deployments()
Get the list of Deployment resources
|
RandomElectionPolicy |
randomElectionPolicy()
A random election policy
|
Service |
service(String key) |
List<Service> |
services()
Get the list of Service resources
|
SimpleElectionPolicy |
simpleElectionPolicy()
A simple election policy
|
public List<Service> services()
public List<Deployment> deployments()
public Deployment deployment(String key)
public RandomElectionPolicy randomElectionPolicy()
public SimpleElectionPolicy simpleElectionPolicy()
Copyright © 2019 JBoss by Red Hat. All rights reserved.