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.StringgetEntityTableName()java.lang.StringgetNodeName()
-
Constructor Details
-
Method Details
-
getNodeName
public java.lang.String getNodeName() -
getEntityKeySupplier
-
getEntitySupplier
-
getEntityPartitionerSupplier
public java.util.function.Supplier<io.datarouter.model.key.entity.EntityPartitioner<EK>> getEntityPartitionerSupplier() -
getEntityTableName
public java.lang.String getEntityTableName()
-