public ShardInformation getShardInformation ( String shard ) { ShardInformation shardInformation = shardIndex . get ( Objects . requireNonNull ( shard , "shard required" ) ) ; if ( shardInformation == null ) { shardInformation = createShardInformation ( shard ) ; } return shardInformation ; }
Gets the shard information .