question: private ServerPod [ ] buildClusterServers ( ClusterHeartbeat cluster , int serverCount ) { ArrayList < ServerPod > serversPod = new ArrayList < > ( ) ; for ( ServerHeartbeat server : cluster . getServers ( ) ) { ServerPod serverPod = new ServerPod ( serversPod . size ( ) ) ; serversPod . add ( serverPod ) ; serverPod . setServer ( server ) ; } while ( serversPod . size ( ) < serverCount ) { serversPod . add ( new ServerPod ( serversPod . size ( ) ) ) ; } ServerPod [ ] serverArray = new ServerPod [ serverCount ] ; for ( int i = 0 ; i < serverCount ; i ++ ) { serverArray [ i ] = serversPod . get ( i ) ; } return serverArray ; }
target:  Create cluster pods using the configuration as a hint. Both the cluster and cluster_hub pods use this.