Interface Bootstrap.DeferredStatOptionsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getEnableDeferredCreationStats()
      When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getEnableDeferredCreationStats

        boolean getEnableDeferredCreationStats()
         When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
         This will save memory and CPU cycles when creating the objects that own these stats, if those
         stats are never referenced throughout the lifetime of the process. However, it will incur additional
         memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
         is updated for the first time.
         Groups of stats that will be lazily initialized:
         - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
         that are used when requests are routed to the cluster.
         
        bool enable_deferred_creation_stats = 1;
        Returns:
        The enableDeferredCreationStats.