Class EventMeshGrpcServer
- java.lang.Object
-
- org.apache.eventmesh.runtime.boot.EventMeshGrpcServer
-
public class EventMeshGrpcServer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EventMeshGrpcServer(EventMeshGrpcConfiguration eventMeshGrpcConfiguration, Registry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.ThreadPoolExecutorgetClientMgmtExecutor()ConsumerManagergetConsumerManager()EventMeshGrpcConfigurationgetEventMeshGrpcConfiguration()GrpcRetryergetGrpcRetryer()org.apache.http.impl.client.CloseableHttpClientgetHttpClient()EventMeshGrpcMonitorgetMetricsMonitor()com.google.common.util.concurrent.RateLimitergetMsgRateLimiter()ProducerManagergetProducerManager()java.util.concurrent.ThreadPoolExecutorgetPushMsgExecutor()java.util.concurrent.ThreadPoolExecutorgetSendMsgExecutor()voidinit()booleanregister()voidshutdown()voidstart()
-
-
-
Constructor Detail
-
EventMeshGrpcServer
public EventMeshGrpcServer(EventMeshGrpcConfiguration eventMeshGrpcConfiguration, Registry registry)
-
-
Method Detail
-
init
public void init() throws java.lang.Exception- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
shutdown
public void shutdown() throws java.lang.Exception- Throws:
java.lang.Exception
-
register
public boolean register()
-
getEventMeshGrpcConfiguration
public EventMeshGrpcConfiguration getEventMeshGrpcConfiguration()
-
getProducerManager
public ProducerManager getProducerManager()
-
getConsumerManager
public ConsumerManager getConsumerManager()
-
getGrpcRetryer
public GrpcRetryer getGrpcRetryer()
-
getSendMsgExecutor
public java.util.concurrent.ThreadPoolExecutor getSendMsgExecutor()
-
getClientMgmtExecutor
public java.util.concurrent.ThreadPoolExecutor getClientMgmtExecutor()
-
getPushMsgExecutor
public java.util.concurrent.ThreadPoolExecutor getPushMsgExecutor()
-
getMsgRateLimiter
public com.google.common.util.concurrent.RateLimiter getMsgRateLimiter()
-
getHttpClient
public org.apache.http.impl.client.CloseableHttpClient getHttpClient()
-
getMetricsMonitor
public EventMeshGrpcMonitor getMetricsMonitor()
-
-