public class DefaultPlatformManagerFactory extends java.lang.Object implements PlatformManagerFactory
| Constructor and Description |
|---|
DefaultPlatformManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
PlatformManager |
createPlatformManager()
Create a non clustered platform manager
|
PlatformManager |
createPlatformManager(int clusterPort,
java.lang.String clusterHost)
Create a clustered platform manager
|
PlatformManager |
createPlatformManager(int clusterPort,
java.lang.String clusterHost,
int quorumSize,
java.lang.String haGroup)
Create a clustered platform manager with HA enabled
|
public PlatformManager createPlatformManager()
PlatformManagerFactorycreatePlatformManager in interface PlatformManagerFactorypublic PlatformManager createPlatformManager(int clusterPort, java.lang.String clusterHost)
PlatformManagerFactorycreatePlatformManager in interface PlatformManagerFactoryclusterPort - The cluster port to listen onclusterHost - The cluster host to listen onpublic PlatformManager createPlatformManager(int clusterPort, java.lang.String clusterHost, int quorumSize, java.lang.String haGroup)
PlatformManagerFactorycreatePlatformManager in interface PlatformManagerFactoryclusterPort - The cluster port to listen onclusterHost - The cluster host to listen onquorumSize - The minimum number of nodes in the cluster before deployments will be activatedhaGroup - The HA group this Vert.x instance participates in. If null defaults to __DEFAULT__