Class BaseMemcachedClientNodeFactory

java.lang.Object
io.datarouter.client.memcached.client.BaseMemcachedClientNodeFactory
All Implemented Interfaces:
io.datarouter.storage.client.ClientNodeFactory, io.datarouter.storage.client.imp.BlobClientNodeFactory, io.datarouter.storage.client.imp.DatabeanClientNodeFactory, io.datarouter.storage.client.imp.TallyClientNodeFactory
Direct Known Subclasses:
MemcachedClientNodeFactory

@Singleton
public class BaseMemcachedClientNodeFactory
extends Object
implements io.datarouter.storage.client.imp.BlobClientNodeFactory, io.datarouter.storage.client.imp.DatabeanClientNodeFactory, io.datarouter.storage.client.imp.TallyClientNodeFactory
  • Constructor Summary

    Constructors
    Constructor Description
    BaseMemcachedClientNodeFactory​(io.datarouter.storage.client.ClientType<?,​?> memcachedClientType, io.datarouter.web.config.service.ServiceName serviceName, BaseMemcachedClientManager memcachedClientManager, io.datarouter.storage.node.adapter.NodeAdapters nodeAdapters)  
  • Method Summary

    Modifier and Type Method Description
    io.datarouter.storage.node.op.raw.BlobStorage.PhysicalBlobStorageNode createBlobNode​(io.datarouter.storage.node.NodeParams<io.datarouter.storage.file.PathbeanKey,​io.datarouter.storage.file.Pathbean,​io.datarouter.storage.file.Pathbean.PathbeanFielder> nodeParams)  
    <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>>
    io.datarouter.storage.node.type.physical.PhysicalNode<PK,​D,​F>
    createDatabeanNode​(io.datarouter.storage.node.entity.EntityNodeParams<EK,​E> entityNodeParams, io.datarouter.storage.node.NodeParams<PK,​D,​F> nodeParams)  
    io.datarouter.storage.node.op.raw.TallyStorage.PhysicalTallyStorageNode createTallyNode​(io.datarouter.storage.node.NodeParams<io.datarouter.storage.tally.TallyKey,​io.datarouter.storage.tally.Tally,​io.datarouter.storage.tally.Tally.TallyFielder> nodeParams)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BaseMemcachedClientNodeFactory

      public BaseMemcachedClientNodeFactory​(io.datarouter.storage.client.ClientType<?,​?> memcachedClientType, io.datarouter.web.config.service.ServiceName serviceName, BaseMemcachedClientManager memcachedClientManager, io.datarouter.storage.node.adapter.NodeAdapters nodeAdapters)
  • Method Details

    • createBlobNode

      public io.datarouter.storage.node.op.raw.BlobStorage.PhysicalBlobStorageNode createBlobNode​(io.datarouter.storage.node.NodeParams<io.datarouter.storage.file.PathbeanKey,​io.datarouter.storage.file.Pathbean,​io.datarouter.storage.file.Pathbean.PathbeanFielder> nodeParams)
      Specified by:
      createBlobNode in interface io.datarouter.storage.client.imp.BlobClientNodeFactory
    • createDatabeanNode

      public <EK extends io.datarouter.model.key.entity.EntityKey<EK>,​ E extends io.datarouter.model.entity.Entity<EK>,​ PK extends io.datarouter.model.key.primary.EntityPrimaryKey<EK,​ PK>,​ D extends io.datarouter.model.databean.Databean<PK,​ D>,​ F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,​ D>> io.datarouter.storage.node.type.physical.PhysicalNode<PK,​D,​F> createDatabeanNode​(io.datarouter.storage.node.entity.EntityNodeParams<EK,​E> entityNodeParams, io.datarouter.storage.node.NodeParams<PK,​D,​F> nodeParams)
      Specified by:
      createDatabeanNode in interface io.datarouter.storage.client.imp.DatabeanClientNodeFactory
    • createTallyNode

      public io.datarouter.storage.node.op.raw.TallyStorage.PhysicalTallyStorageNode createTallyNode​(io.datarouter.storage.node.NodeParams<io.datarouter.storage.tally.TallyKey,​io.datarouter.storage.tally.Tally,​io.datarouter.storage.tally.Tally.TallyFielder> nodeParams)
      Specified by:
      createTallyNode in interface io.datarouter.storage.client.imp.TallyClientNodeFactory