Package org.hertsstack.rpc
Class ServerBuildInfo
- java.lang.Object
-
- org.hertsstack.rpc.ServerBuildInfo
-
public class ServerBuildInfo extends java.lang.Object
Herts build info
-
-
Constructor Summary
Constructors Constructor Description ServerBuildInfo(java.util.Map<io.grpc.BindableService,io.grpc.ServerInterceptor> services, java.util.List<org.hertsstack.core.context.HertsType> hertsTypes, GrpcServerOption option, io.grpc.ServerCredentials credentials, org.hertsstack.metrics.HertsMetricsServer hertsMetricsServer, org.hertsstack.rpc.HertsRpcServerShutdownHook hook)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerCredentials
getCredentials()
org.hertsstack.metrics.HertsMetricsServer
getHertsMetricsServer()
java.util.List<org.hertsstack.core.context.HertsType>
getHertsTypes()
org.hertsstack.rpc.HertsRpcServerShutdownHook
getHook()
GrpcServerOption
getOption()
java.util.Map<io.grpc.BindableService,io.grpc.ServerInterceptor>
getServices()
void
setCredentials(io.grpc.ServerCredentials credentials)
void
setHertsMetricsServer(org.hertsstack.metrics.HertsMetricsServer hertsMetricsServer)
void
setHertsTypes(java.util.List<org.hertsstack.core.context.HertsType> hertsTypes)
void
setHook(org.hertsstack.rpc.HertsRpcServerShutdownHook hook)
void
setOption(GrpcServerOption option)
void
setServices(java.util.Map<io.grpc.BindableService,io.grpc.ServerInterceptor> services)
-
-
-
Constructor Detail
-
ServerBuildInfo
public ServerBuildInfo(java.util.Map<io.grpc.BindableService,io.grpc.ServerInterceptor> services, java.util.List<org.hertsstack.core.context.HertsType> hertsTypes, GrpcServerOption option, io.grpc.ServerCredentials credentials, org.hertsstack.metrics.HertsMetricsServer hertsMetricsServer, org.hertsstack.rpc.HertsRpcServerShutdownHook hook)
-
-
Method Detail
-
getServices
public java.util.Map<io.grpc.BindableService,io.grpc.ServerInterceptor> getServices()
-
setServices
public void setServices(java.util.Map<io.grpc.BindableService,io.grpc.ServerInterceptor> services)
-
getHertsTypes
public java.util.List<org.hertsstack.core.context.HertsType> getHertsTypes()
-
setHertsTypes
public void setHertsTypes(java.util.List<org.hertsstack.core.context.HertsType> hertsTypes)
-
getOption
public GrpcServerOption getOption()
-
setOption
public void setOption(GrpcServerOption option)
-
getCredentials
public io.grpc.ServerCredentials getCredentials()
-
setCredentials
public void setCredentials(io.grpc.ServerCredentials credentials)
-
getHertsMetricsServer
public org.hertsstack.metrics.HertsMetricsServer getHertsMetricsServer()
-
setHertsMetricsServer
public void setHertsMetricsServer(org.hertsstack.metrics.HertsMetricsServer hertsMetricsServer)
-
getHook
public org.hertsstack.rpc.HertsRpcServerShutdownHook getHook()
-
setHook
public void setHook(org.hertsstack.rpc.HertsRpcServerShutdownHook hook)
-
-