starts zookeeper back up on the last used port . concode_field_sep ZooKeeperServer zooKeeperServer concode_elem_sep int port concode_elem_sep ShutdownRegistry shutdownRegistry concode_elem_sep NIOServerCnxn.Factory connectionFactory concode_elem_sep Amount<Integer,Time> DEFAULT_SESSION_TIMEOUT concode_elem_sep Amount<Integer,Time> defaultSessionTimeout concode_field_sep ZooKeeperClient createClient concode_elem_sep ZooKeeperClient createClient concode_elem_sep ZooKeeperClient createClient concode_elem_sep ZooKeeperClient createClient concode_elem_sep ZooKeeperClient createClient concode_elem_sep ZooKeeperClient createClient concode_elem_sep int startNetwork concode_elem_sep int getPort concode_elem_sep void checkEphemeralPortAssigned concode_elem_sep File createTempDir concode_elem_sep void shutdownNetwork concode_elem_sep void expireClientSession
void function ( ) { checkEphemeralPortAssigned ( ) ; Preconditions . checkState ( ! connectionFactory . isAlive ( ) ) ; startNetwork ( ) ; }