Searched refs:shardingModulo (Results 1 – 2 of 2) sorted by relevance
259 public void setShardingModulo(int shardingModulo) { in setShardingModulo() argument260 if (shardingModulo <= 0) { in setShardingModulo()262 + shardingModulo); in setShardingModulo()267 if (shardingModulo != mShardingModulo) { in setShardingModulo()268 mShardingModulo = shardingModulo; in setShardingModulo()269 mShardingOffset = mRandom.nextInt(shardingModulo); in setShardingModulo()
843 public void setShardingModulo(int shardingModulo) { in setShardingModulo() argument844 if (shardingModulo <= 0) { in setShardingModulo()846 + shardingModulo); in setShardingModulo()851 if (shardingModulo != mShardingModulo) { in setShardingModulo()852 mShardingModulo = shardingModulo; in setShardingModulo()853 mShardingOffset = mRandom.nextInt(shardingModulo); in setShardingModulo()