/**
 * yunzhupaas Commercial License Agreement
 * Copyright (c) 2018-2099, http://www.szlecheng.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from yunzhupaas.
 * <p>
 * 1. This software is for development use only under a valid license
 * from yunzhupaas.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * 3. Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with yunzhupaas.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * THIS yunzhupaasSoftWare IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
 * not liable for any claims arising from secondary or illegal development.
 * <p>
 * Author: yunzhupaas.com
 */
// package com.xxl.job.core.util;
//
/// **
// * sharding vo
// * @author xuxueli 2017-07-25 21:26:38
// */
// public class ShardingUtil {
//
// private static InheritableThreadLocal<ShardingVO> contextHolder = new
// InheritableThreadLocal<ShardingVO>();
//
// public static class ShardingVO {
//
// private int index; // sharding index
// private int total; // sharding total
//
// public ShardingVO(int index, int total) {
// this.index = index;
// this.total = total;
// }
//
// public int getIndex() {
// return index;
// }
//
// public void setIndex(int index) {
// this.index = index;
// }
//
// public int getTotal() {
// return total;
// }
//
// public void setTotal(int total) {
// this.total = total;
// }
// }
//
// public static void setShardingVo(ShardingVO shardingVo){
// contextHolder.set(shardingVo);
// }
//
// public static ShardingVO getShardingVo(){
// return contextHolder.get();
// }
//
// }
