public synchronized void registerPrimarySsId ( String address , Long ssid ) throws IOException { String node = getSsIdNode ( address ) ; zkCreateRecursively ( node , SerializableUtils . toBytes ( ssid ) , true , ssid . toString ( ) ) ; }
Creates a node in zookeeper denoting the current session id of the primary avatarnode of the cluster . The primary avatarnode always syncs this information to zookeeper when it starts .