Class ZeroGrid

java.lang.Object
io.vertx.up.runtime.ZeroGrid

public class ZeroGrid extends Object
Resource ZeroPack for yml configuration, Loaded once
  • Field Details

  • Constructor Details

    • ZeroGrid

      public ZeroGrid()
  • Method Details

    • getVertxOptions

      public static ConcurrentMap<String,io.vertx.core.VertxOptions> getVertxOptions()
    • getServerOptions

      public static ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions> getServerOptions()
      HTTP Server information of standard in zero framework, it provide RESTful backend application running on Vert.x instance here. Most situations, we configured this part in real production environment.
    • getGatewayOptions

      public static ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions> getGatewayOptions()
      Api Gateway Server in micro service, this configuration is for micro-service api-gateway only instead of other kind of Server instances.
    • getSockOptions

      public static ConcurrentMap<Integer,io.vertx.core.SockOptions> getSockOptions()
    • getServerNames

      public static ConcurrentMap<Integer,String> getServerNames()
    • getRxOptions

      public static ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions> getRxOptions()
      「Reserved」 This configuration is for RxJava version of zero framework in future usage, it provide another way to developers for reactive development instead of Callback/Future mode here. You must involve another sub-project in zero framework to enable this structure
    • getRpcOptions

      public static ConcurrentMap<Integer,io.vertx.core.RpcOptions> getRpcOptions()
      RPC Server information for gRPC part here, when you run zero framework as micro environment, you can setup RPC Server in your environment and it's working as Mash Mode here, in this kind of situation the gRPC server could do following tasks such as: 1) Internal Long-Term working communication 2) Internal communication to be instead of HTTP / RESTful 3) Keep connection Alive always.
    • getClusterOption

      public static io.vertx.core.ClusterOptions getClusterOption()
    • getDeliveryOption

      public static io.vertx.core.eventbus.DeliveryOptions getDeliveryOption()