/** * Returns the partition for the given key. * * @param key the key for which to return the partition * @return the partition for the given key */ default LogSession getPartition(String key) { return getPartition(getPartitionId(key)); }
/** * Returns the partition for the given key. * * @param key the key for which to return the partition * @return the partition for the given key */ default LogSession getPartition(String key) { return getPartition(getPartitionId(key)); }