public abstract class SingletonServiceImpl extends Object implements io.vertx.core.spi.cluster.NodeListener, SingletonService
| Constructor and Description |
|---|
SingletonServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.spi.cluster.ClusterManager |
getClusterManager() |
org.apache.logging.log4j.Logger |
getLog() |
String |
getServiceMapName() |
String |
getServiceName() |
io.vertx.reactivex.core.Vertx |
getVertx() |
boolean |
isEnable() |
void |
nodeAdded(String pNodeID) |
void |
nodeLeft(String pNodeID) |
void |
setClusterManager(io.vertx.core.spi.cluster.ClusterManager pClusterManager) |
void |
setEnable(boolean pEnable) |
void |
setLog(org.apache.logging.log4j.Logger pLog) |
void |
setServiceMapName(String pServiceMapName) |
void |
setServiceName(String pServiceName) |
void |
setVertx(io.vertx.reactivex.core.Vertx pVertx) |
void |
start() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartServicepublic void start()
public void nodeAdded(String pNodeID)
nodeAdded in interface io.vertx.core.spi.cluster.NodeListenerpublic void nodeLeft(String pNodeID)
nodeLeft in interface io.vertx.core.spi.cluster.NodeListenerpublic io.vertx.reactivex.core.Vertx getVertx()
public void setVertx(io.vertx.reactivex.core.Vertx pVertx)
public String getServiceMapName()
public void setServiceMapName(String pServiceMapName)
public String getServiceName()
public void setServiceName(String pServiceName)
public io.vertx.core.spi.cluster.ClusterManager getClusterManager()
public void setClusterManager(io.vertx.core.spi.cluster.ClusterManager pClusterManager)
public org.apache.logging.log4j.Logger getLog()
public void setLog(org.apache.logging.log4j.Logger pLog)
public boolean isEnable()
public void setEnable(boolean pEnable)
Copyright © 2018. All rights reserved.