private UpdatePod initLocalPod ( ) { ServerBartender serverSelf = _bartender . serverSelf ( ) ; ServicesAmp rampManager = AmpSystem . currentManager ( ) ; UpdatePodBuilder podBuilder = new UpdatePodBuilder ( ) ; podBuilder . name ( "local" ) ; podBuilder . cluster ( _bartender . serverSelf ( ) . getCluster ( ) ) ; // int count = Math.min(3, rack.getServerLength()); ServerPod serverPod = new ServerPod ( 0 , serverSelf ) ; ServerPod [ ] servers = new ServerPod [ ] { serverPod } ; podBuilder . pod ( servers ) ; // int depth = Math.min(3, handles.length); podBuilder . primaryCount ( 1 ) ; podBuilder . depth ( 1 ) ; UpdatePod updatePod = podBuilder . build ( ) ; return new UpdatePod ( updatePod , new String [ ] { serverSelf . getId ( ) } , 0 ) ; }
The local pod refers to the server itself .