getClusterPrefix is scala style