All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.up.verticle.ZERO Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.verticle;

import io.vertx.ext.web.Router;
import io.vertx.up.uca.rs.Axis;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

interface Info {

    String HTTP_SERVERS = "[ ZERO ] ( Http Server ) {0} (id = {1}) Agent has deployed HTTP Server on {2}.";

    String MAPPED_ROUTE = "[ ZERO ] ( Uri Register ) \"{1}\" has been deployed by {0}, Options = {2}.";

    String HTTP_LISTEN = "[ ZERO ] ( Http Server ) {0} Http Server has been started successfully. Endpoint: {1}.";

    String MICRO_REGISTRY_SEND = "[ ZERO ] ---> {2} ( Http Server ) {0} ( name = {1} ) " +
            "is sending data to internal address.";

    String IPC_REGISTRY_SEND = "[ ZERO ] ---> {2} ( Rpc Server ) {0} ( name = {1} ) " +
            "is sending data to internal address.";

    String MICRO_REGISTRY_CONSUME = "[ ZERO ] {2} <--- ( Micro Worker ) {0} ( name = {1} ) " +
            "getNull data from internal address.";

    String RPC_LISTEN = "[ ZERO ] ( Rpc Server ) Rpc Server has been started successfully. Channel: ---> grpc://{0}:{1}. ";

    String RPC_FAILURE = "[ ZERO ] ( Rpc Server ) Rpc Server met failure: details = {0}.";

    String ETCD_SUCCESS = "[ ZERO ] ( Etcd Center ) Zero system detected configuration {0}, begin to singleton Etcd Center.";

    String REG_SUCCESS = "[ ZERO ] ( Discovery ) Record : ( name = {2}, uri = {3} ) " +
            "key = {4}, id = {5}, status = {0}, type = {1} " +
            "has been refreshed in Zero system.";

    String REG_REFRESHED = "[ ZERO ] ( Discovery ) Records ( added = {0}, updated = {1}, deleted = {2} ) have been refreshed! ";

    String REG_FAILURE = "[ ZERO ] ( Discovery ) Action: {1}, Service Registration has met error: {0}.";

    String API_GATEWAY = "[ ZERO ] ( Api Gateway ) {0} (id = {1}) has deployed on {2}.";

    String API_LISTEN = "[ ZERO ] ( Api Gateway ) {0} has been started successfully. " +
            "Endpoint: {1}.";

    String MSG_INVOKER = "[ ZERO ] ( Invoker ) Zero system selected {0} as invoker," +
            "the metadata receipt hash code = {1}, invoker size = {2}.";

    String JOB_EMPTY = "[ Job ] Zero system detect no jobs, the scheduler will be stopped.";

    String JOB_CONFIG_NULL = "[ Job ] ( Ignore ) Because there is no definition in `vertx-job.yml`, Job container is stop....";

    String JOB_MONITOR = "[ Job ] Zero system detect {0} jobs, the scheduler will begin....";

    String JOB_AGHA_SELECTED = "[ Job: {1} ] Agha = {0} has been selected for job {1} of type {2}";
}

interface Pool {

    ConcurrentMap> ROUTERS = new ConcurrentHashMap<>();

    ConcurrentMap> EVENTS = new ConcurrentHashMap<>();

    ConcurrentMap> APIS = new ConcurrentHashMap<>();

    ConcurrentMap> WALLS = new ConcurrentHashMap<>();

    ConcurrentMap> FILTERS = new ConcurrentHashMap<>();

    ConcurrentMap> DYNAMICS = new ConcurrentHashMap<>();
}

interface Registry {

    String NAME = "name";

    String OPTIONS = "options";

    String URIS = "uris";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy