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

    Modifier and Type
    Method
    Description
    The filename to read the keys and values from, and write the keys and values to.
    com.google.protobuf.ByteString
    The filename to read the keys and values from, and write the keys and values to.
    com.google.protobuf.Duration
    The interval at which the key value store should be flushed to the file.
    com.google.protobuf.DurationOrBuilder
    The interval at which the key value store should be flushed to the file.
    com.google.protobuf.UInt32Value
    The maximum number of entries to cache, or 0 to allow for unlimited entries.
    com.google.protobuf.UInt32ValueOrBuilder
    The maximum number of entries to cache, or 0 to allow for unlimited entries.
    boolean
    The interval at which the key value store should be flushed to the file.
    boolean
    The maximum number of entries to cache, or 0 to allow for unlimited entries.

    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 Details

    • 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;