Class EntityNodeParams<EK extends io.datarouter.model.key.entity.EntityKey<EK>,​E extends io.datarouter.model.entity.Entity<EK>>

java.lang.Object
io.datarouter.storage.node.entity.EntityNodeParams<EK,​E>

public class EntityNodeParams<EK extends io.datarouter.model.key.entity.EntityKey<EK>,​E extends io.datarouter.model.entity.Entity<EK>>
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    EntityNodeParams​(java.lang.String nodeName, java.util.function.Supplier<EK> entityKeySupplier, java.util.function.Supplier<E> entitySupplier, java.util.function.Supplier<io.datarouter.model.key.entity.EntityPartitioner<EK>> entityPartitionerSupplier, java.lang.String entityTableName)  
  • Method Summary

    Modifier and Type Method Description
    java.util.function.Supplier<EK> getEntityKeySupplier()  
    java.util.function.Supplier<io.datarouter.model.key.entity.EntityPartitioner<EK>> getEntityPartitionerSupplier()  
    java.util.function.Supplier<E> getEntitySupplier()  
    java.lang.String getEntityTableName()  
    java.lang.String getNodeName()  

    Methods inherited from class java.lang.Object

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

    • EntityNodeParams

      public EntityNodeParams​(java.lang.String nodeName, java.util.function.Supplier<EK> entityKeySupplier, java.util.function.Supplier<E> entitySupplier, java.util.function.Supplier<io.datarouter.model.key.entity.EntityPartitioner<EK>> entityPartitionerSupplier, java.lang.String entityTableName)
  • Method Details