Class MemcachedKeyValueConfiguration

java.lang.Object
org.eclipse.jnosql.databases.memcached.communication.MemcachedKeyValueConfiguration
All Implemented Interfaces:
Function<org.eclipse.jnosql.communication.Settings,org.eclipse.jnosql.communication.keyvalue.BucketManagerFactory>, org.eclipse.jnosql.communication.keyvalue.KeyValueConfiguration

public class MemcachedKeyValueConfiguration extends Object implements org.eclipse.jnosql.communication.keyvalue.KeyValueConfiguration
The memcached implementation of KeyValueConfiguration that returns MemcachedBucketManagerFactory.
See Also:
  • Field Summary

    Fields inherited from interface org.eclipse.jnosql.communication.keyvalue.KeyValueConfiguration

    CONFIGURATIONS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.jnosql.databases.memcached.communication.MemcachedBucketManagerFactory
    apply(org.eclipse.jnosql.communication.Settings settings)
     
    org.eclipse.jnosql.databases.memcached.communication.MemcachedBucketManagerFactory
    get(net.spy.memcached.MemcachedClient client)
    Creates a MemcachedBucketManagerFactory from a MemcachedClient

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

    • MemcachedKeyValueConfiguration

      public MemcachedKeyValueConfiguration()
  • Method Details

    • apply

      public org.eclipse.jnosql.databases.memcached.communication.MemcachedBucketManagerFactory apply(org.eclipse.jnosql.communication.Settings settings)
      Specified by:
      apply in interface Function<org.eclipse.jnosql.communication.Settings,org.eclipse.jnosql.communication.keyvalue.BucketManagerFactory>
    • get

      public org.eclipse.jnosql.databases.memcached.communication.MemcachedBucketManagerFactory get(net.spy.memcached.MemcachedClient client)
      Creates a MemcachedBucketManagerFactory from a MemcachedClient
      Parameters:
      client - the client
      Returns:
      a MemcachedBucketManagerFactory instance