Interface AlternateProtocolsCacheOptionsOrBuilder

    • Method Detail

      • getName

        String getName()
         The name of the cache. Multiple named caches allow independent alternate protocols cache
         configurations to operate within a single Envoy process using different configurations. All
         alternate protocols cache options with the same name *must* be equal in all fields when
         referenced from different configuration components. Configuration will fail to load if this is
         not the case.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the cache. Multiple named caches allow independent alternate protocols cache
         configurations to operate within a single Envoy process using different configurations. All
         alternate protocols cache options with the same name *must* be equal in all fields when
         referenced from different configuration components. Configuration will fail to load if this is
         not the case.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        The bytes for name.
      • hasMaxEntries

        boolean hasMaxEntries()
         The maximum number of entries that the cache will hold. If not specified defaults to 1024.
         .. note:
           The implementation is approximate and enforced independently on each worker thread, thus
           it is possible for the maximum entries in the cache to go slightly above the configured
           value depending on timing. This is similar to how other circuit breakers work.
         
        .google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the maxEntries field is set.
      • getMaxEntries

        com.google.protobuf.UInt32Value getMaxEntries()
         The maximum number of entries that the cache will hold. If not specified defaults to 1024.
         .. note:
           The implementation is approximate and enforced independently on each worker thread, thus
           it is possible for the maximum entries in the cache to go slightly above the configured
           value depending on timing. This is similar to how other circuit breakers work.
         
        .google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
        Returns:
        The maxEntries.
      • getMaxEntriesOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getMaxEntriesOrBuilder()
         The maximum number of entries that the cache will hold. If not specified defaults to 1024.
         .. note:
           The implementation is approximate and enforced independently on each worker thread, thus
           it is possible for the maximum entries in the cache to go slightly above the configured
           value depending on timing. This is similar to how other circuit breakers work.
         
        .google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
      • hasKeyValueStoreConfig

        boolean hasKeyValueStoreConfig()
         Allows configuring a persistent
         :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush
         alternate protocols entries to disk.
         This function is currently only supported if concurrency is 1
         Cached entries will take precedence over pre-populated entries below.
         
        .envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
        Returns:
        Whether the keyValueStoreConfig field is set.
      • getKeyValueStoreConfig

        TypedExtensionConfig getKeyValueStoreConfig()
         Allows configuring a persistent
         :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush
         alternate protocols entries to disk.
         This function is currently only supported if concurrency is 1
         Cached entries will take precedence over pre-populated entries below.
         
        .envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
        Returns:
        The keyValueStoreConfig.
      • getKeyValueStoreConfigOrBuilder

        TypedExtensionConfigOrBuilder getKeyValueStoreConfigOrBuilder()
         Allows configuring a persistent
         :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush
         alternate protocols entries to disk.
         This function is currently only supported if concurrency is 1
         Cached entries will take precedence over pre-populated entries below.
         
        .envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
      • getPrepopulatedEntries

        AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry getPrepopulatedEntries​(int index)
         Allows pre-populating the cache with entries, as described above.
         
        repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
      • getPrepopulatedEntriesCount

        int getPrepopulatedEntriesCount()
         Allows pre-populating the cache with entries, as described above.
         
        repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;