Class ServiceConfig.Memcached

java.lang.Object
org.apache.opendal.ServiceConfig.Memcached
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Memcached extends Object implements ServiceConfig
Configuration for service memcached.
  • Field Details

    • endpoint

      public final String endpoint

      network address of the memcached service.

      For example: "tcp://localhost:11211"

    • root

      public final String root

      the working directory of the service. Can be "/path/to/dir"

      default is "/"

    • username

      public final String username

      Memcached username, optional.

    • password

      public final String password

      Memcached password, optional.

    • defaultTtl

      public final Duration defaultTtl

      The default ttl for put operations.

  • Constructor Details

    • Memcached

      public Memcached()
  • Method Details