Interface FileBasedKeyValueStoreConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FileBasedKeyValueStoreConfig,FileBasedKeyValueStoreConfig.Builder
public interface FileBasedKeyValueStoreConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFilename()The filename to read the keys and values from, and write the keys and values to.com.google.protobuf.ByteStringgetFilenameBytes()The filename to read the keys and values from, and write the keys and values to.com.google.protobuf.DurationgetFlushInterval()The interval at which the key value store should be flushed to the file.com.google.protobuf.DurationOrBuildergetFlushIntervalOrBuilder()The interval at which the key value store should be flushed to the file.com.google.protobuf.UInt32ValuegetMaxEntries()The maximum number of entries to cache, or 0 to allow for unlimited entries.com.google.protobuf.UInt32ValueOrBuildergetMaxEntriesOrBuilder()The maximum number of entries to cache, or 0 to allow for unlimited entries.booleanhasFlushInterval()The interval at which the key value store should be flushed to the file.booleanhasMaxEntries()The maximum number of entries to cache, or 0 to allow for unlimited entries.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFilename
String getFilename()
The filename to read the keys and values from, and write the keys and values to.
string filename = 1 [(.validate.rules) = { ... }- Returns:
- The filename.
-
getFilenameBytes
com.google.protobuf.ByteString getFilenameBytes()
The filename to read the keys and values from, and write the keys and values to.
string filename = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for filename.
-
hasFlushInterval
boolean hasFlushInterval()
The interval at which the key value store should be flushed to the file.
.google.protobuf.Duration flush_interval = 2;- Returns:
- Whether the flushInterval field is set.
-
getFlushInterval
com.google.protobuf.Duration getFlushInterval()
The interval at which the key value store should be flushed to the file.
.google.protobuf.Duration flush_interval = 2;- Returns:
- The flushInterval.
-
getFlushIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getFlushIntervalOrBuilder()
The interval at which the key value store should be flushed to the file.
.google.protobuf.Duration flush_interval = 2;
-
hasMaxEntries
boolean hasMaxEntries()
The maximum number of entries to cache, or 0 to allow for unlimited entries. Defaults to 1000 if not present.
.google.protobuf.UInt32Value max_entries = 3;- Returns:
- Whether the maxEntries field is set.
-
getMaxEntries
com.google.protobuf.UInt32Value getMaxEntries()
The maximum number of entries to cache, or 0 to allow for unlimited entries. Defaults to 1000 if not present.
.google.protobuf.UInt32Value max_entries = 3;- Returns:
- The maxEntries.
-
getMaxEntriesOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getMaxEntriesOrBuilder()
The maximum number of entries to cache, or 0 to allow for unlimited entries. Defaults to 1000 if not present.
.google.protobuf.UInt32Value max_entries = 3;
-
-