public void addShard(Integer shard) {
        if (!shardStateManager.getManagedShards().contains(shard))
            context.addShard(shard);
    }
public void addShard(Integer shard) {
        if (!shardStateManager.getManagedShards().contains(shard))
            context.addShard(shard);
    }
public void addShard ( Integer shard ) { if ( ! shardStateManager . getManagedShards ( ) . contains ( shard ) ) context . addShard ( shard ) ; }
Add a shard to be managed (via JMX)

@param shard shard to be added
Add a shard to be managed ( via JMX )