类 ShardingConfig

    • 构造器详细资料

      • ShardingConfig

        public ShardingConfig()
    • 方法详细资料

      • getShardingDBStrategy

        public ShardingStrategyConfig getShardingDBStrategy()
        返回:
        the shardingDBStrategy
      • setShardingDBStrategy

        public void setShardingDBStrategy​(ShardingStrategyConfig shardingDBStrategy)
        参数:
        shardingDBStrategy - the shardingDBStrategy to set
      • getShardingTableStrategy

        public ShardingStrategyConfig getShardingTableStrategy()
        返回:
        the shardingTableStrategy
      • setShardingTableStrategy

        public void setShardingTableStrategy​(ShardingStrategyConfig shardingTableStrategy)
        参数:
        shardingTableStrategy - the shardingTableStrategy to set
      • getMaxWaitSeconds

        public int getMaxWaitSeconds()
        返回:
        the maxWaitSeconds
      • setMaxWaitSeconds

        public void setMaxWaitSeconds​(int maxWaitSeconds)
        参数:
        maxWaitSeconds - the maxWaitSeconds to set
      • getMaxConcurrents

        public int getMaxConcurrents()
        返回:
        the maxConcurrents
      • setMaxConcurrents

        public void setMaxConcurrents​(int maxConcurrents)
        参数:
        maxConcurrents - the maxConcurrents to set
      • isGlobalRollback

        public boolean isGlobalRollback()
        返回:
        the globalRollback
      • setGlobalRollback

        public void setGlobalRollback​(boolean globalRollback)
        参数:
        globalRollback - the globalRollback to set