Interface AlternateProtocolsCacheOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlternateProtocolsCacheOptions,AlternateProtocolsCacheOptions.Builder
public interface AlternateProtocolsCacheOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypedExtensionConfiggetKeyValueStoreConfig()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.TypedExtensionConfigOrBuildergetKeyValueStoreConfigOrBuilder()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.com.google.protobuf.UInt32ValuegetMaxEntries()The maximum number of entries that the cache will hold.com.google.protobuf.UInt32ValueOrBuildergetMaxEntriesOrBuilder()The maximum number of entries that the cache will hold.StringgetName()The name of the cache.com.google.protobuf.ByteStringgetNameBytes()The name of the cache.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntrygetPrepopulatedEntries(int index)Allows pre-populating the cache with entries, as described above.intgetPrepopulatedEntriesCount()Allows pre-populating the cache with entries, as described above.List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry>getPrepopulatedEntriesList()Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuildergetPrepopulatedEntriesOrBuilder(int index)Allows pre-populating the cache with entries, as described above.List<? extends AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder>getPrepopulatedEntriesOrBuilderList()Allows pre-populating the cache with entries, as described above.booleanhasKeyValueStoreConfig()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.booleanhasMaxEntries()The maximum number of entries that the cache will hold.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getPrepopulatedEntriesList
List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry> getPrepopulatedEntriesList()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
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;
-
getPrepopulatedEntriesOrBuilderList
List<? extends AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder> getPrepopulatedEntriesOrBuilderList()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
getPrepopulatedEntriesOrBuilder
AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder getPrepopulatedEntriesOrBuilder(int index)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
-