Class FilesystemClientNodeFactory

java.lang.Object
io.datarouter.storage.client.imp.BaseClientNodeFactory
io.datarouter.filesystem.client.FilesystemClientNodeFactory
All Implemented Interfaces:
io.datarouter.storage.client.ClientNodeFactory, io.datarouter.storage.client.imp.BlobClientNodeFactory, io.datarouter.storage.client.imp.QueueClientNodeFactory

@Singleton
public class FilesystemClientNodeFactory
extends io.datarouter.storage.client.imp.BaseClientNodeFactory
implements io.datarouter.storage.client.imp.BlobClientNodeFactory, io.datarouter.storage.client.imp.QueueClientNodeFactory
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    class  FilesystemClientNodeFactory.FilesystemWrappedNodeFactory<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>>  
  • Constructor Summary

    Constructors 
    Constructor Description
    FilesystemClientNodeFactory()  
  • 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)  
    <PK extends io.datarouter.model.key.primary.PrimaryKey<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>
    createGroupQueueNode​(io.datarouter.storage.node.NodeParams<PK,​D,​F> nodeParams)  
    <PK extends io.datarouter.model.key.primary.PrimaryKey<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>
    createSingleQueueNode​(io.datarouter.storage.node.NodeParams<PK,​D,​F> 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.client.imp.WrappedNodeFactory<EK,​E,​PK,​D,​F,​io.datarouter.storage.node.op.raw.QueueStorage.PhysicalQueueStorageNode<PK,​D,​F>>
    makeWrappedNodeFactory()  

    Methods inherited from class io.datarouter.storage.client.imp.BaseClientNodeFactory

    createWrappedNode

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.datarouter.storage.client.ClientNodeFactory

    createWrappedNode
  • Constructor Details

  • Method Details

    • makeWrappedNodeFactory

      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.client.imp.WrappedNodeFactory<EK,​E,​PK,​D,​F,​io.datarouter.storage.node.op.raw.QueueStorage.PhysicalQueueStorageNode<PK,​D,​F>> makeWrappedNodeFactory()
      Specified by:
      makeWrappedNodeFactory in class io.datarouter.storage.client.imp.BaseClientNodeFactory
    • 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
    • createSingleQueueNode

      public <PK extends io.datarouter.model.key.primary.PrimaryKey<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> createSingleQueueNode​(io.datarouter.storage.node.NodeParams<PK,​D,​F> nodeParams)
      Specified by:
      createSingleQueueNode in interface io.datarouter.storage.client.imp.QueueClientNodeFactory
    • createGroupQueueNode

      public <PK extends io.datarouter.model.key.primary.PrimaryKey<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> createGroupQueueNode​(io.datarouter.storage.node.NodeParams<PK,​D,​F> nodeParams)
      Specified by:
      createGroupQueueNode in interface io.datarouter.storage.client.imp.QueueClientNodeFactory