public Collection<Address> getWriteOwners(Object key) {
      int segmentId = isDistributed || isScattered ? keyPartitioner.getSegment(key) : 0;
      return distributionInfos[segmentId].writeOwners();
   }
public Collection < Address > getWriteOwners ( Object key ) { int segmentId = isDistributed || isScattered ? keyPartitioner . getSegment ( key ) : 0 ; return distributionInfos [ segmentId ] . writeOwners ( ) ; }
@return An unordered collection with the write owners of {@code key}.