@@ -31,11 +31,11 @@ public class GenericServer<Key, Value, Input, Output, Functions, ParameterSerial
31
31
/// <param name="functionsGen"></param>
32
32
/// <param name="serializer"></param>
33
33
/// <param name="keyInputSerializer"></param>
34
- /// <param name="lockingMode "></param>
34
+ /// <param name="concurrencyControlMode "></param>
35
35
/// <param name="maxSizeSettings"></param>
36
36
/// <param name="loggerFactory"></param>
37
- public GenericServer ( ServerOptions opts , Func < Functions > functionsGen , ParameterSerializer serializer , IKeyInputSerializer < Key , Input > keyInputSerializer ,
38
- LockingMode lockingMode , MaxSizeSettings maxSizeSettings = default , ILoggerFactory loggerFactory = null )
37
+ public GenericServer ( ServerOptions opts , Func < Functions > functionsGen , ParameterSerializer serializer , IKeyInputSerializer < Key , Input > keyInputSerializer ,
38
+ ConcurrencyControlMode concurrencyControlMode , MaxSizeSettings maxSizeSettings = default , ILoggerFactory loggerFactory = null )
39
39
{
40
40
this . opts = opts ;
41
41
@@ -45,7 +45,7 @@ public GenericServer(ServerOptions opts, Func<Functions> functionsGen, Parameter
45
45
if ( ! Directory . Exists ( opts . CheckpointDir ) )
46
46
Directory . CreateDirectory ( opts . CheckpointDir ) ;
47
47
48
- store = new FasterKV < Key , Value > ( indexSize , logSettings , checkpointSettings , lockingMode : lockingMode , loggerFactory : loggerFactory ) ;
48
+ store = new FasterKV < Key , Value > ( indexSize , logSettings , checkpointSettings , concurrencyControlMode : concurrencyControlMode , loggerFactory : loggerFactory ) ;
49
49
50
50
if ( opts . Recover )
51
51
{
0 commit comments