void function ( ) { dbStorage . registerUserDBWatcher ( new UserDBStorage . Watcher ( ) { @ Override public void onUpdate ( final UserDB arg0 ) { dbReference . set ( arg0 ) ; } } ) ; opened = true ; }
open the client for use . concode_field_sep boolean opened concode_elem_sep Logger log concode_elem_sep AtomicReference<UserDB> dbReference concode_elem_sep UserDBStorage dbStorage concode_field_sep A3Client newMemoryOnlyClient concode_elem_sep A3Client newMemoryOnlyClient concode_elem_sep A3Client newZooKeeperClient concode_elem_sep AuthnResult authenticate concode_elem_sep void ensureOpened concode_elem_sep User getCurrentAuthenticatedUser concode_elem_sep void close