Ejemplo n.º 1
0
 /// <summary>
 /// Protected constructor with state store name and supplier
 /// </summary>
 /// <param name="name">State store name for query it</param>
 /// <param name="supplier">Supplier use to build the state store</param>
 protected RocksDbWindows(string name, IStoreSupplier <IWindowStore <Bytes, byte[]> > supplier)
     : base(name, supplier)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Protected constructor with store supplier
 /// </summary>
 /// <param name="storeSupplier">Supplier use to build the state store</param>
 protected Materialized(IStoreSupplier <S> storeSupplier)
     : this(null, storeSupplier)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Protected constructor with state store name and supplier
 /// </summary>
 /// <param name="name">State store name for query it</param>
 /// <param name="supplier">Supplier use to build the state store</param>
 protected RocksDb(string name, IStoreSupplier <IKeyValueStore <Bytes, byte[]> > supplier)
     : base(name, supplier)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Protected constructor with state store name and supplier
 /// </summary>
 /// <param name="name">State store name for query it</param>
 /// <param name="supplier">Supplier use to build the state store</param>
 protected InMemoryWindows(string name, IStoreSupplier <IWindowStore <Bytes, byte[]> > supplier)
     : base(name, supplier)
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Protected constructor with state store name and supplier
 /// </summary>
 /// <param name="storeName">State store name for query it</param>
 /// <param name="storeSupplier">Supplier use to build the state store</param>
 protected Materialized(string storeName, IStoreSupplier <S> storeSupplier)
 {
     this.storeName = storeName;
     StoreSupplier  = storeSupplier;
     retention      = TimeSpan.FromDays(1);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Protected constructor with state store name and supplier
 /// </summary>
 /// <param name="name">State store name for query it</param>
 /// <param name="supplier">Supplier use to build the state store</param>
 protected InMemory(string name, IStoreSupplier <IKeyValueStore <Bytes, byte[]> > supplier)
     : base(name, supplier)
 {
 }