public List < Shard > getShards ( ) { InputStream response = null ; try { response = client . couchDbClient . get ( new DatabaseURIHelper ( db . getDBUri ( ) ) . path ( "_shards" ) . build ( ) ) ; return getResponseList ( response , client . getGson ( ) , DeserializationTypes . SHARDS ) ; } finally { close ( response ) ; } }
Get info about the shards in the database .