Class VeniceConstants


  • public class VeniceConstants
    extends java.lang.Object
    • Field Detail

      • VENICE_COMPUTATION_ERROR_MAP_FIELD_NAME

        public static final java.lang.String VENICE_COMPUTATION_ERROR_MAP_FIELD_NAME
        The following field is used to construct result schema for compute API.
        See Also:
        Constant Field Values
      • SYSTEM_STORE_OWNER

        public static final java.lang.String SYSTEM_STORE_OWNER
        Used as the owner property of system stores which are internal to Venice.
        See Also:
        Constant Field Values
      • DEFAULT_PER_ROUTER_READ_QUOTA

        public static final int DEFAULT_PER_ROUTER_READ_QUOTA
        Default per router max read quota; notice that this value is used in controller; the actual per router max read quota is defined as a router config "max.read.capacity". TODO: Support common configs among different components, so that we can define the config value once and used everywhere.
        See Also:
        Constant Field Values
      • COMPUTE_REQUEST_VERSION_V2

        public static final int COMPUTE_REQUEST_VERSION_V2
        Compute request version 2.
        See Also:
        Constant Field Values
      • COMPUTE_REQUEST_VERSION_V3

        public static final int COMPUTE_REQUEST_VERSION_V3
        V3 contains all V2 operator + new Count operator
        See Also:
        Constant Field Values
      • COMPUTE_REQUEST_VERSION_V4

        public static final int COMPUTE_REQUEST_VERSION_V4
        V4 contains all V3 operators + executeWithFilter
        See Also:
        Constant Field Values
      • DEFAULT_SSL_FACTORY_CLASS_NAME

        public static final java.lang.String DEFAULT_SSL_FACTORY_CLASS_NAME
        The default SSL factory class name; this class is mostly used in test cases; products that uses Venice lib should override the SSL factory class.
        See Also:
        Constant Field Values
      • CONTROLLER_SSL_CERTIFICATE_ATTRIBUTE_NAME

        public static final java.lang.String CONTROLLER_SSL_CERTIFICATE_ATTRIBUTE_NAME
        In a HttpServletRequest, we can get the client certificate by retrieving the following attribute.
        See Also:
        Constant Field Values
      • TYPE_PUSH_STATUS

        public static final java.lang.String TYPE_PUSH_STATUS
        Beginning of router request path; it would used by router and client modules
        See Also:
        Constant Field Values
      • TYPE_STREAM_HYBRID_STORE_QUOTA

        public static final java.lang.String TYPE_STREAM_HYBRID_STORE_QUOTA
        See Also:
        Constant Field Values
      • TYPE_STREAM_REPROCESSING_HYBRID_STORE_QUOTA

        public static final java.lang.String TYPE_STREAM_REPROCESSING_HYBRID_STORE_QUOTA
        See Also:
        Constant Field Values
      • TYPE_STORE_STATE

        public static final java.lang.String TYPE_STORE_STATE
        See Also:
        Constant Field Values
      • NATIVE_REPLICATION_DEFAULT_SOURCE_FABRIC

        public static final java.lang.String NATIVE_REPLICATION_DEFAULT_SOURCE_FABRIC
        See Also:
        Constant Field Values
      • ENVIRONMENT_CONFIG_KEY_FOR_REGION_NAME

        public static final java.lang.String ENVIRONMENT_CONFIG_KEY_FOR_REGION_NAME
        See Also:
        Constant Field Values
      • SYSTEM_PROPERTY_FOR_APP_RUNNING_REGION

        public static final java.lang.String SYSTEM_PROPERTY_FOR_APP_RUNNING_REGION
        See Also:
        Constant Field Values
      • REWIND_TIME_DECIDED_BY_SERVER

        public static final java.lang.Long REWIND_TIME_DECIDED_BY_SERVER
        This is a sentinel value to be used in TopicSwitch message rewindStartTimestamp field between controller and server. When controller specifies this, Leader server nodes will calculate the rewind start time itself.
    • Constructor Detail

      • VeniceConstants

        public VeniceConstants()