Package org.hertsstack.rpc
Class ServerBuildInfo
- java.lang.Object
-
- org.hertsstack.rpc.ServerBuildInfo
-
public class ServerBuildInfo extends java.lang.ObjectHerts 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.ServerCredentialsgetCredentials()org.hertsstack.metrics.HertsMetricsServergetHertsMetricsServer()java.util.List<org.hertsstack.core.context.HertsType>getHertsTypes()org.hertsstack.rpc.HertsRpcServerShutdownHookgetHook()GrpcServerOptiongetOption()java.util.Map<io.grpc.BindableService,io.grpc.ServerInterceptor>getServices()voidsetCredentials(io.grpc.ServerCredentials credentials)voidsetHertsMetricsServer(org.hertsstack.metrics.HertsMetricsServer hertsMetricsServer)voidsetHertsTypes(java.util.List<org.hertsstack.core.context.HertsType> hertsTypes)voidsetHook(org.hertsstack.rpc.HertsRpcServerShutdownHook hook)voidsetOption(GrpcServerOption option)voidsetServices(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)
-
-