Interface FileBasedKeyValueStoreConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFilename()
      The filename to read the keys and values from, and write the keys and values to.
      com.google.protobuf.ByteString getFilenameBytes()
      The filename to read the keys and values from, and write the keys and values to.
      com.google.protobuf.Duration getFlushInterval()
      The interval at which the key value store should be flushed to the file.
      com.google.protobuf.DurationOrBuilder getFlushIntervalOrBuilder()
      The interval at which the key value store should be flushed to the file.
      com.google.protobuf.UInt32Value getMaxEntries()
      The maximum number of entries to cache, or 0 to allow for unlimited entries.
      com.google.protobuf.UInt32ValueOrBuilder getMaxEntriesOrBuilder()
      The maximum number of entries to cache, or 0 to allow for unlimited entries.
      boolean hasFlushInterval()
      The interval at which the key value store should be flushed to the file.
      boolean hasMaxEntries()
      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 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;