public R getShard(byte[] key) { return resources.get(getShardInfo(key)); }
public R getShard(String key) { return resources.get(getShardInfo(key)); }
public S getShardInfo(String key) { return getShardInfo(SafeEncoder.encode(getKeyTag(key))); }
public R getShard(byte[] key) { return resources.get(getShardInfo(key)); }
public R getShard(String key) { return resources.get(getShardInfo(key)); }
public S getShardInfo(String key) { return getShardInfo(SafeEncoder.encode(getKeyTag(key))); }