Class StreamNodeFactory

java.lang.Object
io.datarouter.storage.node.factory.StreamNodeFactory

@Singleton
public class StreamNodeFactory
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    StreamNodeFactory​(DatarouterClients clients)  
  • Method Summary

    Modifier and Type Method Description
    <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>,​ N extends Node<PK,​ D,​ F>>
    N
    createSingleStreamNode​(ClientId clientId, java.util.function.Supplier<D> databeanSupplier, java.util.function.Supplier<F> fielderSupplier, java.lang.String streamName)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • createSingleStreamNode

      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>,​ N extends Node<PK,​ D,​ F>> N createSingleStreamNode​(ClientId clientId, java.util.function.Supplier<D> databeanSupplier, java.util.function.Supplier<F> fielderSupplier, java.lang.String streamName)