Package com.linkedin.venice.server
Class VeniceServerContext.Builder
- java.lang.Object
-
- com.linkedin.venice.server.VeniceServerContext.Builder
-
- Enclosing class:
- VeniceServerContext
public static class VeniceServerContext.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VeniceServerContext
build()
VeniceServerContext.Builder
setClientConfigForConsumer(ClientConfig clientConfigForConsumer)
VeniceServerContext.Builder
setIcProvider(ICProvider icProvider)
VeniceServerContext.Builder
setMetricsRepository(io.tehuti.metrics.MetricsRepository metricsRepository)
VeniceServerContext.Builder
setRouterAccessController(StaticAccessController routerAccessController)
VeniceServerContext.Builder
setServiceDiscoveryAnnouncers(java.util.List<ServiceDiscoveryAnnouncer> serviceDiscoveryAnnouncers)
VeniceServerContext.Builder
setSslFactory(SSLFactory sslFactory)
VeniceServerContext.Builder
setStoreAccessController(DynamicAccessController storeAccessController)
VeniceServerContext.Builder
setVeniceConfigLoader(VeniceConfigLoader veniceConfigLoader)
-
-
-
Method Detail
-
setVeniceConfigLoader
public VeniceServerContext.Builder setVeniceConfigLoader(VeniceConfigLoader veniceConfigLoader)
-
setMetricsRepository
public VeniceServerContext.Builder setMetricsRepository(io.tehuti.metrics.MetricsRepository metricsRepository)
-
setSslFactory
public VeniceServerContext.Builder setSslFactory(SSLFactory sslFactory)
-
setRouterAccessController
public VeniceServerContext.Builder setRouterAccessController(StaticAccessController routerAccessController)
-
setStoreAccessController
public VeniceServerContext.Builder setStoreAccessController(DynamicAccessController storeAccessController)
-
setClientConfigForConsumer
public VeniceServerContext.Builder setClientConfigForConsumer(ClientConfig clientConfigForConsumer)
-
setIcProvider
public VeniceServerContext.Builder setIcProvider(ICProvider icProvider)
-
setServiceDiscoveryAnnouncers
public VeniceServerContext.Builder setServiceDiscoveryAnnouncers(java.util.List<ServiceDiscoveryAnnouncer> serviceDiscoveryAnnouncers)
-
build
public VeniceServerContext build()
-
-