@ Override public boolean isServerOwner ( ServerBartender server ) { for ( int i = 0 ; i < _owners . length ; i ++ ) { ServerBartender serverBar = server ( i ) ; if ( serverBar == null ) { continue ; } else if ( serverBar . isSameServer ( server ) ) { return server . isUp ( ) ; } else if ( serverBar . isUp ( ) ) { return false ; } } return false ; }
Test if the server is the current owner of the node . The owner is the first live server in the backup list .