SYMBOL INDEX (7569 symbols across 680 files) FILE: docs/skin/breadcrumbs-optimized.js function sc (line 36) | function sc(s) { function getdirs (line 40) | function getdirs() { function getcrumbs (line 49) | function getcrumbs( d ) function gettrail (line 64) | function gettrail( c ) function gettrailXHTML (line 75) | function gettrailXHTML( c ) FILE: docs/skin/breadcrumbs.js function sentenceCase (line 114) | function sentenceCase( string ) function getDirectoriesInURL (line 124) | function getDirectoriesInURL() function getBreadcrumbs (line 150) | function getBreadcrumbs( dirs ) function getCrumbTrail (line 180) | function getCrumbTrail( crumbs ) function getCrumbTrailXHTML (line 203) | function getCrumbTrailXHTML( crumbs ) FILE: docs/skin/fontsize.js function init (line 17) | function init() function checkBrowser (line 22) | function checkBrowser(){ function ndeSetTextSize (line 32) | function ndeSetTextSize(chgsize,rs) function ndeGetDocTextSize (line 92) | function ndeGetDocTextSize() function ndeCreateCookie (line 129) | function ndeCreateCookie(name,value,days) function ndeReadCookie (line 145) | function ndeReadCookie(name) FILE: docs/skin/getBlank.js function getBlank (line 28) | function getBlank (form, stdValue){ function getPrompt (line 34) | function getPrompt (form, stdValue){ FILE: docs/skin/getMenu.js function SwitchMenu (line 29) | function SwitchMenu(obj, thePath) FILE: docs/skin/menu.js function SwitchMenu (line 28) | function SwitchMenu(obj) FILE: docs/skin/prototype.js function $ (line 103) | function $() { FILE: src/c/include/recordio.h type buffer (line 34) | struct buffer { type buffer (line 40) | struct buffer type iarchive (line 42) | struct iarchive { type oarchive (line 55) | struct oarchive { type oarchive (line 70) | struct oarchive type oarchive (line 71) | struct oarchive type iarchive (line 72) | struct iarchive type iarchive (line 73) | struct iarchive type oarchive (line 74) | struct oarchive type oarchive (line 75) | struct oarchive FILE: src/c/include/zookeeper.h type ZOO_ERRORS (line 86) | enum ZOO_ERRORS { type ZooLogLevel (line 132) | typedef enum {ZOO_LOG_LEVEL_ERROR=1,ZOO_LOG_LEVEL_WARN=2,ZOO_LOG_LEVEL_I... type zhandle_t (line 252) | typedef struct _zhandle zhandle_t; type clientid_t (line 261) | typedef struct { type zoo_op_t (line 275) | typedef struct zoo_op { type ACL_vector (line 337) | struct ACL_vector type Stat (line 370) | struct Stat type zoo_op_result_t (line 391) | typedef struct zoo_op_result { type sockaddr (line 517) | struct sockaddr type timeval (line 541) | struct timeval type timeval (line 544) | struct timeval type Stat (line 606) | struct Stat type Stat (line 634) | struct Stat type String_vector (line 658) | struct String_vector type String_vector (line 686) | struct String_vector type Stat (line 686) | struct Stat type ACL_vector (line 733) | struct ACL_vector type Stat (line 734) | struct Stat type ACL_vector (line 776) | struct ACL_vector type ACL_vector (line 1121) | struct ACL_vector type ACL_vector (line 1255) | struct ACL_vector type Stat (line 1298) | struct Stat type Stat (line 1325) | struct Stat type Stat (line 1348) | struct Stat type Stat (line 1378) | struct Stat type Stat (line 1430) | struct Stat type String_vector (line 1450) | struct String_vector type String_vector (line 1477) | struct String_vector type String_vector (line 1500) | struct String_vector type Stat (line 1500) | struct Stat type String_vector (line 1530) | struct String_vector type Stat (line 1530) | struct Stat type ACL_vector (line 1548) | struct ACL_vector type Stat (line 1549) | struct Stat type ACL_vector (line 1570) | struct ACL_vector FILE: src/c/src/cli.c type timeval (line 58) | struct timeval function printProfileInfo (line 68) | static __attribute__ ((unused)) void function watcher (line 112) | void watcher(zhandle_t *zzh, int type, int state, const char *path, function dumpStat (line 158) | void dumpStat(const struct Stat *stat) { function my_string_completion (line 184) | void my_string_completion(int rc, const char *name, const void *data) { function my_string_completion_free_data (line 193) | void my_string_completion_free_data(int rc, const char *name, const void... function my_data_completion (line 198) | void my_data_completion(int rc, const char *value, int value_len, function my_silent_data_completion (line 219) | void my_silent_data_completion(int rc, const char *value, int value_len, function my_strings_completion (line 231) | void my_strings_completion(int rc, const struct String_vector *strings, function my_strings_stat_completion (line 256) | void my_strings_stat_completion(int rc, const struct String_vector *stri... function my_void_completion (line 264) | void my_void_completion(int rc, const void *data) { function my_stat_completion (line 271) | void my_stat_completion(int rc, const struct Stat *stat, const void *dat... function my_silent_stat_completion (line 279) | void my_silent_stat_completion(int rc, const struct Stat *stat, function sendRequest (line 286) | static void sendRequest(const char* data) { function od_completion (line 292) | void od_completion(int rc, const struct Stat *stat, const void *data) { function startsWith (line 308) | int startsWith(const char *line, const char *prefix) { function processline (line 316) | void processline(char *line) { function main (line 524) | int main(int argc, char **argv) { FILE: src/c/src/hashtable/hashtable.c type hashtable (line 28) | struct hashtable type hashtable (line 33) | struct hashtable type hashtable (line 41) | struct hashtable type hashtable (line 41) | struct hashtable type entry (line 43) | struct entry type entry (line 43) | struct entry type entry (line 45) | struct entry function hash (line 56) | unsigned int function hashtable_expand (line 70) | static int function hashtable_count (line 129) | unsigned int function hashtable_insert (line 136) | int type hashtable (line 163) | struct hashtable type entry (line 165) | struct entry type hashtable (line 181) | struct hashtable type entry (line 186) | struct entry type entry (line 187) | struct entry function hashtable_destroy (line 215) | void FILE: src/c/src/hashtable/hashtable.h type hashtable (line 12) | struct hashtable type hashtable (line 80) | struct hashtable type hashtable (line 105) | struct hashtable type hashtable (line 123) | struct hashtable type hashtable (line 141) | struct hashtable type hashtable (line 158) | struct hashtable type hashtable (line 170) | struct hashtable FILE: src/c/src/hashtable/hashtable_itr.c type hashtable_itr (line 11) | struct hashtable_itr type hashtable (line 12) | struct hashtable type hashtable_itr (line 15) | struct hashtable_itr type hashtable_itr (line 15) | struct hashtable_itr type hashtable_itr (line 16) | struct hashtable_itr function hashtable_iterator_advance (line 41) | int function hashtable_iterator_remove (line 86) | int function hashtable_iterator_search (line 115) | int /* returns zero if not found */ FILE: src/c/src/hashtable/hashtable_itr.h type hashtable_itr (line 15) | struct hashtable_itr type hashtable_itr (line 28) | struct hashtable_itr type hashtable (line 29) | struct hashtable type hashtable_itr (line 36) | struct hashtable_itr type hashtable_itr (line 45) | struct hashtable_itr type hashtable_itr (line 55) | struct hashtable_itr type hashtable_itr (line 64) | struct hashtable_itr type hashtable_itr (line 72) | struct hashtable_itr type hashtable (line 73) | struct hashtable FILE: src/c/src/hashtable/hashtable_private.h type entry (line 9) | struct entry type hashtable (line 16) | struct hashtable { type hashtable (line 28) | struct hashtable function indexFor (line 32) | static inline unsigned int FILE: src/c/src/load_gen.c function ensureConnected (line 43) | void ensureConnected(){ function incCounter (line 51) | void incCounter(int delta){ function setCounter (line 58) | void setCounter(int cnt){ function waitCounter (line 65) | void waitCounter(){ function listener (line 73) | void listener(zhandle_t *zzh, int type, int state, const char *path,void... function create_completion (line 84) | void create_completion(int rc, const char *name, const void *data) { function doCreateNodes (line 91) | int doCreateNodes(const char* root, int count){ function createRoot (line 108) | int createRoot(const char* root){ function write_completion (line 113) | void write_completion(int rc, const struct Stat *stat, const void *data) { function doWrites (line 120) | int doWrites(const char* root, int count){ function read_completion (line 134) | void read_completion(int rc, const char *value, int value_len, function doReads (line 149) | int doReads(const char* root, int count){ function delete_completion (line 163) | void delete_completion(int rc, const void *data) { function doDeletes (line 167) | int doDeletes(const char* root, int count){ function free_String_vector (line 181) | static int free_String_vector(struct String_vector *v) { function recursiveDelete (line 195) | int recursiveDelete(const char* root){ function usage (line 226) | void usage(char *argv[]){ function main (line 232) | int main(int argc, char **argv) { FILE: src/c/src/mt_adaptor.c function zoo_lock_auth (line 47) | int zoo_lock_auth(zhandle_t *zh) function zoo_unlock_auth (line 51) | int zoo_unlock_auth(zhandle_t *zh) function lock_buffer_list (line 55) | int lock_buffer_list(buffer_head_t *l) function unlock_buffer_list (line 59) | int unlock_buffer_list(buffer_head_t *l) function lock_completion_list (line 63) | int lock_completion_list(completion_head_t *l) function unlock_completion_list (line 67) | int unlock_completion_list(completion_head_t *l) type sync_completion (line 72) | struct sync_completion type sync_completion (line 74) | struct sync_completion type sync_completion (line 74) | struct sync_completion type sync_completion (line 74) | struct sync_completion function wait_sync_completion (line 81) | int wait_sync_completion(struct sync_completion *sc) function free_sync_completion (line 91) | void free_sync_completion(struct sync_completion *sc) function notify_sync_completion (line 100) | void notify_sync_completion(struct sync_completion *sc) function process_async (line 108) | int process_async(int outstanding_sync) function handle_error (line 117) | int handle_error(SOCKET sock, char* message) function create_socket_pair (line 125) | int create_socket_pair(SOCKET fds[2]) function set_nonblock (line 174) | static int set_nonblock(SOCKET fd){ function set_nonblock (line 182) | static int set_nonblock(int fd){ function wait_for_others (line 189) | void wait_for_others(zhandle_t* zh) function notify_thread_ready (line 198) | void notify_thread_ready(zhandle_t* zh) function start_threads (line 210) | void start_threads(zhandle_t* zh) type adaptor_threads (line 233) | struct adaptor_threads function adaptor_finish (line 272) | void adaptor_finish(zhandle_t *zh) function adaptor_destroy (line 300) | void adaptor_destroy(zhandle_t *zh) function wakeup_io_thread (line 323) | int wakeup_io_thread(zhandle_t *zh) function adaptor_send_queue (line 334) | int adaptor_send_queue(zhandle_t *zh, int timeout) type timeval (line 347) | struct timeval type timeval (line 350) | struct timeval type pollfd (line 362) | struct pollfd type adaptor_threads (line 363) | struct adaptor_threads type timeval (line 371) | struct timeval type adaptor_threads (line 398) | struct adaptor_threads type timeval (line 404) | struct timeval function inc_ref_counter (line 472) | int32_t inc_ref_counter(zhandle_t* zh,int i) function fetch_and_add (line 482) | int32_t fetch_and_add(volatile int32_t* operand, int incr) function get_xid (line 492) | __attribute__((constructor)) int32_t get_xid() function enter_critical (line 501) | int enter_critical(zhandle_t* zh) function leave_critical (line 511) | int leave_critical(zhandle_t* zh) FILE: src/c/src/recordio.c function deallocate_String (line 30) | void deallocate_String(char **s) function deallocate_Buffer (line 37) | void deallocate_Buffer(struct buffer *b) type buff_struct (line 44) | struct buff_struct { function resize_buffer (line 50) | static int resize_buffer(struct buff_struct *s, int newlen) function oa_start_record (line 65) | int oa_start_record(struct oarchive *oa, const char *tag) function oa_end_record (line 69) | int oa_end_record(struct oarchive *oa, const char *tag) function oa_serialize_int (line 73) | int oa_serialize_int(struct oarchive *oa, const char *tag, const int32_t... function zoo_htonll (line 85) | int64_t zoo_htonll(int64_t v) function oa_serialize_long (line 101) | int oa_serialize_long(struct oarchive *oa, const char *tag, const int64_... function oa_start_vector (line 113) | int oa_start_vector(struct oarchive *oa, const char *tag, const int32_t ... function oa_end_vector (line 117) | int oa_end_vector(struct oarchive *oa, const char *tag) function oa_serialize_bool (line 121) | int oa_serialize_bool(struct oarchive *oa, const char *name, const int32... function oa_serialize_buffer (line 135) | int oa_serialize_buffer(struct oarchive *oa, const char *name, function oa_serialize_string (line 161) | int oa_serialize_string(struct oarchive *oa, const char *name, char **s) function ia_start_record (line 183) | int ia_start_record(struct iarchive *ia, const char *tag) function ia_end_record (line 187) | int ia_end_record(struct iarchive *ia, const char *tag) function ia_deserialize_int (line 191) | int ia_deserialize_int(struct iarchive *ia, const char *tag, int32_t *co... function ia_deserialize_long (line 203) | int ia_deserialize_long(struct iarchive *ia, const char *tag, int64_t *c... function ia_start_vector (line 216) | int ia_start_vector(struct iarchive *ia, const char *tag, int32_t *count) function ia_end_vector (line 220) | int ia_end_vector(struct iarchive *ia, const char *tag) function ia_deserialize_bool (line 224) | int ia_deserialize_bool(struct iarchive *ia, const char *name, int32_t *v) function ia_deserialize_buffer (line 237) | int ia_deserialize_buffer(struct iarchive *ia, const char *name, function ia_deserialize_string (line 260) | int ia_deserialize_string(struct iarchive *ia, const char *name, char **s) type iarchive (line 283) | struct iarchive type oarchive (line 291) | struct oarchive type iarchive (line 299) | struct iarchive type iarchive (line 301) | struct iarchive type buff_struct (line 302) | struct buff_struct type buff_struct (line 305) | struct buff_struct type oarchive (line 318) | struct oarchive type oarchive (line 320) | struct oarchive type buff_struct (line 321) | struct buff_struct type buff_struct (line 324) | struct buff_struct function close_buffer_iarchive (line 337) | void close_buffer_iarchive(struct iarchive **ia) function close_buffer_oarchive (line 344) | void close_buffer_oarchive(struct oarchive **oa, int free_buffer) type oarchive (line 357) | struct oarchive type buff_struct (line 359) | struct buff_struct function get_buffer_len (line 362) | int get_buffer_len(struct oarchive *oa) FILE: src/c/src/st_adaptor.c function zoo_lock_auth (line 27) | int zoo_lock_auth(zhandle_t *zh) function zoo_unlock_auth (line 31) | int zoo_unlock_auth(zhandle_t *zh) function lock_buffer_list (line 35) | int lock_buffer_list(buffer_head_t *l) function unlock_buffer_list (line 39) | int unlock_buffer_list(buffer_head_t *l) function lock_completion_list (line 43) | int lock_completion_list(completion_head_t *l) function unlock_completion_list (line 47) | int unlock_completion_list(completion_head_t *l) type sync_completion (line 51) | struct sync_completion type sync_completion (line 53) | struct sync_completion type sync_completion (line 53) | struct sync_completion function wait_sync_completion (line 55) | int wait_sync_completion(struct sync_completion *sc) function free_sync_completion (line 60) | void free_sync_completion(struct sync_completion *sc) function notify_sync_completion (line 65) | void notify_sync_completion(struct sync_completion *sc) function process_async (line 69) | int process_async(int outstanding_sync) function adaptor_init (line 74) | int adaptor_init(zhandle_t *zh) function adaptor_finish (line 79) | void adaptor_finish(zhandle_t *zh){} function adaptor_destroy (line 81) | void adaptor_destroy(zhandle_t *zh){} function adaptor_send_queue (line 85) | int adaptor_send_queue(zhandle_t *zh, int timeout) function inc_ref_counter (line 90) | int32_t inc_ref_counter(zhandle_t* zh,int i) function get_xid (line 96) | int32_t get_xid() function enter_critical (line 105) | int enter_critical(zhandle_t* zh) function leave_critical (line 110) | int leave_critical(zhandle_t* zh) FILE: src/c/src/winport.c function pthread_mutex_lock (line 26) | int pthread_mutex_lock(pthread_mutex_t* _mutex ){ function pthread_mutex_unlock (line 32) | int pthread_mutex_unlock( pthread_mutex_t* _mutex ){ function pthread_mutex_init (line 37) | int pthread_mutex_init(pthread_mutex_t* _mutex, void* ignoredAttr){ function pthread_mutex_destroy (line 46) | int pthread_mutex_destroy(pthread_mutex_t* _mutex) function pthread_create (line 52) | int pthread_create(pthread_t *thread, const pthread_attr_t *attr, unsign... function pthread_equal (line 61) | int pthread_equal(pthread_t t1, pthread_t t2){ function pthread_t (line 66) | pthread_t pthread_self(){ function pthread_join (line 73) | int pthread_join(pthread_t _thread, void** ignore) function pthread_detach (line 79) | int pthread_detach(pthread_t _thread) function pthread_mutexattr_init (line 85) | void pthread_mutexattr_init(pthread_mutexattr_t* ignore){} function pthread_mutexattr_settype (line 86) | void pthread_mutexattr_settype(pthread_mutexattr_t* ingore_attr, int ign... function pthread_mutexattr_destroy (line 87) | void pthread_mutexattr_destroy(pthread_mutexattr_t* ignore_attr){} function pthread_cond_init (line 89) | int function pthread_cond_destroy (line 111) | int pthread_cond_destroy(pthread_cond_t *cond) function pthread_cond_signal (line 119) | int function pthread_cond_broadcast (line 135) | int function pthread_cond_wait (line 169) | int function pthread_key_create (line 207) | int pthread_key_create(pthread_key_t *key, void (*destructor)(void *) ) function pthread_key_delete (line 232) | int pthread_key_delete(pthread_key_t key) function pthread_setspecific (line 254) | int pthread_setspecific(pthread_key_t key, const void *value) function gettimeofday (line 260) | int gettimeofday(struct timeval *tp, void *tzp) { function close (line 269) | int close(SOCKET fd) { function Win32WSAStartup (line 273) | int Win32WSAStartup() function Win32WSACleanup (line 294) | void Win32WSACleanup() FILE: src/c/src/winport.h type HANDLE (line 58) | typedef HANDLE pthread_mutex_t; type pthread_t_ (line 60) | struct pthread_t_ type pthread_t (line 66) | typedef struct pthread_t_ pthread_t; type pthread_mutexattr_t (line 67) | typedef int pthread_mutexattr_t; type pthread_condattr_t (line 68) | typedef int pthread_condattr_t; type pthread_attr_t (line 69) | typedef int pthread_attr_t; type pthread_cond_t (line 89) | typedef struct type pthread_key_t_ (line 118) | struct pthread_key_t_ type pthread_key_t (line 124) | typedef struct pthread_key_t_ pthread_key_t; type timeval (line 130) | struct timeval FILE: src/c/src/zk_adaptor.h type _buffer_list (line 58) | struct _buffer_list type _completion_list (line 59) | struct _completion_list type buffer_head_t (line 61) | typedef struct _buffer_head { type completion_head_t (line 69) | typedef struct _completion_head { type sync_completion (line 83) | struct sync_completion { type auth_info (line 113) | typedef struct _auth_info { type buffer_list_t (line 125) | typedef struct _buffer_list { type connect_req (line 135) | struct connect_req { type prime_struct (line 145) | struct prime_struct { type adaptor_threads (line 156) | struct adaptor_threads { type auth_list_head_t (line 172) | typedef struct _auth_list_head { type _zhandle (line 183) | struct _zhandle { type sync_completion (line 236) | struct sync_completion type sync_completion (line 237) | struct sync_completion type sync_completion (line 238) | struct sync_completion type sync_completion (line 239) | struct sync_completion FILE: src/c/src/zk_hashtable.c type watcher_object_t (line 27) | typedef struct _watcher_object { type _zk_hashtable (line 34) | struct _zk_hashtable { type watcher_object_list (line 38) | struct watcher_object_list { type hashtable_impl (line 43) | typedef struct hashtable hashtable_impl; function hashtable_impl (line 45) | hashtable_impl* getImpl(zk_hashtable* ht){ function watcher_object_t (line 49) | watcher_object_t* getFirstWatcher(zk_hashtable* ht,const char* path) function watcher_object_t (line 58) | watcher_object_t* clone_watcher_object(watcher_object_t* wo) function string_hash_djb2 (line 67) | static unsigned int string_hash_djb2(void *str) function string_equal (line 78) | static int string_equal(void *key1,void *key2) function watcher_object_t (line 83) | static watcher_object_t* create_watcher_object(watcher_fn watcher,void* ... function watcher_object_list_t (line 92) | static watcher_object_list_t* create_watcher_object_list(watcher_object_... function destroy_watcher_object_list (line 100) | static void destroy_watcher_object_list(watcher_object_list_t* list) function zk_hashtable (line 115) | zk_hashtable* create_zk_hashtable() function do_clean_hashtable (line 123) | static void do_clean_hashtable(zk_hashtable* ht) function destroy_zk_hashtable (line 138) | void destroy_zk_hashtable(zk_hashtable* ht) function watcher_object_t (line 150) | static watcher_object_t* search_watcher(watcher_object_list_t** wl,watch... function add_to_list (line 161) | static int add_to_list(watcher_object_list_t **wl, watcher_object_t *wo, function do_insert_watcher_object (line 180) | static int do_insert_watcher_object(zk_hashtable *ht, const char *path, ... type hashtable_itr (line 206) | struct hashtable_itr function insert_watcher_object (line 220) | static int insert_watcher_object(zk_hashtable *ht, const char *path, function copy_watchers (line 228) | static void copy_watchers(watcher_object_list_t *from, watcher_object_li... function copy_table (line 238) | static void copy_table(zk_hashtable *from, watcher_object_list_t *to) { function collect_session_watchers (line 252) | static void collect_session_watchers(zhandle_t *zh, function add_for_event (line 260) | static void add_for_event(zk_hashtable *ht, char *path, watcher_object_l... function do_foreach_watcher (line 272) | static void do_foreach_watcher(watcher_object_t* wo,zhandle_t* zh, function watcher_object_list_t (line 285) | watcher_object_list_t *collectWatchers(zhandle_t *zh,int type, char *path) function deliverWatchers (line 318) | void deliverWatchers(zhandle_t *zh, int type,int state, char *path, watc... function activateWatcher (line 326) | void activateWatcher(zhandle_t *zh, watcher_registration_t* reg, int rc) FILE: src/c/src/zk_hashtable.h type watcher_object_list_t (line 28) | typedef struct watcher_object_list watcher_object_list_t; type zk_hashtable (line 29) | typedef struct _zk_hashtable zk_hashtable; type zk_hashtable (line 37) | typedef zk_hashtable *(*result_checker_fn)(zhandle_t *, int rc); type watcher_registration_t (line 44) | typedef struct _watcher_registration { type watcher_object_list (line 63) | struct watcher_object_list FILE: src/c/src/zk_log.c type DWORD (line 27) | typedef DWORD pid_t; function freeBuffer (line 47) | void freeBuffer(void* p){ function prepareTSDKeys (line 51) | __attribute__((constructor)) void prepareTSDKeys() { function FILE (line 92) | FILE* getLogStream(){ function zoo_set_log_stream (line 98) | void zoo_set_log_stream(FILE* stream){ type timeval (line 103) | struct timeval type tm (line 104) | struct tm function log_message (line 128) | void log_message(ZooLogLevel curLevel,int line,const char* funcName, function zoo_set_debug_level (line 169) | void zoo_set_debug_level(ZooLogLevel level) FILE: src/c/src/zookeeper.c type Id (line 154) | struct Id type Id (line 155) | struct Id type ACL (line 156) | struct ACL type ACL (line 157) | struct ACL type ACL (line 158) | struct ACL type ACL_vector (line 159) | struct ACL_vector type ACL_vector (line 160) | struct ACL_vector type ACL_vector (line 161) | struct ACL_vector type auth_completion_list_t (line 173) | typedef struct _auth_completion_list { type completion_t (line 179) | typedef struct completion { type completion_list_t (line 194) | typedef struct _completion_list { type sockaddr_storage (line 205) | struct sockaddr_storage type iarchive (line 209) | struct iarchive type iarchive (line 210) | struct iarchive function zookeeper_send (line 238) | static ssize_t zookeeper_send(int s, const void* buf, size_t len) function zoo_set_context (line 253) | void zoo_set_context(zhandle_t *zh, void *context) function zoo_recv_timeout (line 260) | int zoo_recv_timeout(zhandle_t *zh) function auth_info (line 267) | static auth_info* get_last_auth(auth_list_head_t *auth_list) { function free_auth_completion (line 279) | static void free_auth_completion(auth_completion_list_t *a_list) { function add_auth_completion (line 298) | static void add_auth_completion(auth_completion_list_t* a_list, void_com... function get_auth_completions (line 321) | static void get_auth_completions(auth_list_head_t *auth_list, auth_compl... function add_last_auth (line 337) | static void add_last_auth(auth_list_head_t *auth_list, auth_info *add_el) { function init_auth_info (line 352) | static void init_auth_info(auth_list_head_t *auth_list) function mark_active_auth (line 357) | static void mark_active_auth(zhandle_t *zh) { function free_auth_info (line 370) | static void free_auth_info(auth_list_head_t *auth_list) function is_unrecoverable (line 385) | int is_unrecoverable(zhandle_t *zh) function zk_hashtable (line 390) | zk_hashtable *exists_result_checker(zhandle_t *zh, int rc) function zk_hashtable (line 400) | zk_hashtable *data_result_checker(zhandle_t *zh, int rc) function zk_hashtable (line 405) | zk_hashtable *child_result_checker(zhandle_t *zh, int rc) function destroy (line 414) | static void destroy(zhandle_t *zh) function setup_random (line 446) | static void setup_random() function getaddrinfo_errno (line 483) | static int getaddrinfo_errno(int rc) { type sockaddr_storage (line 508) | struct sockaddr_storage type hostent (line 548) | struct hostent type sockaddr_in (line 550) | struct sockaddr_in type sockaddr_in (line 573) | struct sockaddr_in function else (line 582) | else if (addr->ss_family == AF_INET6) { type addrinfo (line 602) | struct addrinfo type sockaddr_storage (line 693) | struct sockaddr_storage function clientid_t (line 711) | const clientid_t *zoo_client_id(zhandle_t *zh) function null_watcher_fn (line 716) | static void null_watcher_fn(zhandle_t* p1, int p2, int p3,const char* p4... function watcher_fn (line 718) | watcher_fn zoo_set_watcher(zhandle_t *zh,watcher_fn newFn) type sockaddr (line 729) | struct sockaddr type sockaddr (line 730) | struct sockaddr function log_env (line 741) | static void log_env() { function zhandle_t (line 804) | zhandle_t *zookeeper_init(const char *host, watcher_fn watcher, function free_duplicate_path (line 914) | void free_duplicate_path(const char *free_path, const char* path) { function buffer_list_t (line 959) | static buffer_list_t *allocate_buffer(char *buff, int len) function free_buffer (line 972) | static void free_buffer(buffer_list_t *b) function buffer_list_t (line 983) | static buffer_list_t *dequeue_buffer(buffer_head_t *list) function remove_buffer (line 999) | static int remove_buffer(buffer_head_t *list) function queue_buffer (line 1009) | static void queue_buffer(buffer_head_t *list, buffer_list_t *b, int add_... function queue_buffer_bytes (line 1032) | static int queue_buffer_bytes(buffer_head_t *list, char *buff, int len) function queue_front_buffer_bytes (line 1041) | static int queue_front_buffer_bytes(buffer_head_t *list, char *buff, int... function get_queue_len (line 1050) | static __attribute__ ((unused)) int get_queue_len(buffer_head_t *list) function send_buffer (line 1069) | static int send_buffer(int fd, buffer_list_t *buff) function free_buffers (line 1180) | void free_buffers(buffer_head_t *list) function free_completions (line 1186) | void free_completions(zhandle_t *zh,int callCompletion,int reason) function cleanup_bufs (line 1249) | static void cleanup_bufs(zhandle_t *zh,int callCompletion,int rc) function handle_error (line 1262) | static void handle_error(zhandle_t *zh,int rc) function handle_socket_error_msg (line 1284) | static int handle_socket_error_msg(zhandle_t *zh, int line, int rc, function auth_completion_func (line 1301) | static void auth_completion_func(int rc, zhandle_t* zh) function send_info_packet (line 1341) | static int send_info_packet(zhandle_t *zh, auth_info* auth) { function send_auth_info (line 1362) | static int send_auth_info(zhandle_t *zh) { function send_last_auth_info (line 1381) | static int send_last_auth_info(zhandle_t *zh) function free_key_list (line 1398) | static void free_key_list(char **list, int count) function send_set_watches (line 1408) | static int send_set_watches(zhandle_t *zh) function serialize_prime_connect (line 1445) | static int serialize_prime_connect(struct connect_req *req, char* buffer){ function deserialize_prime_response (line 1473) | static int deserialize_prime_response(struct prime_struct *req, char* bu... function prime_connection (line 1500) | static int prime_connection(zhandle_t *zh) function calculate_interval (line 1534) | static inline int calculate_interval(const struct timeval *start, function get_timeval (line 1545) | static struct timeval get_timeval(int interval) function send_ping (line 1561) | int send_ping(zhandle_t* zh) type timeval (line 1579) | struct timeval type timeval (line 1585) | struct timeval type timeval (line 1588) | struct timeval type sockaddr (line 1633) | struct sockaddr type sockaddr_in6 (line 1633) | struct sockaddr_in6 type sockaddr (line 1639) | struct sockaddr type sockaddr_in (line 1639) | struct sockaddr_in function check_events (line 1744) | static int check_events(zhandle_t *zh, int events) function api_prolog (line 1832) | void api_prolog(zhandle_t* zh) function api_epilog (line 1837) | int api_epilog(zhandle_t *zh,int rc) function print_completion_queue (line 1844) | static __attribute__((unused)) void print_completion_queue(zhandle_t *zh) function queue_session_event (line 1866) | static int queue_session_event(zhandle_t *zh, int state) function completion_list_t (line 1906) | completion_list_t *dequeue_completion(completion_head_t *list) function process_sync_completion (line 1922) | static void process_sync_completion( function deserialize_multi (line 2021) | static int deserialize_multi(int xid, completion_list_t *cptr, struct ia... function deserialize_response (line 2052) | static void deserialize_response(int type, int xid, int failed, int rc, ... function process_completions (line 2149) | void process_completions(zhandle_t *zh) function isSocketReadable (line 2180) | static void isSocketReadable(zhandle_t* zh) function checkResponseLatency (line 2205) | static void checkResponseLatency(zhandle_t* zh) function zookeeper_process (line 2221) | int zookeeper_process(zhandle_t *zh, int events) function zoo_state (line 2350) | int zoo_state(zhandle_t *zh) function watcher_registration_t (line 2357) | static watcher_registration_t* create_watcher_registration(const char* p... function destroy_watcher_registration (line 2370) | static void destroy_watcher_registration(watcher_registration_t* wo){ function completion_list_t (line 2377) | static completion_list_t* create_completion_entry(int xid, int completio... function destroy_completion_entry (line 2421) | static void destroy_completion_entry(completion_list_t* c){ function queue_completion_nolock (line 2430) | static void queue_completion_nolock(completion_head_t *list, function queue_completion (line 2454) | static void queue_completion(completion_head_t *list, completion_list_t *c, function add_completion (line 2463) | static int add_completion(zhandle_t *zh, int xid, int completion_type, function add_data_completion (line 2487) | static int add_data_completion(zhandle_t *zh, int xid, data_completion_t... function add_stat_completion (line 2493) | static int add_stat_completion(zhandle_t *zh, int xid, stat_completion_t... function add_strings_completion (line 2499) | static int add_strings_completion(zhandle_t *zh, int xid, function add_strings_stat_completion (line 2505) | static int add_strings_stat_completion(zhandle_t *zh, int xid, function add_acl_completion (line 2511) | static int add_acl_completion(zhandle_t *zh, int xid, acl_completion_t dc, function add_void_completion (line 2517) | static int add_void_completion(zhandle_t *zh, int xid, void_completion_t... function add_string_completion (line 2523) | static int add_string_completion(zhandle_t *zh, int xid, function add_multi_completion (line 2529) | static int add_multi_completion(zhandle_t *zh, int xid, void_completion_... function zookeeper_close (line 2535) | int zookeeper_close(zhandle_t *zh) function isValidPath (line 2595) | static int isValidPath(const char* path, const int flags) { function Request_path_init (line 2643) | static int Request_path_init(zhandle_t *zh, int flags, function Request_path_watch_init (line 2661) | static int Request_path_watch_init(zhandle_t *zh, int flags, function zoo_aget (line 2676) | int zoo_aget(zhandle_t *zh, const char *path, int watch, data_completion... function zoo_awget (line 2682) | int zoo_awget(zhandle_t *zh, const char *path, function SetDataRequest_init (line 2720) | static int SetDataRequest_init(zhandle_t *zh, struct SetDataRequest *req, function zoo_aset (line 2736) | int zoo_aset(zhandle_t *zh, const char *path, const char *buffer, int bu... function CreateRequest_init (line 2765) | static int CreateRequest_init(zhandle_t *zh, struct CreateRequest *req, function zoo_acreate (line 2789) | int zoo_acreate(zhandle_t *zh, const char *path, const char *value, function DeleteRequest_init (line 2821) | int DeleteRequest_init(zhandle_t *zh, struct DeleteRequest *req, function zoo_adelete (line 2832) | int zoo_adelete(zhandle_t *zh, const char *path, int version, function zoo_aexists (line 2861) | int zoo_aexists(zhandle_t *zh, const char *path, int watch, function zoo_awexists (line 2867) | int zoo_awexists(zhandle_t *zh, const char *path, function zoo_awget_children_ (line 2900) | static int zoo_awget_children_(zhandle_t *zh, const char *path, function zoo_aget_children (line 2933) | int zoo_aget_children(zhandle_t *zh, const char *path, int watch, function zoo_awget_children (line 2939) | int zoo_awget_children(zhandle_t *zh, const char *path, function zoo_awget_children2_ (line 2947) | static int zoo_awget_children2_(zhandle_t *zh, const char *path, function zoo_aget_children2 (line 2981) | int zoo_aget_children2(zhandle_t *zh, const char *path, int watch, function zoo_awget_children2 (line 2987) | int zoo_awget_children2(zhandle_t *zh, const char *path, function zoo_async (line 2995) | int zoo_async(zhandle_t *zh, const char *path, function zoo_aget_acl (line 3025) | int zoo_aget_acl(zhandle_t *zh, const char *path, acl_completion_t compl... function zoo_aset_acl (line 3054) | int zoo_aset_acl(zhandle_t *zh, const char *path, int version, function op_result_string_completion (line 3086) | static void op_result_string_completion(int err, const char *value, cons... function op_result_void_completion (line 3106) | static void op_result_void_completion(int err, const void *data) function op_result_stat_completion (line 3113) | static void op_result_stat_completion(int err, const struct Stat *stat, ... function CheckVersionRequest_init (line 3126) | static int CheckVersionRequest_init(zhandle_t *zh, struct CheckVersionRe... function zoo_amulti (line 3140) | int zoo_amulti(zhandle_t *zh, int count, const zoo_op_t *ops, function zoo_create_op_init (line 3246) | void zoo_create_op_init(zoo_op_t *op, const char *path, const char *value, function zoo_delete_op_init (line 3261) | void zoo_delete_op_init(zoo_op_t *op, const char *path, int version) function zoo_set_op_init (line 3269) | void zoo_set_op_init(zoo_op_t *op, const char *path, const char *buffer, function zoo_check_op_init (line 3281) | void zoo_check_op_init(zoo_op_t *op, const char *path, int version) function zoo_multi (line 3289) | int zoo_multi(zhandle_t *zh, int count, const zoo_op_t *ops, zoo_op_resu... function flush_send_queue (line 3310) | int flush_send_queue(zhandle_t*zh, int timeout) function zoo_add_auth (line 3433) | int zoo_add_auth(zhandle_t *zh,const char* scheme,const char* cert, type sockaddr_storage (line 3478) | struct sockaddr_storage type sockaddr_in6 (line 3492) | struct sockaddr_in6 type sockaddr_in6 (line 3493) | struct sockaddr_in6 type sockaddr_in (line 3496) | struct sockaddr_in type sockaddr_in (line 3497) | struct sockaddr_in type in_addr (line 3502) | struct in_addr function zoo_deterministic_conn_order (line 3516) | void zoo_deterministic_conn_order(int yesOrNo) function zoo_create (line 3524) | int zoo_create(zhandle_t *zh, const char *path, const char *value, function zoo_delete (line 3544) | int zoo_delete(zhandle_t *zh, const char *path, int version) function zoo_exists (line 3560) | int zoo_exists(zhandle_t *zh, const char *path, int watch, struct Stat *... function zoo_wexists (line 3565) | int zoo_wexists(zhandle_t *zh, const char *path, function zoo_get (line 3585) | int zoo_get(zhandle_t *zh, const char *path, int watch, char *buffer, function zoo_wget (line 3592) | int zoo_wget(zhandle_t *zh, const char *path, function zoo_set (line 3620) | int zoo_set(zhandle_t *zh, const char *path, const char *buffer, int buf... function zoo_set2 (line 3626) | int zoo_set2(zhandle_t *zh, const char *path, const char *buffer, int bu... function zoo_wget_children_ (line 3646) | static int zoo_wget_children_(zhandle_t *zh, const char *path, function zoo_wget_children2_ (line 3671) | static int zoo_wget_children2_(zhandle_t *zh, const char *path, function zoo_get_children (line 3698) | int zoo_get_children(zhandle_t *zh, const char *path, int watch, function zoo_wget_children (line 3704) | int zoo_wget_children(zhandle_t *zh, const char *path, function zoo_get_children2 (line 3711) | int zoo_get_children2(zhandle_t *zh, const char *path, int watch, function zoo_wget_children2 (line 3717) | int zoo_wget_children2(zhandle_t *zh, const char *path, function zoo_get_acl (line 3724) | int zoo_get_acl(zhandle_t *zh, const char *path, struct ACL_vector *acl, function zoo_set_acl (line 3751) | int zoo_set_acl(zhandle_t *zh, const char *path, int version, FILE: src/c/tests/CollectionUtil.h function namespace (line 26) | namespace Util FILE: src/c/tests/LibCMocks.cc type hostent (line 34) | struct hostent function hostent (line 54) | hostent* Mock_gethostbyname::call(const char* name) { function freeList (line 80) | static void freeList(char **list){ function DECLARE_WRAPPER (line 124) | DECLARE_WRAPPER(void*,calloc,(size_t p1, size_t p2)){ function DECLARE_WRAPPER (line 150) | DECLARE_WRAPPER(void*,realloc,(void* p, size_t s)){ function RANDOM_RET_TYPE (line 170) | RANDOM_RET_TYPE random(){ function srandom (line 176) | void srandom(unsigned long seed){ function DECLARE_WRAPPER (line 193) | DECLARE_WRAPPER(void,free,(void* p)){ function socket (line 237) | int socket(int domain, int type, int protocol){ function close (line 243) | int close(int fd){ function getsockopt (line 249) | int getsockopt(int s,int level,int optname,void *optval,socklen_t *optlen){ function setsockopt (line 255) | int setsockopt(int s,int level,int optname,const void *optval,socklen_t ... function connect (line 260) | int connect(int s,const struct sockaddr *addr,socklen_t len){ function send (line 265) | ssize_t send(int s,const void *buf,size_t len,int flags){ function recv (line 271) | ssize_t recv(int s,void *buf,size_t len,int flags){ function fcntl (line 281) | int fcntl(int fd,int cmd,...){ function select (line 295) | int select(int nfds,fd_set *rfds,fd_set *wfds,fd_set *efds,struct timeva... function poll (line 306) | int poll(struct pollfd *fds, POLL_NFDS_TYPE nfds, int timeout){ function __poll_chk (line 318) | int __poll_chk (struct pollfd *__fds, nfds_t __nfds, int __timeout, function gettimeofday (line 326) | int gettimeofday(struct timeval *tp, GETTIMEOFDAY_ARG2_TYPE tzp){ FILE: src/c/tests/LibCMocks.h function class (line 36) | class Mock_gethostbyname: public Mock type std (line 51) | typedef std::vector HostEntryCollection; function class (line 57) | class MockFailed_gethostbyname: public Mock_gethostbyname function class (line 72) | class Mock_calloc: public Mock function class (line 91) | class Mock_realloc: public Mock function class (line 110) | class Mock_random: public Mock function class (line 126) | class Mock_free_noop: public Mock function class (line 152) | class Mock_socket: public Mock function virtual (line 163) | virtual ~Mock_socket(){mock_=0;} function virtual (line 166) | virtual int callSocket(int domain, int type, int protocol){ function virtual (line 170) | virtual int callClose(int fd){ function virtual (line 175) | virtual int callGet(int s,int level,int optname,void *optval,socklen_t *... function virtual (line 181) | virtual void setSO_ERROR(void *optval,socklen_t len){ function virtual (line 186) | virtual int callSet(int s,int level,int optname,const void *optval,sockl... function virtual (line 191) | virtual int callConnect(int s,const struct sockaddr *addr,socklen_t len){ function virtual (line 196) | virtual void notifyBufferSent(const std::string& buffer){} function virtual (line 200) | virtual ssize_t callSend(int s,const void *buf,size_t len,int flags){ function virtual (line 218) | virtual ssize_t callRecv(int s,void *buf,size_t len,int flags){ function class (line 238) | class Mock_fcntl: public Mock function class (line 257) | class Mock_select: public Mock function class (line 299) | class Mock_poll: public Mock function class (line 341) | class Mock_gettimeofday: public Mock function virtual (line 377) | virtual void tick(const timeval& howmuch){ function toMilliseconds (line 404) | inline int32_t toMilliseconds(const timeval& tv){ FILE: src/c/tests/LibCSymTable.cc function LibCSymTable (line 26) | LibCSymTable& LibCSymTable::instance(){ FILE: src/c/tests/LibCSymTable.h type LibCSymTable (line 63) | struct LibCSymTable FILE: src/c/tests/MocksBase.h function class (line 27) | class Mock FILE: src/c/tests/PthreadMocks.cc function pthread_cond_broadcast (line 26) | int pthread_cond_broadcast (pthread_cond_t *c){ function pthread_cond_destroy (line 31) | int pthread_cond_destroy (pthread_cond_t *c){ function pthread_cond_init (line 36) | int pthread_cond_init (pthread_cond_t *c, const pthread_condattr_t *a){ function pthread_cond_signal (line 41) | int pthread_cond_signal (pthread_cond_t *c){ function pthread_cond_timedwait (line 46) | int pthread_cond_timedwait (pthread_cond_t *c, function pthread_cond_wait (line 52) | int pthread_cond_wait (pthread_cond_t *c, pthread_mutex_t *m){ function pthread_create (line 57) | int pthread_create (pthread_t *t, const pthread_attr_t *a, function pthread_detach (line 63) | int pthread_detach(pthread_t t){ function pthread_join (line 68) | int pthread_join (pthread_t t, void **r){ function pthread_mutex_destroy (line 73) | int pthread_mutex_destroy (pthread_mutex_t *m){ function pthread_mutex_init (line 78) | int pthread_mutex_init (pthread_mutex_t *m, const pthread_mutexattr_t *a){ function DECLARE_WRAPPER (line 84) | DECLARE_WRAPPER(int,pthread_mutex_lock,(pthread_mutex_t *m)){ function pthread_mutex_trylock (line 90) | int pthread_mutex_trylock (pthread_mutex_t *m){ function DECLARE_WRAPPER (line 96) | DECLARE_WRAPPER(int,pthread_mutex_unlock,(pthread_mutex_t *m)){ FILE: src/c/tests/PthreadMocks.h function class (line 34) | class MockPthreadsBase: public Mock function class (line 62) | class MockPthreadsNull: public MockPthreadsBase function virtual (line 88) | virtual int pthread_create(pthread_t * t, const pthread_attr_t *a, function virtual (line 98) | virtual int pthread_join(pthread_t t, void ** r){ function virtual (line 108) | virtual int pthread_detach(pthread_t t){ function isInitialized (line 116) | bool isInitialized(const T& t){ function isDestroyed (line 120) | bool isDestroyed(const T& t){ function getDestroyCounter (line 124) | int getDestroyCounter(const T& t){ function getInvalidAccessCounter (line 128) | int getInvalidAccessCounter(const T& t){ function virtual (line 133) | virtual int pthread_cond_broadcast(pthread_cond_t *c){ function virtual (line 140) | virtual int pthread_cond_destroy(pthread_cond_t *c){ function virtual (line 148) | virtual int pthread_cond_init(pthread_cond_t *c, const pthread_condattr_... function virtual (line 158) | virtual int pthread_cond_signal(pthread_cond_t *c){ function virtual (line 165) | virtual int pthread_cond_timedwait(pthread_cond_t *c, function virtual (line 173) | virtual int pthread_cond_wait(pthread_cond_t *c, pthread_mutex_t *m){ function virtual (line 180) | virtual int pthread_mutex_destroy(pthread_mutex_t *m){ function virtual (line 188) | virtual int pthread_mutex_init(pthread_mutex_t *m, const pthread_mutexat... function virtual (line 198) | virtual int pthread_mutex_lock(pthread_mutex_t *m){ function virtual (line 205) | virtual int pthread_mutex_trylock(pthread_mutex_t *m){ function virtual (line 212) | virtual int pthread_mutex_unlock(pthread_mutex_t *m){ function class (line 221) | class MockPthreadZKNull: public MockPthreadsNull function virtual (line 236) | virtual int pthread_join(pthread_t t, void ** r){ type ThreadInfo (line 244) | struct ThreadInfo{ function class (line 269) | class CheckedPthread: public MockPthreadsBase FILE: src/c/tests/TestClient.cc type buff_struct_2 (line 43) | struct buff_struct_2 { function Stat_eq (line 49) | static int Stat_eq(struct Stat* a, struct Stat* b) function yield (line 65) | static void yield(zhandle_t *zh, int i) function yield (line 70) | static void yield(zhandle_t *zh, int seconds) type evt (line 118) | struct evt { type watchCtx (line 123) | struct watchCtx { method watchCtx (line 133) | watchCtx() { method evt_t (line 144) | evt_t getEvent() { method countEvents (line 154) | int countEvents() { method putEvent (line 162) | void putEvent(evt_t evt) { method waitForConnected (line 168) | bool waitForConnected(zhandle_t *zh) { method waitForDisconnected (line 175) | bool waitForDisconnected(zhandle_t *zh) { class Zookeeper_simpleSystem (line 184) | class Zookeeper_simpleSystem : public CPPUNIT_NS::TestFixture method watcher (line 208) | static void watcher(zhandle_t *, int type, int state, const char *path... method zhandle_t (line 230) | zhandle_t *createClient(watchctx_t *ctx) { method zhandle_t (line 234) | zhandle_t *createClient(const char *hp, watchctx_t *ctx) { method zhandle_t (line 241) | zhandle_t *createchClient(watchctx_t *ctx, const char* chroot) { method Zookeeper_simpleSystem (line 251) | Zookeeper_simpleSystem() { method setUp (line 263) | void setUp() method startServer (line 269) | void startServer() { method stopServer (line 275) | void stopServer() { method tearDown (line 281) | void tearDown() method default_zoo_watcher (line 286) | static void default_zoo_watcher(zhandle_t *zzh, int type, int state, c... method testFirstServerDown (line 293) | void testFirstServerDown() { method testHangingClient (line 304) | void testHangingClient() { method testPing (line 321) | void testPing() method waitForEvent (line 359) | bool waitForEvent(zhandle_t *zh, watchctx_t *ctx, int seconds) { method statCompletion (line 373) | static void statCompletion(int rc, const struct Stat *stat, const void... method stringCompletion (line 378) | static void stringCompletion(int rc, const char *value, const void *da... method create_completion_fn (line 392) | static void create_completion_fn(int rc, const char* value, const void... method waitForCreateCompletion (line 397) | static void waitForCreateCompletion(int seconds) { method watcher_chroot_fn (line 405) | static void watcher_chroot_fn(zhandle_t *zh, int type, method waitForChrootWatch (line 413) | static void waitForChrootWatch(int seconds) { method waitForVoidCompletion (line 421) | static void waitForVoidCompletion(int seconds) { method voidCompletion (line 429) | static void voidCompletion(int rc, const void *data) { method verifyCreateFails (line 435) | static void verifyCreateFails(const char *path, zhandle_t *zk) { method verifyCreateOk (line 440) | static void verifyCreateOk(const char *path, zhandle_t *zk) { method verifyCreateFailsSeq (line 445) | static void verifyCreateFailsSeq(const char *path, zhandle_t *zk) { method verifyCreateOkSeq (line 450) | static void verifyCreateOkSeq(const char *path, zhandle_t *zk) { method compareAcl (line 459) | bool compareAcl(struct ACL_vector acl1, struct ACL_vector acl2) { method testDeserializeString (line 479) | void testDeserializeString() { method testAcl (line 493) | void testAcl() { method testAuth (line 515) | void testAuth() { method testGetChildren2 (line 637) | void testGetChildren2() { method testIPV6 (line 670) | void testIPV6() { method testNullData (line 680) | void testNullData() { method testPath (line 701) | void testPath() { method testPathValidation (line 740) | void testPathValidation() { method testChroot (line 791) | void testChroot() { method testAsyncWatcherAutoReset (line 888) | void testAsyncWatcherAutoReset() method testWatcherAutoReset (line 943) | void testWatcherAutoReset(zhandle_t *zk, watchctx_t *ctxGlobal, method testWatcherAutoResetWithGlobal (line 1093) | void testWatcherAutoResetWithGlobal() method testWatcherAutoResetWithLocal (line 1112) | void testWatcherAutoResetWithLocal() FILE: src/c/tests/TestClientRetry.cc function yield (line 43) | static void yield(zhandle_t *zh, int i) function yield (line 48) | static void yield(zhandle_t *zh, int seconds) type evt (line 96) | struct evt { type watchCtx (line 101) | struct watchCtx { method watchCtx (line 109) | watchCtx() { method evt_t (line 120) | evt_t getEvent() { method countEvents (line 130) | int countEvents() { method putEvent (line 138) | void putEvent(evt_t evt) { method waitForConnected (line 144) | bool waitForConnected(zhandle_t *zh) { method waitForDisconnected (line 151) | bool waitForDisconnected(zhandle_t *zh) { class Zookeeper_clientretry (line 160) | class Zookeeper_clientretry : public CPPUNIT_NS::TestFixture method watcher (line 168) | static void watcher(zhandle_t *, int type, int state, const char *path... method zhandle_t (line 190) | zhandle_t *createClient(watchctx_t *ctx) { method Zookeeper_clientretry (line 201) | Zookeeper_clientretry() { method setUp (line 213) | void setUp() method tearDown (line 232) | void tearDown() method waitForEvent (line 249) | bool waitForEvent(zhandle_t *zh, watchctx_t *ctx, int seconds) { method testRetry (line 259) | void testRetry() FILE: src/c/tests/TestDriver.cc function CPPUNIT_NS_BEGIN (line 44) | CPPUNIT_NS_BEGIN function CPPUNIT_NS_END (line 73) | CPPUNIT_NS_END function endTest (line 84) | void endTest( CPPUNIT_NS::Test *test ) type timeval (line 98) | struct timeval class ZKServer (line 101) | class ZKServer { method ZKServer (line 103) | ZKServer() { function main (line 121) | int main( int argc, char* argv[] ) { FILE: src/c/tests/TestMulti.cc function yield (line 44) | static void yield(zhandle_t *zh, int i) function yield (line 49) | static void yield(zhandle_t *zh, int seconds) type evt (line 97) | struct evt { type watchCtx (line 102) | struct watchCtx { method watchCtx (line 112) | watchCtx() { method evt_t (line 123) | evt_t getEvent() { method countEvents (line 133) | int countEvents() { method putEvent (line 141) | void putEvent(evt_t evt) { method waitForConnected (line 147) | bool waitForConnected(zhandle_t *zh) { method waitForDisconnected (line 154) | bool waitForDisconnected(zhandle_t *zh) { class Zookeeper_multi (line 163) | class Zookeeper_multi : public CPPUNIT_NS::TestFixture method watcher (line 184) | static void watcher(zhandle_t *, int type, int state, const char *path... method zhandle_t (line 206) | zhandle_t *createClient(watchctx_t *ctx) { method zhandle_t (line 210) | zhandle_t *createClient(const char *hp, watchctx_t *ctx) { method Zookeeper_multi (line 220) | Zookeeper_multi() { method setUp (line 232) | void setUp() method tearDown (line 237) | void tearDown() method multi_completion_fn (line 243) | static void multi_completion_fn(int rc, const void *data) { method multi_completion_fn_no_assert (line 248) | static void multi_completion_fn_no_assert(int rc, const void *data) { method waitForMultiCompletion (line 252) | static void waitForMultiCompletion(int seconds) { method resetCounter (line 260) | static void resetCounter() { method testCreate (line 267) | void testCreate() { method testCreateDelete (line 301) | void testCreateDelete() { method testInvalidVersion (line 326) | void testInvalidVersion() { method testNestedCreate (line 350) | void testNestedCreate() { method testSetData (line 388) | void testSetData() { method testUpdateConflict (line 439) | void testUpdateConflict() { method testDeleteUpdateConflict (line 475) | void testDeleteUpdateConflict() { method testAsyncMulti (line 501) | void testAsyncMulti() { method testMultiFail (line 533) | void testMultiFail() { method testCheck (line 560) | void testCheck() { method doMultiInWatch (line 609) | static void doMultiInWatch(zhandle_t *zk, int type, int state, const c... method testWatch (line 637) | void testWatch() { method testSequentialNodeCreateInAsyncMulti (line 668) | void testSequentialNodeCreateInAsyncMulti() { FILE: src/c/tests/TestOperations.cc class Zookeeper_operations (line 27) | class Zookeeper_operations : public CPPUNIT_NS::TestFixture method watcher (line 46) | static void watcher(zhandle_t *, int, int, const char *,void*){} method Zookeeper_operations (line 48) | Zookeeper_operations() { method setUp (line 60) | void setUp() method tearDown (line 68) | void tearDown() class AsyncGetOperationCompletion (line 73) | class AsyncGetOperationCompletion: public AsyncCompletion{ method AsyncGetOperationCompletion (line 75) | AsyncGetOperationCompletion():called_(false),rc_(ZAPIERROR){} method dataCompl (line 76) | virtual void dataCompl(int rc, const char *value, int len, const Sta... method testConcurrentOperations1 (line 98) | void testConcurrentOperations1() method testOperationsAndDisconnectConcurrently1 (line 141) | void testOperationsAndDisconnectConcurrently1() method testOperationsAndDisconnectConcurrently2 (line 184) | void testOperationsAndDisconnectConcurrently2() class PingCountingServer (line 219) | class PingCountingServer: public ZookeeperServer{ method PingCountingServer (line 221) | PingCountingServer():pingCount_(0){} method onMessageReceived (line 223) | virtual void onMessageReceived(const RequestHeader& rh, iarchive* ia){ method testPing (line 233) | void testPing() method testUnsolicitedPing (line 310) | void testUnsolicitedPing() method testTimeoutCausedByWatches1 (line 345) | void testTimeoutCausedByWatches1() method testTimeoutCausedByWatches2 (line 392) | void testTimeoutCausedByWatches2() class TestGetDataJob (line 448) | class TestGetDataJob: public TestJob{ method TestGetDataJob (line 450) | TestGetDataJob(ZookeeperServer* svr,zhandle_t* zh, int reps=500) method run (line 452) | virtual void run(){ class TestConcurrentOpJob (line 475) | class TestConcurrentOpJob: public TestGetDataJob{ method TestConcurrentOpJob (line 478) | TestConcurrentOpJob(ZookeeperServer* svr,zhandle_t* zh): method TestJob (line 480) | virtual TestJob* clone() const { method validate (line 483) | virtual void validate(const char* file, int line) const{ method testConcurrentOperations1 (line 487) | void testConcurrentOperations1() class ZKGetJob (line 510) | class ZKGetJob: public TestJob{ method ZKGetJob (line 513) | ZKGetJob(zhandle_t* zh) method TestJob (line 515) | virtual TestJob* clone() const { method run (line 518) | virtual void run(){ method validate (line 530) | virtual void validate(const char* file, int line) const{ method testOperationsAndDisconnectConcurrently2 (line 542) | void testOperationsAndDisconnectConcurrently2() class TestConcurrentOpWithDisconnectJob (line 582) | class TestConcurrentOpWithDisconnectJob: public TestGetDataJob{ method TestConcurrentOpWithDisconnectJob (line 585) | TestConcurrentOpWithDisconnectJob(ZookeeperServer* svr,zhandle_t* zh): method TestJob (line 587) | virtual TestJob* clone() const { method validate (line 590) | virtual void validate(const char* file, int line) const{ method testOperationsAndDisconnectConcurrently1 (line 599) | void testOperationsAndDisconnectConcurrently1() method testAsyncGetOperation (line 630) | void testAsyncGetOperation() class ChangeNodeWatcher (line 653) | class ChangeNodeWatcher: public WatcherAction{ method ChangeNodeWatcher (line 655) | ChangeNodeWatcher():changed_(false){} method onNodeValueChanged (line 656) | virtual void onNodeValueChanged(zhandle_t*,const char* path){ method SyncedBoolCondition (line 664) | SyncedBoolCondition isNodeChangedTriggered() const{ class AsyncWatcherCompletion (line 671) | class AsyncWatcherCompletion: public AsyncCompletion{ method AsyncWatcherCompletion (line 673) | AsyncWatcherCompletion(ZookeeperServer& zkServer):zkServer_(zkServer){} method statCompl (line 674) | virtual void statCompl(int rc, const Stat *stat){ method testAsyncWatcher1 (line 682) | void testAsyncWatcher1(){ FILE: src/c/tests/TestWatchers.cc class Zookeeper_watchers (line 26) | class Zookeeper_watchers : public CPPUNIT_NS::TestFixture method watcher (line 38) | static void watcher(zhandle_t *, int, int, const char *,void*){} method Zookeeper_watchers (line 44) | Zookeeper_watchers() { method setUp (line 56) | void setUp() method tearDown (line 64) | void tearDown() class ConnectionWatcher (line 69) | class ConnectionWatcher: public WatcherAction{ method ConnectionWatcher (line 71) | ConnectionWatcher():connected_(false),counter_(0){} method onConnectionEstablished (line 72) | virtual void onConnectionEstablished(zhandle_t*){ method SyncedBoolCondition (line 77) | SyncedBoolCondition isConnectionEstablished() const{ class DisconnectWatcher (line 84) | class DisconnectWatcher: public WatcherAction{ method DisconnectWatcher (line 86) | DisconnectWatcher():disconnected_(false),counter_(0){} method onConnectionLost (line 87) | virtual void onConnectionLost(zhandle_t*){ method SyncedBoolCondition (line 92) | SyncedBoolCondition isDisconnected() const{ class CountingDataWatcher (line 99) | class CountingDataWatcher: public WatcherAction{ method CountingDataWatcher (line 101) | CountingDataWatcher():disconnected_(false),counter_(0){} method onNodeValueChanged (line 102) | virtual void onNodeValueChanged(zhandle_t*,const char* path){ method onConnectionLost (line 106) | virtual void onConnectionLost(zhandle_t*){ class DeletionCountingDataWatcher (line 115) | class DeletionCountingDataWatcher: public WatcherAction{ method DeletionCountingDataWatcher (line 117) | DeletionCountingDataWatcher():counter_(0){} method onNodeDeleted (line 118) | virtual void onNodeDeleted(zhandle_t*,const char* path){ class ChildEventCountingWatcher (line 125) | class ChildEventCountingWatcher: public WatcherAction{ method ChildEventCountingWatcher (line 127) | ChildEventCountingWatcher():counter_(0){} method onChildChanged (line 128) | virtual void onChildChanged(zhandle_t*,const char* path){ method testDefaultSessionWatcher1 (line 138) | void testDefaultSessionWatcher1(){ method testDefaultSessionWatcher2 (line 171) | void testDefaultSessionWatcher2(){ method testObjectSessionWatcher1 (line 205) | void testObjectSessionWatcher1(){ method testObjectSessionWatcher2 (line 247) | void testObjectSessionWatcher2(){ method testNodeWatcher1 (line 296) | void testNodeWatcher1(){ method testChildWatcher1 (line 345) | void testChildWatcher1(){ method testChildWatcher2 (line 395) | void testChildWatcher2(){ method testDefaultSessionWatcher1 (line 445) | void testDefaultSessionWatcher1(){ method testDefaultSessionWatcher2 (line 472) | void testDefaultSessionWatcher2(){ method testObjectSessionWatcher1 (line 509) | void testObjectSessionWatcher1(){ method testObjectSessionWatcher2 (line 560) | void testObjectSessionWatcher2(){ method testNodeWatcher1 (line 619) | void testNodeWatcher1(){ method testChildWatcher1 (line 677) | void testChildWatcher1(){ method testChildWatcher2 (line 725) | void testChildWatcher2(){ FILE: src/c/tests/TestZookeeperClose.cc class Zookeeper_close (line 29) | class Zookeeper_close : public CPPUNIT_NS::TestFixture method watcher (line 41) | static void watcher(zhandle_t *, int, int, const char *,void*){} method Zookeeper_close (line 45) | Zookeeper_close() { method setUp (line 57) | void setUp() method tearDown (line 65) | void tearDown() class CloseOnSessionExpired (line 70) | class CloseOnSessionExpired: public WatcherAction{ method CloseOnSessionExpired (line 72) | CloseOnSessionExpired(bool callClose=true): method onSessionExpired (line 74) | virtual void onSessionExpired(zhandle_t* zh){ method testCloseUnconnected (line 85) | void testCloseUnconnected() method testCloseUnconnected1 (line 108) | void testCloseUnconnected1() method testCloseConnected1 (line 135) | void testCloseConnected1() method testCloseFromWatcher1 (line 180) | void testCloseFromWatcher1() method testCloseUnconnected (line 226) | void testCloseUnconnected() method testCloseUnconnected1 (line 273) | void testCloseUnconnected1() method testCloseConnected1 (line 285) | void testCloseConnected1() type PointerFreed (line 338) | struct PointerFreed{ method PointerFreed (line 339) | PointerFreed(Mock_free_noop& freeMock,void* ptr): method testCloseFromWatcher1 (line 347) | void testCloseFromWatcher1() method testIOThreadStoppedOnExpire (line 403) | void testIOThreadStoppedOnExpire() FILE: src/c/tests/TestZookeeperInit.cc class MockPthreadsNull (line 31) | class MockPthreadsNull class Zookeeper_init (line 36) | class Zookeeper_init : public CPPUNIT_NS::TestFixture method watcher (line 58) | static void watcher(zhandle_t *, int , int , const char *,void*){} method Zookeeper_init (line 61) | Zookeeper_init():zh(0),pthreadMock(0){ method setUp (line 73) | void setUp() method tearDown (line 85) | void tearDown() method testBasic (line 93) | void testBasic() method testAddressResolution (line 136) | void testAddressResolution() method testMultipleAddressResolution (line 152) | void testMultipleAddressResolution() method testMultipleAddressWithSpace (line 173) | void testMultipleAddressWithSpace() method testNullAddressString (line 194) | void testNullAddressString() method testEmptyAddressString (line 200) | void testEmptyAddressString() method testOneSpaceAddressString (line 207) | void testOneSpaceAddressString() method testTwoSpacesAddressString (line 214) | void testTwoSpacesAddressString() method testInvalidAddressString1 (line 221) | void testInvalidAddressString1() method testInvalidAddressString2 (line 228) | void testInvalidAddressString2() method testNonexistentHost (line 235) | void testNonexistentHost() method testOutOfMemory_init (line 247) | void testOutOfMemory_init() method testOutOfMemory_getaddrs1 (line 257) | void testOutOfMemory_getaddrs1() method testOutOfMemory_getaddrs2 (line 267) | void testOutOfMemory_getaddrs2() method testPermuteAddrsList (line 277) | void testPermuteAddrsList() FILE: src/c/tests/ThreadingUtil.cc type Mutex::Impl (line 27) | struct Mutex::Impl{ method Impl (line 28) | Impl(){ function atomic_post_incr (line 48) | int32_t atomic_post_incr(volatile int32_t* operand, int32_t incr) function atomic_fetch_store (line 62) | int32_t atomic_fetch_store(volatile int32_t *ptr, int32_t value) function atomic_post_incr (line 76) | int32_t atomic_post_incr(volatile int32_t* operand, int32_t incr){ function atomic_fetch_store (line 81) | int32_t atomic_fetch_store(volatile int32_t *ptr, int32_t value) FILE: src/c/tests/ThreadingUtil.h function class (line 37) | class AtomicInt{ function class (line 84) | class Mutex{ function class (line 97) | class MTLock{ function class (line 107) | class Latch { function class (line 165) | class TestJob { function virtual (line 185) | virtual void join() { function signalFinished (line 198) | void signalFinished() { function class (line 215) | class TestJobManager { function class (line 252) | class Mutex{ FILE: src/c/tests/Util.cc function millisleep (line 26) | void millisleep(int ms){ function FILE (line 33) | FILE *openlogfile(const char* testname) { FILE: src/c/tests/Util.h type T (line 49) | typedef T BareT; type T (line 50) | typedef T ArgT; type typename (line 57) | typedef typename TypeOp::BareT BareT; type typename (line 64) | typedef typename TypeOp::BareT BareT; type std (line 72) | typedef std::map Map; function class (line 110) | class TestConfig{ FILE: src/c/tests/Vector.h type std (line 26) | typedef std::vector V; FILE: src/c/tests/ZKMocks.cc function HandshakeRequest (line 35) | HandshakeRequest* HandshakeRequest::parse(const std::string& buf){ function activeWatcher (line 69) | void activeWatcher(zhandle_t *zh, int type, int state, const char *path,... function SyncedBoolCondition (line 90) | SyncedBoolCondition WatcherAction::isWatcherTriggered() const{ function asyncCompletion (line 96) | void asyncCompletion(int rc, ACL_vector *acl,Stat *stat, const void *data){ function asyncCompletion (line 100) | void asyncCompletion(int rc, const char *value, int len, const Stat *stat, function asyncCompletion (line 105) | void asyncCompletion(int rc, const Stat *stat, const void *data){ function asyncCompletion (line 109) | void asyncCompletion(int rc, const char *value, const void *data){ function asyncCompletion (line 113) | void asyncCompletion(int rc,const String_vector *strings, const void *da... function asyncCompletion (line 117) | void asyncCompletion(int rc, const void *data){ function DECLARE_WRAPPER (line 136) | DECLARE_WRAPPER(int,flush_send_queue,(zhandle_t*zh, int timeout)) function DECLARE_WRAPPER (line 147) | DECLARE_WRAPPER(int32_t,get_xid,()) function DECLARE_WRAPPER (line 159) | DECLARE_WRAPPER(void,activateWatcher,(zhandle_t *zh, watcher_registratio... class ActivateWatcherWrapper (line 169) | class ActivateWatcherWrapper: public Mock_activateWatcher{ method ActivateWatcherWrapper (line 171) | ActivateWatcherWrapper():ctx_(0),activated_(false){} method call (line 173) | virtual void call(zhandle_t *zh, watcher_registration_t* reg, int rc){ method setContext (line 182) | void setContext(void* ctx){ method SyncedBoolCondition (line 188) | SyncedBoolCondition isActivated() const{ function SyncedBoolCondition (line 209) | SyncedBoolCondition WatcherActivationTracker::isWatcherActivated() const{ function DECLARE_WRAPPER (line 215) | DECLARE_WRAPPER(void,deliverWatchers,(zhandle_t* zh,int type,int state, ... type RefCounterValue (line 226) | struct RefCounterValue{ method RefCounterValue (line 227) | RefCounterValue(zhandle_t* const& zh,int32_t expectedCounter,Mutex& mx): class DeliverWatchersWrapper (line 243) | class DeliverWatchersWrapper: public Mock_deliverWatchers{ method DeliverWatchersWrapper (line 245) | DeliverWatchersWrapper(int type,int state,bool terminate): method call (line 248) | virtual void call(zhandle_t* zh,int type,int state, const char* path, ... method SyncedBoolCondition (line 268) | SyncedBoolCondition isDelivered() const{ method resetDeliveryCounter (line 275) | void resetDeliveryCounter(){ method SyncedIntegerEqual (line 279) | SyncedIntegerEqual deliveryCounterEquals(int expected) const{ function SyncedBoolCondition (line 305) | SyncedBoolCondition WatcherDeliveryTracker::isWatcherProcessingCompleted... function SyncedIntegerEqual (line 313) | SyncedIntegerEqual WatcherDeliveryTracker::deliveryCounterEquals(int exp... function string (line 319) | string HandshakeResponse::toString() const { function string (line 336) | string ZooGetResponse::toString() const{ function string (line 358) | string ZooStatResponse::toString() const{ function string (line 375) | string ZooGetChildrenResponse::toString() const{ function string (line 397) | string ZNodeEvent::toString() const{ function string (line 413) | string PingResponse::toString() const{ function forceConnected (line 507) | void forceConnected(zhandle_t* zh){ function terminateZookeeperThreads (line 516) | void terminateZookeeperThreads(zhandle_t* zh){ FILE: src/c/tests/ZKMocks.h type SyncedBoolCondition (line 42) | struct SyncedBoolCondition function class (line 44) | class WatcherAction{ function class (line 73) | class AsyncCompletion{ type ClientConnected (line 94) | struct ClientConnected{ type SessionExpired (line 102) | struct SessionExpired{ type IOThreadStopped (line 110) | struct IOThreadStopped{ type SyncedBoolCondition (line 117) | struct SyncedBoolCondition{ type SyncedIntegerEqual (line 128) | struct SyncedIntegerEqual{ function execute (line 142) | struct CloseFinally{ function disarm (line 154) | void disarm(){zh_=0;} function clientid_t (line 158) | struct TestClientId: clientid_t{ function connect_req (line 174) | struct HandshakeRequest: public connect_req function class (line 185) | class Mock_flush_send_queue: public Mock function class (line 203) | class Mock_get_xid: public Mock function virtual (line 211) | virtual int call(){ function class (line 220) | class Mock_activateWatcher: public Mock{ function class (line 230) | class WatcherActivationTracker{ function class (line 243) | class Mock_deliverWatchers: public Mock{ function class (line 253) | class WatcherDeliveryTracker{ function class (line 290) | class Response function class (line 303) | class HandshakeResponse: public Response function class (line 320) | class ZooGetResponse: public Response function class (line 338) | class ZooStatResponse: public Response function class (line 355) | class ZooGetChildrenResponse: public Response FILE: src/contrib/fatjar/src/java/org/apache/zookeeper/util/FatJarMain.java class FatJarMain (line 40) | public class FatJarMain { class Cmd (line 41) | static class Cmd { method Cmd (line 42) | Cmd(String cmd, String clazz, String desc) { method main (line 65) | public static void main(String[] args) throws IOException, ClassNotFou... method doHelp (line 112) | private static void doHelp() { FILE: src/contrib/huebrowser/zkui/setup.py function expand_package_data (line 19) | def expand_package_data(src_dirs, strip=""): FILE: src/contrib/huebrowser/zkui/src/zkui/forms.py class CreateZNodeForm (line 20) | class CreateZNodeForm(forms.Form): class EditZNodeForm (line 25) | class EditZNodeForm(forms.Form): FILE: src/contrib/huebrowser/zkui/src/zkui/rest.py class RequestWithMethod (line 24) | class RequestWithMethod(urllib2.Request): method __init__ (line 26) | def __init__(self, *args, **kwargs): method get_method (line 30) | def get_method(self): method set_method (line 34) | def set_method(self, method): class ZooKeeper (line 37) | class ZooKeeper(object): class Error (line 39) | class Error(Exception): pass class NotFound (line 41) | class NotFound(Error): pass class ZNodeExists (line 43) | class ZNodeExists(Error): pass class InvalidSession (line 45) | class InvalidSession(Error): pass class WrongVersion (line 47) | class WrongVersion(Error): pass method __init__ (line 49) | def __init__(self, uri = 'http://localhost:9998'): method start_session (line 53) | def start_session(self, expire=5, id=None): method close_session (line 62) | def close_session(self): method heartbeat (line 69) | def heartbeat(self): method session (line 76) | def session(self, *args, **kwargs): method get (line 81) | def get(self, path): method get_children (line 86) | def get_children(self, path): method get_children_paths (line 94) | def get_children_paths(self, path, uris=False): method create (line 102) | def create(self, path, data=None, sequence=False, ephemeral=False): method set (line 129) | def set(self, path, data=None, version=-1, null=False): method delete (line 138) | def delete(self, path, version=-1): method recursive_delete (line 157) | def recursive_delete(self, path): method exists (line 164) | def exists(self, path): method _do_get (line 172) | def _do_get(self, uri): method _do_post (line 187) | def _do_post(self, uri, data=None): method _do_delete (line 209) | def _do_delete(self, uri): method _do_put (line 216) | def _do_put(self, uri, data): FILE: src/contrib/huebrowser/zkui/src/zkui/stats.py class Session (line 22) | class Session(object): class BrokenLine (line 24) | class BrokenLine(Exception): pass method __init__ (line 26) | def __init__(self, session): class ZooKeeperStats (line 38) | class ZooKeeperStats(object): method __init__ (line 40) | def __init__(self, host='localhost', port='2181', timeout=1): method get_stats (line 44) | def get_stats(self): method get_clients (line 53) | def get_clients(self): method _create_socket (line 77) | def _create_socket(self): method _send_cmd (line 80) | def _send_cmd(self, cmd): method _parse (line 93) | def _parse(self, data): method _parse_stat (line 107) | def _parse_stat(self, data): method _parse_line (line 155) | def _parse_line(self, line): FILE: src/contrib/huebrowser/zkui/src/zkui/utils.py function get_cluster_or_404 (line 21) | def get_cluster_or_404(id): FILE: src/contrib/huebrowser/zkui/src/zkui/views.py function _get_global_overview (line 26) | def _get_global_overview(): function _get_overview (line 32) | def _get_overview(cluster): function _group_stats_by_role (line 43) | def _group_stats_by_role(cluster): function index (line 56) | def index(request): function view (line 61) | def view(request, id): function clients (line 70) | def clients(request, host): function tree (line 82) | def tree(request, id, path): function delete (line 93) | def delete(request, id, path): function create (line 104) | def create(request, id, path): function edit_as_base64 (line 125) | def edit_as_base64(request, id, path): function edit_as_text (line 146) | def edit_as_text(request, id, path): FILE: src/contrib/huebrowser/zkui/src/zkui/windmilltests.py function test_zkui (line 19) | def test_zkui(): FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/FilterException.java class FilterException (line 20) | public class FilterException extends Exception { method FilterException (line 21) | public FilterException(String s) { super(s); } FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/FilterOp.java class FilterOp (line 23) | public abstract class FilterOp { type ArgType (line 27) | public enum ArgType { method FilterOp (line 31) | public FilterOp() { method newOp (line 36) | public static FilterOp newOp(String op) throws FilterException { method addSubOp (line 55) | public void addSubOp(FilterOp op) { method addArg (line 59) | public void addArg(Arg arg) { method matches (line 63) | public abstract boolean matches(LogEntry entry) throws FilterException; method toString (line 65) | public String toString() { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/FilterParser.java class FilterParser (line 27) | public class FilterParser { method FilterParser (line 30) | public FilterParser(String s) { method readUntilSpace (line 34) | private String readUntilSpace() throws IOException { method readStringArg (line 50) | private StringArg readStringArg() throws IOException, FilterException { method readNumberArg (line 73) | private NumberArg readNumberArg() throws IOException, FilterException { method readSymbolArg (line 87) | private SymbolArg readSymbolArg() throws IOException, FilterException { method parse (line 91) | public FilterOp parse() throws IOException, FilterException { method main (line 124) | public static void main(String[] args) throws IOException, FilterExcep... FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/JsonGenerator.java class JsonGenerator (line 35) | public class JsonGenerator { class Message (line 39) | private class Message { method Message (line 44) | public Message(int from, int to, long zxid) { method equals (line 50) | public boolean equals(Message m) { method txnEntry (line 57) | public JSONObject txnEntry(TransactionEntry e) { method JsonGenerator (line 74) | public JsonGenerator(LogIterator iter) { method toString (line 214) | public String toString() { method main (line 218) | public static void main(String[] args) throws Exception { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/Log4JEntry.java class Log4JEntry (line 20) | public class Log4JEntry extends LogEntry { method Log4JEntry (line 21) | public Log4JEntry(long timestamp, int node, String entry) { method getEntry (line 27) | public String getEntry() { method toString (line 31) | public String toString() { method getNode (line 35) | public int getNode() { method getType (line 39) | public Type getType() { return LogEntry.Type.LOG4J; } FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/Log4JSource.java class Log4JSource (line 43) | public class Log4JSource implements LogSource { method overlapsRange (line 59) | public boolean overlapsRange(long starttime, long endtime) { method size (line 63) | public long size() { return size; } method getStartTime (line 64) | public long getStartTime() { return starttime; } method getEndTime (line 65) | public long getEndTime() { return endtime; } method getSkipList (line 66) | public LogSkipList getSkipList() { return skiplist; } class Log4JSourceIterator (line 68) | private class Log4JSourceIterator implements LogIterator { method Log4JSourceIterator (line 79) | public Log4JSourceIterator(Log4JSource src, long starttime, long end... method Log4JSourceIterator (line 83) | public Log4JSourceIterator(Log4JSource src, long starttime, long end... method size (line 117) | synchronized public long size() throws IOException { method readNextEntry (line 159) | synchronized private LogEntry readNextEntry() { method hasNext (line 195) | public boolean hasNext() { method next (line 199) | public LogEntry next() throws NoSuchElementException { method remove (line 221) | public void remove() throws UnsupportedOperationException { method close (line 225) | public void close() throws IOException { method toString (line 229) | public String toString() { method iterator (line 240) | public LogIterator iterator(long starttime, long endtime) throws Illeg... method iterator (line 249) | public LogIterator iterator(long starttime, long endtime, FilterOp fil... method iterator (line 258) | public LogIterator iterator() throws IllegalArgumentException { method Log4JSource (line 262) | public Log4JSource(String file) throws IOException { method timestampFromText (line 270) | private static long timestampFromText(SimpleDateFormat format, String ... method init (line 282) | private void init() throws IOException { method toString (line 335) | public String toString() { method main (line 339) | public static void main(String[] args) throws IOException { method getServerId (line 388) | public int getServerId() { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/LogEntry.java class LogEntry (line 23) | public abstract class LogEntry implements Serializable { type Type (line 26) | public enum Type { UNKNOWN, LOG4J, TXN } method LogEntry (line 28) | public LogEntry(long timestamp) { method getTimestamp (line 33) | public long getTimestamp() { method getType (line 37) | public abstract Type getType(); method setAttribute (line 39) | public void setAttribute(String key, Object v) { method getAttribute (line 43) | public Object getAttribute(String key) { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/LogIterator.java type LogIterator (line 24) | public interface LogIterator extends Iterator, Closeable { method size (line 25) | long size() throws IOException; FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/LogServer.java class LogServer (line 36) | public class LogServer extends ServletContextHandler { method LogServer (line 37) | public LogServer(MergedLogSource src) throws Exception { method main (line 50) | public static void main(String[] args) { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/LogSkipList.java class LogSkipList (line 33) | public class LogSkipList { class Mark (line 38) | public class Mark { method Mark (line 43) | public Mark(long time, long bytes, long skipped) { method getTime (line 49) | public long getTime() { return this.time; } method getBytes (line 50) | public long getBytes() { return this.bytes; } method getEntriesSkipped (line 51) | public long getEntriesSkipped() { return this.skipped; } method toString (line 53) | public String toString() { method LogSkipList (line 58) | public LogSkipList() { method addMark (line 65) | public void addMark(long time, long bytes, long skipped) { method findMarkBefore (line 75) | public Mark findMarkBefore(long time) throws NoSuchElementException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/LogSource.java type LogSource (line 21) | public interface LogSource extends Iterable { method iterator (line 22) | public LogIterator iterator(long starttime, long endtime, FilterOp fil... method iterator (line 24) | public LogIterator iterator(long starttime, long endtime) throws Illeg... method iterator (line 26) | public LogIterator iterator() throws IllegalArgumentException; method overlapsRange (line 28) | public boolean overlapsRange(long starttime, long endtime); method size (line 30) | public long size(); method getStartTime (line 31) | public long getStartTime(); method getEndTime (line 32) | public long getEndTime(); FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/MeasureThroughput.java class MeasureThroughput (line 28) | public class MeasureThroughput { method main (line 33) | public static void main(String[] args) throws IOException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/MergedLogSource.java class MergedLogSource (line 59) | public class MergedLogSource implements LogSource { method overlapsRange (line 66) | public boolean overlapsRange(long starttime, long endtime) { method size (line 70) | public long size() { return size; } method getStartTime (line 71) | public long getStartTime() { return starttime; } method getEndTime (line 72) | public long getEndTime() { return endtime; } class MergedLogSourceIterator (line 74) | private class MergedLogSourceIterator implements LogIterator { method MergedLogSourceIterator (line 83) | public MergedLogSourceIterator(MergedLogSource src, long starttime, ... method MergedLogSourceIterator (line 101) | public MergedLogSourceIterator(MergedLogSource src, long starttime, ... method size (line 105) | public long size() throws IOException { method hasNext (line 113) | public boolean hasNext() { method next (line 120) | public LogEntry next() { method remove (line 140) | public void remove() throws UnsupportedOperationException { method close (line 144) | public void close() throws IOException { method iterator (line 151) | public LogIterator iterator(long starttime, long endtime) throws Illeg... method iterator (line 160) | public LogIterator iterator(long starttime, long endtime, FilterOp fil... method iterator (line 169) | public LogIterator iterator() throws IllegalArgumentException { method MergedLogSource (line 173) | public MergedLogSource(String[] files) throws IOException { method addSource (line 180) | public void addSource(String f) throws IOException { method toString (line 194) | public String toString() { method main (line 202) | public static void main(String[] args) throws IOException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/RandomAccessFileReader.java class RandomAccessFileReader (line 34) | public class RandomAccessFileReader extends Reader implements DataInput { method RandomAccessFileReader (line 46) | public RandomAccessFileReader(File f) throws FileNotFoundException { method fill (line 68) | private int fill() throws IOException { method markSupported (line 91) | public boolean markSupported() { return false; } method read (line 96) | synchronized public int read(char[] cbuf, int off, int len) throws IOE... method read (line 114) | synchronized public int read(byte[] buf, int off, int len) throws IOEx... method close (line 148) | public void close() throws IOException { method getPosition (line 155) | public long getPosition() { method seek (line 159) | synchronized public void seek(long pos) throws IOException { method readLine (line 171) | synchronized public String readLine() throws IOException { method readFully (line 213) | public void readFully(byte[] b) throws IOException { method readFully (line 217) | public void readFully(byte[] b, int off, int len) throws IOException method skipBytes (line 230) | public int skipBytes(int n) throws IOException { method readBoolean (line 235) | public boolean readBoolean() throws IOException { method readByte (line 239) | public byte readByte() throws IOException { method readUnsignedByte (line 245) | public int readUnsignedByte() throws IOException { method readShort (line 249) | public short readShort() throws IOException { method readUnsignedShort (line 255) | public int readUnsignedShort() throws IOException { method readChar (line 261) | public char readChar() throws IOException { method readInt (line 265) | public int readInt() throws IOException { method readLong (line 271) | public long readLong() throws IOException { method readFloat (line 281) | public float readFloat() throws IOException { method readDouble (line 285) | public double readDouble() throws IOException { method readUTF (line 289) | public String readUTF() throws IOException { method main (line 299) | public static void main(String[] args) throws IOException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/TransactionEntry.java class TransactionEntry (line 20) | public class TransactionEntry extends LogEntry { method TransactionEntry (line 21) | public TransactionEntry(long timestamp, long clientId, long Cxid, long... method TransactionEntry (line 25) | public TransactionEntry(long timestamp, long clientId, long Cxid, long... method getClientId (line 34) | public long getClientId() { method getCxid (line 38) | public long getCxid() { method getZxid (line 42) | public long getZxid() { method getOp (line 46) | public String getOp() { method getExtra (line 50) | public String getExtra() { method toString (line 54) | public String toString() { method getType (line 58) | public Type getType() { return LogEntry.Type.TXN; } FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/TxnLogSource.java class TxnLogSource (line 58) | public class TxnLogSource implements LogSource { method overlapsRange (line 69) | public boolean overlapsRange(long starttime, long endtime) { method size (line 73) | public long size() { return size; } method getStartTime (line 74) | public long getStartTime() { return starttime; } method getEndTime (line 75) | public long getEndTime() { return endtime; } method getSkipList (line 76) | public LogSkipList getSkipList() { return skiplist; } method isTransactionFile (line 78) | public static boolean isTransactionFile(String file) throws IOException { class TxnLogSourceIterator (line 88) | private class TxnLogSourceIterator implements LogIterator { method TxnLogSourceIterator (line 98) | public TxnLogSourceIterator(TxnLogSource src, long starttime, long e... method TxnLogSourceIterator (line 102) | public TxnLogSourceIterator(TxnLogSource src, long starttime, long e... method size (line 137) | public long size() throws IOException { method readNextEntry (line 161) | private LogEntry readNextEntry() { method hasNext (line 238) | public boolean hasNext() { method next (line 242) | public LogEntry next() throws NoSuchElementException { method remove (line 263) | public void remove() throws UnsupportedOperationException { method close (line 267) | public void close() throws IOException { method iterator (line 272) | public LogIterator iterator(long starttime, long endtime) throws Illeg... method iterator (line 281) | public LogIterator iterator(long starttime, long endtime, FilterOp fil... method iterator (line 290) | public LogIterator iterator() throws IllegalArgumentException { method TxnLogSource (line 294) | public TxnLogSource(String file) throws IOException { method toString (line 351) | public String toString() { method main (line 355) | public static void main(String[] args) throws IOException, FilterExcep... FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/AndOp.java class AndOp (line 24) | public class AndOp extends FilterOp { method matches (line 25) | public boolean matches(LogEntry entry) throws FilterException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/Arg.java class Arg (line 22) | public class Arg { method Arg (line 26) | protected Arg(ArgType type) { method getType (line 30) | public ArgType getType() { return type; } method getValue (line 31) | public T getValue() { return value; } method toString (line 33) | public String toString() { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/EqualsOp.java class EqualsOp (line 24) | public class EqualsOp extends FilterOp { method matches (line 25) | public boolean matches(LogEntry entry) throws FilterException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/GreaterThanOp.java class GreaterThanOp (line 24) | public class GreaterThanOp extends FilterOp { method matches (line 25) | public boolean matches(LogEntry entry) throws FilterException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/LessThanOp.java class LessThanOp (line 24) | public class LessThanOp extends FilterOp { method matches (line 25) | public boolean matches(LogEntry entry) throws FilterException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/NotOp.java class NotOp (line 24) | public class NotOp extends FilterOp { method matches (line 25) | public boolean matches(LogEntry entry) throws FilterException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/NumberArg.java class NumberArg (line 22) | public class NumberArg extends Arg { method NumberArg (line 23) | public NumberArg(Long value) { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/OrOp.java class OrOp (line 24) | public class OrOp extends FilterOp { method matches (line 25) | public boolean matches(LogEntry entry) throws FilterException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/StringArg.java class StringArg (line 22) | public class StringArg extends Arg { method StringArg (line 23) | public StringArg(String value) { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/SymbolArg.java class SymbolArg (line 22) | public class SymbolArg extends Arg { method SymbolArg (line 23) | public SymbolArg(String value) { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/filterops/XorOp.java class XorOp (line 24) | public class XorOp extends FilterOp { method matches (line 25) | public boolean matches(LogEntry entry) throws FilterException { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/servlets/FileLoader.java class FileLoader (line 35) | public class FileLoader extends JsonServlet method FileLoader (line 39) | public FileLoader(MergedLogSource src) throws Exception { method handleRequest (line 43) | String handleRequest(JsonRequest request) throws Exception FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/servlets/Fs.java class Fs (line 35) | public class Fs extends JsonServlet method handleRequest (line 37) | String handleRequest(JsonRequest request) throws Exception FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/servlets/GraphData.java class GraphData (line 40) | public class GraphData extends JsonServlet method GraphData (line 47) | public GraphData(LogSource src) throws Exception { method handleRequest (line 51) | String handleRequest(JsonRequest request) throws Exception { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/servlets/JsonServlet.java class JsonServlet (line 33) | abstract public class JsonServlet extends HttpServlet { method handleRequest (line 34) | abstract String handleRequest(JsonRequest request) throws Exception; class JsonRequest (line 36) | protected class JsonRequest { method JsonRequest (line 39) | public JsonRequest(ServletRequest request) { method getNumber (line 43) | public long getNumber(String name, long defaultnum) { method getString (line 56) | public String getString(String name, String defaultstr) { method doGet (line 66) | protected void doGet(HttpServletRequest request, HttpServletResponse r... FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/servlets/NumEvents.java class NumEvents (line 41) | public class NumEvents extends JsonServlet method NumEvents (line 48) | public NumEvents(LogSource src) throws Exception { method handleRequest (line 52) | String handleRequest(JsonRequest request) throws Exception { FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/servlets/StaticContent.java class StaticContent (line 31) | public class StaticContent extends HttpServlet { method doGet (line 32) | protected void doGet(HttpServletRequest request, HttpServletResponse r... FILE: src/contrib/loggraph/src/java/org/apache/zookeeper/graph/servlets/Throughput.java class Throughput (line 38) | public class Throughput extends JsonServlet method Throughput (line 46) | public Throughput(LogSource src) throws Exception { method handleRequest (line 50) | public String handleRequest(JsonRequest request) throws Exception { FILE: src/contrib/loggraph/web/org/apache/zookeeper/graph/resources/g.dot.js function drawAxis (line 8) | function drawAxis(ax) { FILE: src/contrib/loggraph/web/org/apache/zookeeper/graph/resources/g.line.js function shrink (line 8) | function shrink(values, dim) { function createColumns (line 119) | function createColumns(f) { function createDots (line 159) | function createDots(f) { FILE: src/contrib/loggraph/web/org/apache/zookeeper/graph/resources/g.pie.js function sector (line 30) | function sector(cx, cy, r, startAngle, endAngle, fill) { FILE: src/contrib/loggraph/web/org/apache/zookeeper/graph/resources/g.raphael.js function round (line 355) | function round(a) { FILE: src/contrib/loggraph/web/org/apache/zookeeper/graph/resources/loggraph.js function complete (line 65) | function complete(id, o, args) { function success (line 241) | function success(id, o, args) { function failure (line 252) | function failure(id, o, args) { FILE: src/contrib/loggraph/web/org/apache/zookeeper/graph/resources/loggraph.ui.js function complete (line 129) | function complete(id, o, args) { function complete (line 192) | function complete(id, o, args) { function complete (line 319) | function complete(id, o, args) { function updateInput (line 345) | function updateInput( e ) { function complete (line 369) | function complete(id, o, args) { FILE: src/contrib/loggraph/web/org/apache/zookeeper/graph/resources/raphael.js function cacher (line 212) | function cacher(f, scope, postprocessor) { function x_y (line 2554) | function x_y() { function along (line 2968) | function along(isBack) { FILE: src/contrib/loggraph/web/org/apache/zookeeper/graph/resources/yui-min.js function A (line 9) | function A(){this._init();this.add.apply(this,arguments);} function D (line 10) | function D(K){var J;for(J=0;J { method join (line 25) | public static Credentials join(Credentials a, Credentials b) { method Credentials (line 32) | public Credentials() { method Credentials (line 36) | public Credentials(String credentials) { FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/cfg/Endpoint.java class Endpoint (line 21) | public class Endpoint { method Endpoint (line 28) | public Endpoint(String context, String hostPortList) { method getContext (line 33) | public String getContext() { method getHostPort (line 37) | public String getHostPort() { method getCredentials (line 41) | public Credentials getCredentials() { method setCredentials (line 45) | public void setCredentials(String c) { method setZooKeeperAuthInfo (line 49) | public void setZooKeeperAuthInfo(String digest) { method getZooKeeperAuthInfo (line 53) | public final Credentials getZooKeeperAuthInfo() { method equals (line 57) | @Override method hashCode (line 63) | @Override method toString (line 68) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/cfg/HostPort.java class HostPort (line 21) | public class HostPort { method HostPort (line 26) | public HostPort(String hostPort) { method getHost (line 32) | public String getHost() { method getPort (line 36) | public int getPort() { method equals (line 40) | @Override method hashCode (line 46) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/cfg/HostPortSet.java class HostPortSet (line 24) | public class HostPortSet { method HostPortSet (line 29) | public HostPortSet(String hostPortList) { method toString (line 46) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/cfg/RestCfg.java class RestCfg (line 27) | public class RestCfg { method RestCfg (line 34) | public RestCfg(String resource) throws IOException { method RestCfg (line 38) | public RestCfg(InputStream io) throws IOException { method extractCredentials (line 48) | private void extractCredentials() { method extractEndpoints (line 54) | private void extractEndpoints() { method getPort (line 83) | public int getPort() { method useSSL (line 87) | public boolean useSSL() { method getEndpoints (line 91) | public final Set getEndpoints() { method getCredentials (line 95) | public final Credentials getCredentials() { method getJKS (line 99) | public String getJKS() { method getJKS (line 103) | public String getJKS(String def) { method getJKSPassword (line 107) | public String getJKSPassword() { FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/filters/HTTPBasicAuth.java class HTTPBasicAuth (line 36) | public class HTTPBasicAuth implements Filter { method HTTPBasicAuth (line 40) | public HTTPBasicAuth(Credentials c) { method doFilter (line 44) | @Override method parseAuthorization (line 65) | private String[] parseAuthorization(String authorization) { method init (line 79) | @Override method destroy (line 83) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/jaxb/ZChildren.java class ZChildren (line 34) | @XmlRootElement(name="child") method ZChildren (line 44) | public ZChildren() { method ZChildren (line 49) | public ZChildren(String path, String uri, String child_uri_template, method hashCode (line 62) | @Override method equals (line 67) | @Override method toString (line 76) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/jaxb/ZChildrenJSON.java class ZChildrenJSON (line 32) | @XmlRootElement(name="child") method ZChildrenJSON (line 40) | public ZChildrenJSON() { method ZChildrenJSON (line 45) | public ZChildrenJSON(String path, String uri, String child_uri_template, method hashCode (line 58) | @Override method equals (line 63) | @Override method toString (line 72) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/jaxb/ZError.java class ZError (line 27) | @XmlRootElement(name="error") method ZError (line 32) | public ZError(){ method ZError (line 36) | public ZError(String request, String message) { FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/jaxb/ZPath.java class ZPath (line 27) | @XmlRootElement(name="path") method ZPath (line 32) | public ZPath(){ method ZPath (line 36) | public ZPath(String path) { method ZPath (line 40) | public ZPath(String path, String uri) { method hashCode (line 45) | @Override method equals (line 50) | @Override method toString (line 59) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/jaxb/ZSession.java class ZSession (line 23) | @XmlRootElement(name="session") method ZSession (line 28) | public ZSession() { method ZSession (line 32) | public ZSession(String id, String uri) { method hashCode (line 37) | @Override method equals (line 42) | @Override method toString (line 51) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/jaxb/ZStat.java class ZStat (line 27) | @XmlRootElement(name="stat") method ZStat (line 47) | public ZStat(){ method ZStat (line 51) | public ZStat(String path, byte[] data64, String dataUtf8) method ZStat (line 58) | public ZStat(String path, String uri, byte[] data64, String dataUtf8, method hashCode (line 81) | @Override method equals (line 91) | @Override method toString (line 100) | @Override FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/resources/JAXBContextResolver.java class JAXBContextResolver (line 40) | @Provider method JAXBContextResolver (line 47) | public JAXBContextResolver() throws Exception { method getContext (line 69) | public JAXBContext getContext(Class objectType) { FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/resources/KeeperExceptionMapper.java class KeeperExceptionMapper (line 34) | @Provider method KeeperExceptionMapper (line 38) | public KeeperExceptionMapper(@Context UriInfo ui) { method toResponse (line 42) | public Response toResponse(KeeperException e) { FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/resources/RuntimeExceptionMapper.java class RuntimeExceptionMapper (line 33) | @Provider method RuntimeExceptionMapper (line 39) | public RuntimeExceptionMapper(@Context UriInfo ui) { method toResponse (line 43) | public Response toResponse(RuntimeException e) { FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/resources/SessionsResource.java class SessionsResource (line 49) | @Path("sessions/v1/{session: .*}") method SessionsResource (line 56) | public SessionsResource(@Context HttpServletRequest request) { method keepAliveSession (line 63) | @PUT method createSession (line 78) | @POST method deleteSession (line 119) | @DELETE method throwNotFound (line 127) | private static void throwNotFound(String session, UriInfo ui) FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/resources/ZErrorWriter.java class ZErrorWriter (line 39) | @Produces(MediaType.APPLICATION_OCTET_STREAM) method getSize (line 43) | public long getSize(ZError t, Class type, Type genericType, method isWriteable (line 48) | public boolean isWriteable(Class type, Type genericType, method writeTo (line 53) | public void writeTo(ZError t, Class type, Type genericType, FILE: src/contrib/rest/src/java/org/apache/zookeeper/server/jersey/resources/ZNodeResource.java class ZNodeResource (line 62) | @Path("znodes/v1{path: /.*}") method ZNodeResource (line 66) | public ZNodeResource(@DefaultValue("") @QueryParam("session") String s... method ensurePathNotNull (line 85) | private void ensurePathNotNull(String path) { method existsZNode (line 91) | @HEAD method existsZNodeAsOctet (line 103) | @HEAD method getZNodeListJSON (line 122) | @GET method getZNodeList (line 133) | @GET method getZNodeList (line 144) | private Response getZNodeList(boolean json, String path, String callback, method getZNodeListAsOctet (line 199) | @GET method setZNode (line 215) | @PUT method setZNodeAsOctet (line 256) | @PUT method createZNode (line 283) | @POST method createZNodeAsOctet (line 339) | @POST method deleteZNode (line 383) | @DELETE method throwNotFound (line 404) | private static void throwNotFound(String path, UriInfo ui) FILE: src/contrib/rest/src/python/demo_master_election.py class Agent (line 25) | class Agent(threading.Thread): method __init__ (line 30) | def __init__(self, id): method run (line 35) | def run(self): method do_master_work (line 71) | def do_master_work(self): function main (line 74) | def main(): FILE: src/contrib/rest/src/python/demo_queue.py class Queue (line 33) | class Queue(object): method __init__ (line 34) | def __init__(self, root, zk): method put (line 39) | def put(self, data): method fetch (line 46) | def fetch(self): function main (line 73) | def main(): FILE: src/contrib/rest/src/python/test.py class ZooKeeperREST_TestCase (line 24) | class ZooKeeperREST_TestCase(unittest.TestCase): method setUp (line 28) | def setUp(self): method tearDown (line 31) | def tearDown(self): method test_get_root_node (line 37) | def test_get_root_node(self): method test_get_node_not_found (line 40) | def test_get_node_not_found(self): method test_exists_node (line 44) | def test_exists_node(self): method test_get_children (line 47) | def test_get_children(self): method test_create_znode (line 51) | def test_create_znode(self): method test_create_hierarchy (line 58) | def test_create_hierarchy(self): method test_create_with_data (line 69) | def test_create_with_data(self): method test_delete_znode (line 76) | def test_delete_znode(self): method test_delete_older_version (line 82) | def test_delete_older_version(self): method test_delete_raise_not_found (line 92) | def test_delete_raise_not_found(self): method test_set (line 101) | def test_set(self): method test_set_with_older_version (line 109) | def test_set_with_older_version(self): method test_set_null (line 118) | def test_set_null(self): method test_create_ephemeral_node (line 127) | def test_create_ephemeral_node(self): method test_create_session (line 137) | def test_create_session(self): method test_session_invalidation (line 141) | def test_session_invalidation(self): method test_presence_signaling (line 154) | def test_presence_signaling(self): FILE: src/contrib/rest/src/python/zk_dump_tree.py function dump_node (line 28) | def dump_node(url, depth): function zk_dump_tree (line 65) | def zk_dump_tree(url, root): function usage (line 73) | def usage(): FILE: src/contrib/rest/src/python/zkrest.py class RequestWithMethod (line 24) | class RequestWithMethod(urllib2.Request): method __init__ (line 26) | def __init__(self, *args, **kwargs): method get_method (line 30) | def get_method(self): method set_method (line 34) | def set_method(self, method): class ZooKeeper (line 37) | class ZooKeeper(object): class Error (line 39) | class Error(Exception): pass class NotFound (line 41) | class NotFound(Error): pass class ZNodeExists (line 43) | class ZNodeExists(Error): pass class InvalidSession (line 45) | class InvalidSession(Error): pass class WrongVersion (line 47) | class WrongVersion(Error): pass method __init__ (line 49) | def __init__(self, uri = 'http://localhost:9998'): method start_session (line 53) | def start_session(self, expire=5, id=None): method close_session (line 62) | def close_session(self): method heartbeat (line 69) | def heartbeat(self): method session (line 76) | def session(self, *args, **kwargs): method get (line 81) | def get(self, path): method get_children (line 86) | def get_children(self, path): method create (line 97) | def create(self, path, data=None, sequence=False, ephemeral=False): method set (line 124) | def set(self, path, data=None, version=-1, null=False): method delete (line 133) | def delete(self, path, version=-1): method exists (line 152) | def exists(self, path): method _do_get (line 160) | def _do_get(self, uri): method _do_post (line 175) | def _do_post(self, uri, data=None): method _do_delete (line 197) | def _do_delete(self, uri): method _do_put (line 204) | def _do_put(self, uri, data): FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/Base.java class Base (line 42) | public class Base extends TestCase { method setUp (line 57) | @Before method tearDown (line 76) | @After method createBaseZNode (line 85) | protected static String createBaseZNode() throws Exception { FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/CreateTest.java class CreateTest (line 46) | @RunWith(Parameterized.class) class MyWatcher (line 59) | public static class MyWatcher implements Watcher { method process (line 60) | public void process(WatchedEvent event) { method data (line 65) | @Parameters method CreateTest (line 102) | public CreateTest(String accept, String path, String name, String enco... method testCreate (line 116) | @Test FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/DeleteTest.java class DeleteTest (line 45) | @RunWith(Parameterized.class) class MyWatcher (line 52) | public static class MyWatcher implements Watcher { method process (line 53) | public void process(WatchedEvent event) { method data (line 58) | @Parameters method DeleteTest (line 68) | public DeleteTest(String path, String zpath, ClientResponse.Status sta... method verify (line 73) | public void verify(String type) throws Exception { method testDelete (line 88) | @Test FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/ExistsTest.java class ExistsTest (line 40) | @RunWith(Parameterized.class) method data (line 47) | @Parameters method ExistsTest (line 57) | public ExistsTest(String path, ClientResponse.Status status) { method verify (line 62) | private void verify(String type) { method testExists (line 73) | @Test FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/GetChildrenTest.java class GetChildrenTest (line 46) | @RunWith(Parameterized.class) method data (line 56) | @Parameters method GetChildrenTest (line 90) | public GetChildrenTest(String accept, String path, ClientResponse.Stat... method testGetChildren (line 100) | @Test FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/GetTest.java class GetTest (line 41) | @RunWith(Parameterized.class) method data (line 51) | @Parameters method GetTest (line 88) | public GetTest(String accept, String path, String encoding, method testGet (line 98) | @Test FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/RestTestSuite.java class RestTestSuite (line 27) | @RunWith(Suite.class) method setUp (line 32) | @BeforeClass method tearDown (line 37) | @AfterClass FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/RootTest.java class RootTest (line 40) | public class RootTest extends Base { method testCreate (line 43) | @Test FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/SessionTest.java class SessionTest (line 39) | public class SessionTest extends Base { method createSession (line 42) | private ZSession createSession() { method createSession (line 46) | private ZSession createSession(String expire) { method testCreateNewSession (line 58) | @Test method testSessionExpires (line 67) | @Test method testDeleteSession (line 79) | @Test method testSendHeartbeat (line 94) | @Test method testCreateEphemeralZNode (line 112) | @Test FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/SetTest.java class SetTest (line 48) | @RunWith(Parameterized.class) class MyWatcher (line 59) | public static class MyWatcher implements Watcher { method process (line 60) | public void process(WatchedEvent event) { method data (line 65) | @Parameters method SetTest (line 96) | public SetTest(String accept, String path, String encoding, method testSet (line 107) | @Test FILE: src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/WadlTest.java class WadlTest (line 33) | public class WadlTest extends Base { method testApplicationWadl (line 36) | @Test FILE: src/contrib/zkfuse/src/blockingqueue.h function USING_ZKFUSE_NAMESPACE (line 27) | USING_ZKFUSE_NAMESPACE FILE: src/contrib/zkfuse/src/event.cc type zkfuse (line 26) | namespace zkfuse { FILE: src/contrib/zkfuse/src/event.h function namespace (line 42) | namespace zkfuse { function TimerId (line 403) | TimerId scheduleAfter(int64_t timeFromNow, const T &userData) { function TimerId (line 417) | TimerId scheduleAt(int64_t absTime, const T &userData) { function getCurrentTimeMillis (line 434) | static int64_t getCurrentTimeMillis() { function cancelAlarm (line 448) | bool cancelAlarm(TimerId eventID) { function sendAlarms (line 466) | void sendAlarms() { FILE: src/contrib/zkfuse/src/log.cc class LogConfiguration (line 28) | class LogConfiguration { method LogConfiguration (line 30) | LogConfiguration(const string &file) { FILE: src/contrib/zkfuse/src/mutex.h function class (line 32) | class Mutex { function class (line 60) | class AutoLock { function class (line 73) | class AutoUnlockTemp { function class (line 85) | class Cond { function class (line 130) | class Lock { FILE: src/contrib/zkfuse/src/thread.h function START_ZKFUSE_NAMESPACE (line 29) | START_ZKFUSE_NAMESPACE function Join (line 43) | void Join() { function run (line 62) | void run(void) { function Create (line 85) | void Create(T& obj, FuncPtr func) { FILE: src/contrib/zkfuse/src/zkadapter.cc class InitZooKeeperLogging (line 35) | class InitZooKeeperLogging method InitZooKeeperLogging (line 38) | InitZooKeeperLogging() { type zk (line 58) | namespace zk class RetryHandler (line 64) | class RetryHandler method RetryHandler (line 67) | RetryHandler(const ZooKeeperConfig &zkConfig) method handleRC (line 84) | bool handleRC(int rc) method retryOnError (line 117) | static bool retryOnError(int zkErrorCode) function zkWatcher (line 126) | void zkWatcher(zhandle_t *zh, int type, int state, const char *path, type timeval (line 465) | struct timeval type Stat (line 704) | struct Stat function string (line 800) | string FILE: src/contrib/zkfuse/src/zkadapter.h function namespace (line 39) | namespace zk { function class (line 179) | class ZKWatcherEvent type EventSource (line 254) | typedef EventSource ZKEventSource; type EventListener (line 259) | typedef EventListener ZKEventListener; function class (line 264) | class ZooKeeperAdapter FILE: src/contrib/zkfuse/src/zkfuse.cc function millisecsToSecs (line 71) | inline function secsToMillisecs (line 76) | inline function nanosecsToMillisecs (line 81) | inline function timespecToMillisecs (line 86) | inline class ZkFuseCommon (line 100) | class ZkFuseCommon method ZkFuseCommon (line 163) | ZkFuseCommon() method setDataFileName (line 199) | void setDataFileName(const std::string & dataFileName) method setForceDirSuffix (line 226) | void setForceDirSuffix(const std::string & forceDirSuffix) method getCacheSize (line 252) | unsigned getCacheSize() const method setCacheSize (line 261) | void setCacheSize(unsigned v) method uid_t (line 269) | uid_t getUid() const method gid_t (line 277) | gid_t getGid() const method getBlkSize (line 285) | unsigned getBlkSize() const method ZooKeeperAdapterSharedPtr (line 293) | const ZooKeeperAdapterSharedPtr & getZkAdapter() const method setZkAdapter (line 301) | void setZkAdapter(const ZooKeeperAdapterSharedPtr & zkAdapter) type ZkFuseNameType (line 310) | enum ZkFuseNameType { class ZkFuseFile (line 329) | class ZkFuseFile method uid_t (line 1074) | uid_t _getUid() const method gid_t (line 1083) | gid_t _getGid() const method _getBlkSize (line 1092) | unsigned _getBlkSize() const method _numChildrenIncludeMeta (line 1101) | unsigned _numChildrenIncludeMeta() const method _numChildrenExcludeMeta (line 1112) | unsigned _numChildrenExcludeMeta() const method _hasChildrenIncludeMeta (line 1131) | bool _hasChildrenIncludeMeta() const method _hasChildrenExcludeMeta (line 1141) | bool _hasChildrenExcludeMeta() const method _hasData (line 1150) | bool _hasData() const method _hasChildPath (line 1160) | bool _hasChildPath(const std::string & childPath) const method _isMeta (line 1182) | bool _isMeta(const std::string & childName) const method _getChildPath (line 1211) | std::string _getChildPath(const std::string & name) const method _hasRegMetadata (line 1221) | bool _hasRegMetadata() const method _hasDirMetadata (line 1234) | bool _hasDirMetadata() const method _isReg (line 1251) | bool _isReg() const method _isDir (line 1270) | bool _isDir() const method _isRegNameType (line 1287) | bool _isRegNameType(ZkFuseNameType nameType, bool doLock = false) const method _isDirNameType (line 1324) | bool _isDirNameType(ZkFuseNameType nameType, bool doLock = false) const type Metadata (line 1351) | struct Metadata { method Metadata (line 1368) | Metadata() method _encodeMetadata (line 1385) | void _encodeMetadata(const Metadata & meta, Data & data) const method _decodeMetadata (line 1402) | void _decodeMetadata(const Data & data, Metadata & meta) const method _flush (line 1451) | int _flush() method _truncate (line 1500) | int _truncate(off_t size) method _rmdir (line 1560) | int _rmdir(ZkFuseNameType nameType, bool force) method _unlink (line 1628) | int _unlink(ZkFuseNameType nameType) method _isInitialized (line 1663) | bool _isInitialized() const method _clearChildren (line 1670) | void _clearChildren() method _clearData (line 1678) | void _clearData() method _isZombie (line 1693) | bool _isZombie() const method _isOnlyRegOpen (line 1706) | bool _isOnlyRegOpen() const method _getattrNoMetaAccess (line 1722) | int _getattrNoMetaAccess(struct stat & stbuf, ZkFuseNameType nameType)... method _getZkContext (line 1775) | ZooKeeperAdapter::ContextType _getZkContext() const class DataListener (line 1786) | class DataListener : public ZKEventListener { method eventReceived (line 1792) | virtual void eventReceived(const ZKEventSource & source, class ChildrenListener (line 1807) | class ChildrenListener : public ZKEventListener { method eventReceived (line 1813) | virtual void eventReceived(const ZKEventSource & source, method ZkFuseFile (line 1847) | ZkFuseFile(const ZkFuseHandleManager::SharedPtr & manager, method isDeleted (line 1890) | bool isDeleted() const method string (line 1902) | const string & getPath() const method addChild (line 1912) | int addChild(const std::string & childPath) method removeChild (line 1944) | int removeChild(const std::string & childPath) method clear (line 1978) | void clear(bool clearChildren = true, bool clearData = true) method isZombie (line 1999) | bool isZombie() const method incRefCount (line 2018) | int incRefCount(int count = 1) method decRefCount (line 2046) | int decRefCount(int count = 1) method incOpenDirCount (line 2060) | int incOpenDirCount(int count = 1) method decOpenDirCount (line 2088) | int decOpenDirCount(int count = 1) method isDirNameType (line 2104) | bool isDirNameType(ZkFuseNameType nameType) const method isRegNameType (line 2120) | bool isRegNameType(ZkFuseNameType nameType) const method getData (line 2130) | void getData(Data & data) const method setData (line 2147) | int setData(const Data & data, bool doFlush) method update (line 2195) | int update(bool newFile) method dataEventReceived (line 2350) | void dataEventReceived(const ZKWatcherEvent & event) method childrenEventReceived (line 2448) | void childrenEventReceived(const ZKWatcherEvent & event) method truncate (line 2537) | int truncate(off_t size) method read (line 2557) | int read(char *buf, size_t size, off_t offset) const method write (line 2603) | int write(const char *buf, size_t size, off_t offset) method flush (line 2654) | int flush() method close (line 2675) | int close() method getattr (line 2703) | int getattr(struct stat & stbuf, ZkFuseNameType nameType) const method readdir (line 2760) | int readdir(void *buf, fuse_fill_dir_t filler, off_t offset) const method utime (line 2868) | int utime(uint64_t atime, uint64_t mtime, ZkFuseNameType nameType) method rmdir (line 2934) | int rmdir(ZkFuseNameType nameType, bool force) method unlink (line 2970) | int unlink(ZkFuseNameType nameType) method buildChildPath (line 2990) | static std::string buildChildPath(const std::string & parent, class ZkFuseHandleManagerFactory (line 333) | class ZkFuseHandleManagerFactory method create (line 723) | static ZkFuseHandleManager::SharedPtr create( class ZkFuseHandleManager (line 365) | class ZkFuseHandleManager : boost::noncopyable method ZkFuseHandleManager (line 455) | ZkFuseHandleManager( method ZkFuseFilePtr (line 488) | ZkFuseFilePtr getFile(Handle handle) const method ZkFuseCommon (line 498) | const ZkFuseCommon & getCommon() const type stat (line 632) | struct stat class ZkFuseHandleManagerFactory (line 713) | class ZkFuseHandleManagerFactory method create (line 723) | static ZkFuseHandleManager::SharedPtr create( class ZkFuseAutoHandle (line 741) | class ZkFuseAutoHandle method _initFile (line 770) | void _initFile() method ZkFuseAutoHandle (line 786) | ZkFuseAutoHandle( method ZkFuseAutoHandle (line 801) | ZkFuseAutoHandle( method ZkFuseAutoHandle (line 826) | ZkFuseAutoHandle( method get (line 850) | int get() const method ZkFuseFilePtr (line 858) | ZkFuseFilePtr getFile() const method release (line 865) | void release() class ZkFuseStat (line 884) | class ZkFuseStat : public Stat method ZkFuseStat (line 890) | ZkFuseStat() method clear (line 903) | void clear() class ZkFuseFile (line 942) | class ZkFuseFile : boost::noncopyable method uid_t (line 1074) | uid_t _getUid() const method gid_t (line 1083) | gid_t _getGid() const method _getBlkSize (line 1092) | unsigned _getBlkSize() const method _numChildrenIncludeMeta (line 1101) | unsigned _numChildrenIncludeMeta() const method _numChildrenExcludeMeta (line 1112) | unsigned _numChildrenExcludeMeta() const method _hasChildrenIncludeMeta (line 1131) | bool _hasChildrenIncludeMeta() const method _hasChildrenExcludeMeta (line 1141) | bool _hasChildrenExcludeMeta() const method _hasData (line 1150) | bool _hasData() const method _hasChildPath (line 1160) | bool _hasChildPath(const std::string & childPath) const method _isMeta (line 1182) | bool _isMeta(const std::string & childName) const method _getChildPath (line 1211) | std::string _getChildPath(const std::string & name) const method _hasRegMetadata (line 1221) | bool _hasRegMetadata() const method _hasDirMetadata (line 1234) | bool _hasDirMetadata() const method _isReg (line 1251) | bool _isReg() const method _isDir (line 1270) | bool _isDir() const method _isRegNameType (line 1287) | bool _isRegNameType(ZkFuseNameType nameType, bool doLock = false) const method _isDirNameType (line 1324) | bool _isDirNameType(ZkFuseNameType nameType, bool doLock = false) const type Metadata (line 1351) | struct Metadata { method Metadata (line 1368) | Metadata() method _encodeMetadata (line 1385) | void _encodeMetadata(const Metadata & meta, Data & data) const method _decodeMetadata (line 1402) | void _decodeMetadata(const Data & data, Metadata & meta) const method _flush (line 1451) | int _flush() method _truncate (line 1500) | int _truncate(off_t size) method _rmdir (line 1560) | int _rmdir(ZkFuseNameType nameType, bool force) method _unlink (line 1628) | int _unlink(ZkFuseNameType nameType) method _isInitialized (line 1663) | bool _isInitialized() const method _clearChildren (line 1670) | void _clearChildren() method _clearData (line 1678) | void _clearData() method _isZombie (line 1693) | bool _isZombie() const method _isOnlyRegOpen (line 1706) | bool _isOnlyRegOpen() const method _getattrNoMetaAccess (line 1722) | int _getattrNoMetaAccess(struct stat & stbuf, ZkFuseNameType nameType)... method _getZkContext (line 1775) | ZooKeeperAdapter::ContextType _getZkContext() const class DataListener (line 1786) | class DataListener : public ZKEventListener { method eventReceived (line 1792) | virtual void eventReceived(const ZKEventSource & source, class ChildrenListener (line 1807) | class ChildrenListener : public ZKEventListener { method eventReceived (line 1813) | virtual void eventReceived(const ZKEventSource & source, method ZkFuseFile (line 1847) | ZkFuseFile(const ZkFuseHandleManager::SharedPtr & manager, method isDeleted (line 1890) | bool isDeleted() const method string (line 1902) | const string & getPath() const method addChild (line 1912) | int addChild(const std::string & childPath) method removeChild (line 1944) | int removeChild(const std::string & childPath) method clear (line 1978) | void clear(bool clearChildren = true, bool clearData = true) method isZombie (line 1999) | bool isZombie() const method incRefCount (line 2018) | int incRefCount(int count = 1) method decRefCount (line 2046) | int decRefCount(int count = 1) method incOpenDirCount (line 2060) | int incOpenDirCount(int count = 1) method decOpenDirCount (line 2088) | int decOpenDirCount(int count = 1) method isDirNameType (line 2104) | bool isDirNameType(ZkFuseNameType nameType) const method isRegNameType (line 2120) | bool isRegNameType(ZkFuseNameType nameType) const method getData (line 2130) | void getData(Data & data) const method setData (line 2147) | int setData(const Data & data, bool doFlush) method update (line 2195) | int update(bool newFile) method dataEventReceived (line 2350) | void dataEventReceived(const ZKWatcherEvent & event) method childrenEventReceived (line 2448) | void childrenEventReceived(const ZKWatcherEvent & event) method truncate (line 2537) | int truncate(off_t size) method read (line 2557) | int read(char *buf, size_t size, off_t offset) const method write (line 2603) | int write(const char *buf, size_t size, off_t offset) method flush (line 2654) | int flush() method close (line 2675) | int close() method getattr (line 2703) | int getattr(struct stat & stbuf, ZkFuseNameType nameType) const method readdir (line 2760) | int readdir(void *buf, fuse_fill_dir_t filler, off_t offset) const method utime (line 2868) | int utime(uint64_t atime, uint64_t mtime, ZkFuseNameType nameType) method rmdir (line 2934) | int rmdir(ZkFuseNameType nameType, bool force) method unlink (line 2970) | int unlink(ZkFuseNameType nameType) method buildChildPath (line 2990) | static std::string buildChildPath(const std::string & parent, type stat (line 3402) | struct stat type stat (line 3457) | struct stat function zkfuse_getattr (line 3633) | static function zkfuse_fgetattr (line 3650) | static function zkfuse_access (line 3675) | static function zkfuse_readlink (line 3682) | static function zkfuse_opendir (line 3689) | static function zkfuse_readdir (line 3720) | static int function zkfuse_releasedir (line 3745) | static function zkfuse_mknod (line 3769) | static function zkfuse_mkdir (line 3792) | static int zkfuse_mkdir(const char *path, mode_t mode) function zkfuse_unlink (line 3808) | static int zkfuse_unlink(const char *path) function zkfuse_rmdir (line 3824) | static int zkfuse_rmdir(const char *path) function zkfuse_symlink (line 3841) | static int zkfuse_symlink(const char *from, const char *to) function zkfuse_rename (line 3847) | static int zkfuse_rename(const char *from, const char *to) function zkfuse_link (line 3864) | static int zkfuse_link(const char *from, const char *to) function zkfuse_chmod (line 3870) | static int zkfuse_chmod(const char *path, mode_t mode) function zkfuse_chown (line 3879) | static int zkfuse_chown(const char *path, uid_t uid, gid_t gid) function zkfuse_truncate (line 3897) | static int zkfuse_truncate(const char *path, off_t size) function zkfuse_ftruncate (line 3919) | static function zkfuse_utimens (line 3942) | static function zkfuse_create (line 3967) | static function zkfuse_open (line 3980) | static function zkfuse_read (line 4010) | static function zkfuse_write (line 4036) | static function zkfuse_statfs (line 4062) | static int zkfuse_statfs(const char *path, struct statvfs *stbuf) function zkfuse_flush (line 4068) | static function zkfuse_release (line 4097) | static function zkfuse_fsync (line 4120) | static function zkfuse_setxattr (line 4135) | static int zkfuse_setxattr(const char *path, const char *name, const cha... function zkfuse_getxattr (line 4144) | static int zkfuse_getxattr(const char *path, const char *name, char *value, function zkfuse_listxattr (line 4153) | static int zkfuse_listxattr(const char *path, char *list, size_t size) function zkfuse_removexattr (line 4161) | static int zkfuse_removexattr(const char *path, const char *name) function zkfuse_lock (line 4170) | static function init_zkfuse_oper (line 4180) | static class SessionEventListener (line 4224) | class SessionEventListener : public ZKEventListener method setManager (line 4238) | void setManager(const ZkFuseHandleManager::SharedPtr & manager) method eventReceived (line 4246) | virtual void eventReceived(const ZKEventSource & source, function usage (line 4253) | void function main (line 4276) | int FILE: src/contrib/zkpython/src/c/zookeeper.c function PyObject (line 51) | PyObject *err_to_exception(int errcode) { type pywatcher_t (line 117) | typedef struct { function init_zhandles (line 142) | int init_zhandles(int num) { function resize_zhandles (line 162) | int resize_zhandles(void) { function next_zhandle (line 195) | unsigned int next_zhandle(void) { function pywatcher_t (line 215) | pywatcher_t *create_pywatcher(int zh, PyObject* cb, int permanent) function free_pywatcher (line 229) | void free_pywatcher(pywatcher_t *pw) function PyObject (line 242) | PyObject *build_stat( const struct Stat *stat ) function PyObject (line 267) | PyObject *build_string_vector(const struct String_vector *sv) function check_is_acl (line 298) | int check_is_acl(PyObject *o) { function PyObject (line 341) | PyObject *build_acls( const struct ACL_vector *acls ) function parse_acls (line 361) | int parse_acls(struct ACL_vector *acls, PyObject *pyacls) function free_acls (line 403) | void free_acls( struct ACL_vector *acls ) function watcher_dispatch (line 435) | void watcher_dispatch(zhandle_t *zzh, int type, int state, function void_completion_dispatch (line 465) | void void_completion_dispatch(int rc, const void *data) function stat_completion_dispatch (line 483) | void stat_completion_dispatch(int rc, const struct Stat *stat, const voi... function data_completion_dispatch (line 504) | void data_completion_dispatch(int rc, const char *value, int value_len, ... function strings_completion_dispatch (line 525) | void strings_completion_dispatch(int rc, const struct String_vector *str... function string_completion_dispatch (line 550) | void string_completion_dispatch(int rc, const char *value, const void *d... function acl_completion_dispatch (line 569) | void acl_completion_dispatch(int rc, struct ACL_vector *acl, struct Stat... function PyObject (line 597) | static PyObject *pyzookeeper_init(PyObject *self, PyObject *args) function PyObject (line 654) | PyObject *pyzoo_acreate(PyObject *self, PyObject *args) function PyObject (line 695) | PyObject *pyzoo_adelete(PyObject *self, PyObject *args) function PyObject (line 725) | PyObject *pyzoo_aexists(PyObject *self, PyObject *args) function PyObject (line 765) | PyObject *pyzoo_aget(PyObject *self, PyObject *args) function PyObject (line 807) | PyObject *pyzoo_aset(PyObject *self, PyObject *args) function PyObject (line 837) | PyObject *pyzoo_aget_children(PyObject *self, PyObject *args) function PyObject (line 877) | PyObject *pyzoo_async(PyObject *self, PyObject *args) function PyObject (line 908) | PyObject *pyzoo_aget_acl(PyObject *self, PyObject *args) function PyObject (line 938) | PyObject *pyzoo_aset_acl(PyObject *self, PyObject *args) function PyObject (line 976) | PyObject *pyzoo_add_auth(PyObject *self, PyObject *args) function PyObject (line 1015) | static PyObject *pyzoo_create(PyObject *self, PyObject *args) function PyObject (line 1045) | static PyObject *pyzoo_delete(PyObject *self, PyObject *args) function PyObject (line 1064) | static PyObject *pyzoo_exists(PyObject *self, PyObject *args) function PyObject (line 1097) | static PyObject *pyzoo_get_children(PyObject *self, PyObject *args) function PyObject (line 1132) | static PyObject *pyzoo_set(PyObject *self, PyObject *args) function PyObject (line 1155) | static PyObject *pyzoo_set2(PyObject *self, PyObject *args) function PyObject (line 1187) | static PyObject *pyzoo_get(PyObject *self, PyObject *args) function PyObject (line 1233) | PyObject *pyzoo_get_acl(PyObject *self, PyObject *args) function PyObject (line 1256) | PyObject *pyzoo_set_acl(PyObject *self, PyObject *args) function PyObject (line 1284) | PyObject *pyzoo_close(PyObject *self, PyObject *args) function PyObject (line 1300) | PyObject *pyzoo_client_id(PyObject *self, PyObject *args) function PyObject (line 1313) | PyObject *pyzoo_get_context(PyObject *self, PyObject *args) function PyObject (line 1328) | PyObject *pyzoo_set_context(PyObject *self, PyObject *args) function PyObject (line 1352) | PyObject *pyzoo_set_watcher(PyObject *self, PyObject *args) function PyObject (line 1379) | PyObject *pyzoo_state(PyObject *self, PyObject *args) function PyObject (line 1392) | PyObject *pyzerror(PyObject *self, PyObject *args) function PyObject (line 1401) | PyObject *pyzoo_recv_timeout(PyObject *self, PyObject *args) function PyObject (line 1412) | PyObject *pyis_unrecoverable(PyObject *self, PyObject *args) function PyObject (line 1425) | PyObject *pyzoo_set_debug_level(PyObject *self, PyObject *args) function PyObject (line 1477) | PyObject *pyzoo_deterministic_conn_order(PyObject *self, PyObject *args) type PyModuleDef (line 1533) | struct PyModuleDef function PyMODINIT_FUNC (line 1556) | PyMODINIT_FUNC initzookeeper(void) { FILE: src/contrib/zkpython/src/examples/watch_znode_for_changes.py class MyClass (line 83) | class MyClass(threading.Thread): method __init__ (line 86) | def __init__(self, options, args): method __del__ (line 99) | def __del__(self): method aget (line 102) | def aget(self): method handler (line 105) | def handler(self, zh, rc, data, stat): method watcher (line 132) | def watcher(self, zh, event, state, path): method run (line 162) | def run(self): function main (line 167) | def main(argv=None): FILE: src/contrib/zkpython/src/python/zk.py function my_connection_watcher (line 25) | def my_connection_watcher(handle,type,state,path): function my_getc_watch (line 40) | def my_getc_watch( handle, type, state, path ): function pp_zk (line 54) | def pp_zk(handle,root, indent = 0): FILE: src/contrib/zkpython/src/test/acl_test.py class ACLTest (line 24) | class ACLTest(zktestbase.TestBase): method setUp (line 27) | def setUp(self): method test_sync_acl (line 35) | def test_sync_acl(self): method test_async_acl (line 46) | def test_async_acl(self): method test_invalid_acl (line 88) | def test_invalid_acl(self): method test_invalid_acl2 (line 97) | def test_invalid_acl2(self): FILE: src/contrib/zkpython/src/test/async_test.py class AsyncTest (line 21) | class AsyncTest(zktestbase.TestBase): method setUp (line 24) | def setUp( self ): method test_async (line 27) | def test_async(self): FILE: src/contrib/zkpython/src/test/callback_test.py class CallbackTest (line 23) | class CallbackTest(zktestbase.TestBase): method setUp (line 28) | def setUp(self): method create_callback (line 32) | def create_callback(self, callback): method test_none_callback (line 43) | def test_none_callback(self): method callback_harness (line 54) | def callback_harness(self, trigger, test): method test_dispatch_types (line 61) | def test_dispatch_types(self): method test_multiple_watchers (line 104) | def test_multiple_watchers(self): method test_lose_scope (line 132) | def test_lose_scope(self): FILE: src/contrib/zkpython/src/test/clientid_test.py class ClientidTest (line 23) | class ClientidTest(zktestbase.TestBase): method setUp (line 25) | def setUp(self): method testclientid (line 28) | def testclientid(self): FILE: src/contrib/zkpython/src/test/close_deadlock_test.py class CloseDeadlockTest (line 23) | class CloseDeadlockTest(zktestbase.TestBase): method deadlock (line 34) | def deadlock(): FILE: src/contrib/zkpython/src/test/connection_test.py class ConnectionTest (line 26) | class ConnectionTest(zktestbase.TestBase): method setUp (line 28) | def setUp(self): method testconnection (line 31) | def testconnection(self): method testhandlereuse (line 61) | def testhandlereuse(self): method testmanyhandles (line 92) | def testmanyhandles(self): method testversionstringexists (line 122) | def testversionstringexists(self): method tearDown (line 127) | def tearDown(self): FILE: src/contrib/zkpython/src/test/create_test.py class CreationTest (line 23) | class CreationTest(zktestbase.TestBase): method setUp (line 26) | def setUp(self): method test_sync_create (line 34) | def test_sync_create(self): method test_sync_create_existing (line 46) | def test_sync_create_existing(self): method test_exception_paths (line 60) | def test_exception_paths(self): method test_async_create (line 79) | def test_async_create(self): FILE: src/contrib/zkpython/src/test/delete_test.py class DeletionTest (line 21) | class DeletionTest(zktestbase.TestBase): method test_sync_delete (line 24) | def test_sync_delete(self): method test_async_delete (line 40) | def test_async_delete(self): FILE: src/contrib/zkpython/src/test/exists_test.py class ExistsTest (line 22) | class ExistsTest(zktestbase.TestBase): method setUp (line 23) | def setUp( self ): method test_sync_exists (line 31) | def test_sync_exists(self): method test_sync_nexists (line 36) | def test_sync_nexists(self): method test_async_exists (line 40) | def test_async_exists(self): FILE: src/contrib/zkpython/src/test/get_set_test.py class GetSetTest (line 25) | class GetSetTest(zktestbase.TestBase): method setUp (line 26) | def setUp( self ): method test_empty_node (line 35) | def test_empty_node(self): method test_sync_getset (line 48) | def test_sync_getset(self): method test_stat_deleted_node (line 70) | def test_stat_deleted_node(self): method test_sync_get_large_datanode (line 97) | def test_sync_get_large_datanode(self): method test_async_getset (line 116) | def test_async_getset(self): method test_sync_getchildren (line 154) | def test_sync_getchildren(self): method test_async_getchildren (line 160) | def test_async_getchildren(self): method test_async_getchildren_with_watcher (line 181) | def test_async_getchildren_with_watcher(self): FILE: src/contrib/zkpython/src/test/zktestbase.py class TestBase (line 23) | class TestBase(unittest.TestCase): method __init__ (line 26) | def __init__(self,methodName='runTest'): method setUp (line 40) | def setUp(self): method newConnection (line 58) | def newConnection(self): method ensureDeleted (line 76) | def ensureDeleted(self,path): method ensureCreated (line 83) | def ensureCreated(self,path,data="",flags=zookeeper.EPHEMERAL): method tearDown (line 93) | def tearDown(self): method all (line 97) | def all(self, iterable): FILE: src/contrib/zktreeutil/src/SimpleTree.h function namespace (line 25) | namespace zktreeutil FILE: src/contrib/zktreeutil/src/ZkAdaptor.cc type zktreeutil (line 29) | namespace zktreeutil class RetryHandler (line 34) | class RetryHandler method RetryHandler (line 37) | RetryHandler(const ZooKeeperConfig &zkConfig) : m_zkConfig(zkConfig) method handleRC (line 52) | bool handleRC(int rc) method retryOnError (line 82) | static bool retryOnError(int zkErrorCode) type timeval (line 216) | struct timeval type Stat (line 430) | struct Stat type Stat (line 431) | struct Stat function string (line 455) | string ZooKeeperAdapter::getNodeData(const string &path) throw(ZooKeep... FILE: src/contrib/zktreeutil/src/ZkAdaptor.h function namespace (line 29) | namespace zktreeutil function class (line 174) | class ZooKeeperAdapter FILE: src/contrib/zktreeutil/src/ZkTreeUtil.cc type zktreeutil (line 27) | namespace zktreeutil function ZkTreeNodeSptr (line 32) | static ZkTreeNodeSptr loadZkTree_ (ZooKeeperAdapterSptr zkHandle, function ZkTreeNodeSptr (line 64) | static ZkTreeNodeSptr loadZkTreeXml_ (xmlNode* xmlNodePtr) function writeZkTree_ (line 118) | static void writeZkTree_ (ZooKeeperAdapterSptr zkHandle, function addTreeZkAction_ (line 150) | static void addTreeZkAction_ (const ZkTreeNodeSptr zkNodeSptr, function xmlNodePtr (line 174) | static xmlNodePtr dumpZkTreeXml_ (const ZkTreeNodeSptr zkNodeSptr) function dumpZkTree_ (line 192) | static void dumpZkTree_ (const ZkTreeNodeSptr zkNodeSptr, function ZkTreeNodeSptr (line 237) | static ZkTreeNodeSptr traverseBranch_ (const ZkTreeNodeSptr& zkRootSptr, function ZkTreeNodeSptr (line 280) | static ZkTreeNodeSptr createAncestors_ (const string& path) function ZooKeeperAdapterSptr (line 299) | ZooKeeperAdapterSptr ZkTreeUtil::get_zkHandle (const string& zkHosts) FILE: src/contrib/zktreeutil/src/ZkTreeUtil.h function namespace (line 27) | namespace zktreeutil FILE: src/contrib/zktreeutil/src/ZkTreeUtilMain.cc type option (line 34) | struct option function usage (line 50) | static void usage(int argc, char *argv[]) function main (line 133) | int main(int argc, char **argv) FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/ZooInspector.java class ZooInspector (line 34) | public class ZooInspector { method main (line 40) | public static void main(String[] args) { FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/encryption/BasicDataEncryptionManager.java class BasicDataEncryptionManager (line 23) | public class BasicDataEncryptionManager implements DataEncryptionManager { method decryptData (line 32) | public String decryptData(byte[] encrypted) throws Exception { method encryptData (line 43) | public byte[] encryptData(String data) throws Exception { FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/encryption/DataEncryptionManager.java type DataEncryptionManager (line 23) | public interface DataEncryptionManager { method encryptData (line 30) | public byte[] encryptData(String data) throws Exception; method decryptData (line 38) | public String decryptData(byte[] encrypted) throws Exception; FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/NodeViewersChangeListener.java type NodeViewersChangeListener (line 27) | public interface NodeViewersChangeListener { method nodeViewersChanged (line 36) | public void nodeViewersChanged(List newViewers); FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/ZooInspectorAboutDialog.java class ZooInspectorAboutDialog (line 38) | public class ZooInspectorAboutDialog extends JDialog { method ZooInspectorAboutDialog (line 43) | public ZooInspectorAboutDialog(Frame frame) { FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/ZooInspectorConnectionPropertiesDialog.java class ZooInspectorConnectionPropertiesDialog (line 52) | public class ZooInspectorConnectionPropertiesDialog extends JDialog { method ZooInspectorConnectionPropertiesDialog (line 66) | public ZooInspectorConnectionPropertiesDialog( method loadConnectionProps (line 290) | private void loadConnectionProps(Properties props) { method getConnectionProps (line 307) | private Properties getConnectionProps() { FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/ZooInspectorIconResources.java class ZooInspectorIconResources (line 26) | public class ZooInspectorIconResources { method getTreeLeafIcon (line 31) | public static ImageIcon getTreeLeafIcon() { method getTreeOpenIcon (line 38) | public static ImageIcon getTreeOpenIcon() { method getTreeClosedIcon (line 45) | public static ImageIcon getTreeClosedIcon() { method getConnectIcon (line 52) | public static ImageIcon getConnectIcon() { method getDisconnectIcon (line 59) | public static ImageIcon getDisconnectIcon() { method getSaveIcon (line 66) | public static ImageIcon getSaveIcon() { method getAddNodeIcon (line 73) | public static ImageIcon getAddNodeIcon() { method getDeleteNodeIcon (line 80) | public static ImageIcon getDeleteNodeIcon() { method getRefreshIcon (line 87) | public static ImageIcon getRefreshIcon() { method getInformationIcon (line 94) | public static ImageIcon getInformationIcon() { method getChangeNodeViewersIcon (line 101) | public static ImageIcon getChangeNodeViewersIcon() { method getUpIcon (line 108) | public static ImageIcon getUpIcon() { method getDownIcon (line 115) | public static ImageIcon getDownIcon() { FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/ZooInspectorNodeViewersDialog.java class ZooInspectorNodeViewersDialog (line 62) | public class ZooInspectorNodeViewersDialog extends JDialog implements method ZooInspectorNodeViewersDialog (line 87) | public ZooInspectorNodeViewersDialog(Frame frame, method valueChanged (line 585) | public void valueChanged(ListSelectionEvent e) { FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/ZooInspectorNodeViewersPanel.java class ZooInspectorNodeViewersPanel (line 39) | public class ZooInspectorNodeViewersPanel extends JPanel implements method ZooInspectorNodeViewersPanel (line 54) | public ZooInspectorNodeViewersPanel( method setNodeViewers (line 71) | public void setNodeViewers(List nodeViewers) { method reloadSelectedViewer (line 85) | private void reloadSelectedViewer() { method valueChanged (line 101) | public void valueChanged(TreeSelectionEvent e) { method stateChanged (line 137) | public void stateChanged(ChangeEvent e) { FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/ZooInspectorPanel.java class ZooInspectorPanel (line 44) | public class ZooInspectorPanel extends JPanel implements method ZooInspectorPanel (line 65) | public ZooInspectorPanel(final ZooInspectorManager zooInspectorManager) { method connect (line 237) | public void connect(final Properties connectionProps) { method disconnect (line 283) | public void disconnect() { method disconnect (line 292) | public void disconnect(boolean wait) { method nodeViewersChanged (line 349) | public void nodeViewersChanged(List newViewers) { method setdefaultConnectionProps (line 357) | public void setdefaultConnectionProps(Properties connectionProps) FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/ZooInspectorTreeViewer.java class ZooInspectorTreeViewer (line 55) | public class ZooInspectorTreeViewer extends JPanel implements NodeListen... method ZooInspectorTreeViewer (line 67) | public ZooInspectorTreeViewer( method refreshView (line 118) | public void refreshView() { method clearView (line 151) | public void clearView() { class ZooInspectorTreeCellRenderer (line 159) | private static class ZooInspectorTreeCellRenderer extends method ZooInspectorTreeCellRenderer (line 161) | public ZooInspectorTreeCellRenderer() { class ZooInspectorTreeNode (line 172) | private class ZooInspectorTreeNode implements TreeNode { method ZooInspectorTreeNode (line 177) | public ZooInspectorTreeNode(String nodePath, ZooInspectorTreeNode pa... method children (line 193) | public Enumeration children() { method getAllowsChildren (line 211) | public boolean getAllowsChildren() { method getChildAt (line 220) | public TreeNode getChildAt(int childIndex) { method getChildCount (line 236) | public int getChildCount() { method getIndex (line 245) | public int getIndex(TreeNode node) { method getParent (line 254) | public TreeNode getParent() { method isLeaf (line 263) | public boolean isLeaf() { method toString (line 267) | @Override method hashCode (line 272) | @Override method equals (line 284) | @Override method getOuterType (line 308) | private ZooInspectorTreeViewer getOuterType() { method getSelectedNodes (line 317) | public List getSelectedNodes() { method processEvent (line 344) | public void processEvent(String nodePath, String eventType, FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/nodeviewer/NodeViewerACL.java class NodeViewerACL (line 43) | public class NodeViewerACL extends ZooInspectorNodeViewer { method NodeViewerACL (line 51) | public NodeViewerACL() { method getTitle (line 66) | @Override method nodeSelectionChanged (line 78) | @Override method setZooInspectorManager (line 181) | @Override FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/nodeviewer/NodeViewerData.java class NodeViewerData (line 40) | public class NodeViewerData extends ZooInspectorNodeViewer { method NodeViewerData (line 49) | public NodeViewerData() { method getTitle (line 87) | @Override method nodeSelectionChanged (line 99) | @Override method setZooInspectorManager (line 140) | @Override FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/nodeviewer/NodeViewerMetaData.java class NodeViewerMetaData (line 45) | public class NodeViewerMetaData extends ZooInspectorNodeViewer { method NodeViewerMetaData (line 53) | public NodeViewerMetaData() { method getTitle (line 68) | @Override method nodeSelectionChanged (line 80) | @Override method setZooInspectorManager (line 180) | @Override FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/gui/nodeviewer/ZooInspectorNodeViewer.java class ZooInspectorNodeViewer (line 34) | public abstract class ZooInspectorNodeViewer extends JPanel implements method setZooInspectorManager (line 46) | public abstract void setZooInspectorManager( method nodeSelectionChanged (line 56) | public abstract void nodeSelectionChanged(List selectedNodes); method getTitle (line 62) | public abstract String getTitle(); method getTransferData (line 71) | public Object getTransferData(DataFlavor flavor) method getTransferDataFlavors (line 85) | public DataFlavor[] getTransferDataFlavors() { method isDataFlavorSupported (line 95) | public boolean isDataFlavorSupported(DataFlavor flavor) { method hashCode (line 104) | @Override method equals (line 118) | @Override FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/logger/LoggerFactory.java class LoggerFactory (line 24) | public class LoggerFactory method getLogger (line 31) | public static org.slf4j.Logger getLogger() FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/manager/NodeListener.java type NodeListener (line 25) | public interface NodeListener { method processEvent (line 35) | public void processEvent(String nodePath, String eventType, FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/manager/Pair.java class Pair (line 26) | public class Pair { method Pair (line 34) | public Pair(K key, V value) { method Pair (line 42) | public Pair() { method getKey (line 49) | public K getKey() { method setKey (line 56) | public void setKey(K key) { method getValue (line 63) | public V getValue() { method setValue (line 70) | public void setValue(V value) { method toString (line 74) | @Override method hashCode (line 84) | @Override method equals (line 98) | @Override FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/manager/ZooInspectorManager.java type ZooInspectorManager (line 34) | public interface ZooInspectorManager extends ZooInspectorNodeManager, method connect (line 41) | public boolean connect(Properties connectionProps); method disconnect (line 46) | public boolean disconnect(); method getConnectionPropertiesTemplate (line 61) | public Pair>, Map> getConnect... method addWatchers (line 69) | public void addWatchers(Collection selectedNodes, method removeWatchers (line 76) | public void removeWatchers(Collection selectedNodes); method loadNodeViewersFile (line 87) | public List loadNodeViewersFile(File selectedFile) method saveNodeViewersFile (line 98) | public void saveNodeViewersFile(File selectedFile, method setDefaultNodeViewerConfiguration (line 107) | public void setDefaultNodeViewerConfiguration( method getDefaultNodeViewerConfiguration (line 116) | List getDefaultNodeViewerConfiguration() throws IOException; method setLastConnectionProps (line 123) | public void setLastConnectionProps(Properties connectionProps); method getLastConnectionProps (line 129) | public Properties getLastConnectionProps(); method saveDefaultConnectionFile (line 137) | public void saveDefaultConnectionFile(Properties props) throws IOExcep... FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/manager/ZooInspectorManagerImpl.java class ZooInspectorManagerImpl (line 55) | public class ZooInspectorManagerImpl implements ZooInspectorManager { method ZooInspectorManagerImpl (line 117) | public ZooInspectorManagerImpl() throws IOException { method connect (line 128) | public boolean connect(Properties connectionProps) { method disconnect (line 193) | public boolean disconnect() { method getChildren (line 216) | public List getChildren(String nodePath) { method getData (line 238) | public String getData(String nodePath) { method getNodeChild (line 263) | public String getNodeChild(String nodePath, int childIndex) { method getNodeIndex (line 286) | public int getNodeIndex(String nodePath) { method getACLs (line 314) | public List> getACLs(String nodePath) { method getNodeMeta (line 386) | public Map getNodeMeta(String nodePath) { method getNumChildren (line 425) | public int getNumChildren(String nodePath) { method hasChildren (line 447) | public boolean hasChildren(String nodePath) { method isAllowsChildren (line 457) | public boolean isAllowsChildren(String nodePath) { method getSessionMeta (line 479) | public Map getSessionMeta() { method createNode (line 506) | public boolean createNode(String parent, String nodeName) { method deleteNode (line 537) | public boolean deleteNode(String nodePath) { method setData (line 566) | public boolean setData(String nodePath, String data) { method getConnectionPropertiesTemplate (line 586) | public Pair>, Map> getConnect... method addWatchers (line 616) | public void addWatchers(Collection selectedNodes, method removeWatchers (line 643) | public void removeWatchers(Collection selectedNodes) { class NodeWatcher (line 662) | public class NodeWatcher implements Watcher { method NodeWatcher (line 679) | public NodeWatcher(String nodePath, NodeListener nodeListener, method process (line 691) | public void process(WatchedEvent event) { method stop (line 714) | public void stop() { method loadNodeViewersFile (line 726) | public List loadNodeViewersFile(File selectedFile) method loadDefaultConnectionFile (line 750) | private void loadDefaultConnectionFile() throws IOException { method saveDefaultConnectionFile (line 786) | public void saveDefaultConnectionFile(Properties props) throws IOExcep... method saveNodeViewersFile (line 816) | public void saveNodeViewersFile(File selectedFile, method setDefaultNodeViewerConfiguration (line 848) | public void setDefaultNodeViewerConfiguration( method getDefaultNodeViewerConfiguration (line 861) | public List getDefaultNodeViewerConfiguration() throws IOExcep... method getLastConnectionProps (line 871) | public Properties getLastConnectionProps() { method setLastConnectionProps (line 881) | public void setLastConnectionProps(Properties connectionProps) { FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/manager/ZooInspectorNodeManager.java type ZooInspectorNodeManager (line 24) | public interface ZooInspectorNodeManager extends ZooInspectorReadOnlyMan... method setData (line 32) | public boolean setData(String nodePath, String data); FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/manager/ZooInspectorNodeTreeManager.java type ZooInspectorNodeTreeManager (line 24) | public interface ZooInspectorNodeTreeManager extends method createNode (line 34) | public abstract boolean createNode(String parent, String nodeName); method deleteNode (line 41) | public abstract boolean deleteNode(String nodePath); FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/inspector/manager/ZooInspectorReadOnlyManager.java type ZooInspectorReadOnlyManager (line 27) | public interface ZooInspectorReadOnlyManager { method getData (line 34) | public abstract String getData(String nodePath); method getNodeMeta (line 41) | public abstract Map getNodeMeta(String nodePath); method getACLs (line 48) | public abstract List> getACLs(String nodePath); method getSessionMeta (line 53) | public abstract Map getSessionMeta(); method hasChildren (line 60) | public abstract boolean hasChildren(String nodePath); method getNodeIndex (line 67) | public abstract int getNodeIndex(String nodePath); method getNumChildren (line 74) | public abstract int getNumChildren(String nodePath); method getNodeChild (line 83) | public abstract String getNodeChild(String nodePath, int childIndex); method isAllowsChildren (line 90) | public abstract boolean isAllowsChildren(String nodePath); method getChildren (line 97) | public abstract List getChildren(String nodePath); FILE: src/contrib/zooinspector/src/java/org/apache/zookeeper/retry/ZooKeeperRetry.java class ZooKeeperRetry (line 36) | public class ZooKeeperRetry extends ZooKeeper { method ZooKeeperRetry (line 48) | public ZooKeeperRetry(String connectString, int sessionTimeout, method ZooKeeperRetry (line 62) | public ZooKeeperRetry(String connectString, int sessionTimeout, method close (line 69) | @Override method create (line 75) | @Override method delete (line 95) | @Override method exists (line 114) | @Override method exists (line 129) | @Override method getACL (line 144) | @Override method getChildren (line 159) | @Override method getChildren (line 174) | @Override method getData (line 189) | @Override method getData (line 204) | @Override method setACL (line 219) | @Override method setData (line 242) | @Override method setRetryLimit (line 268) | public void setRetryLimit(int limit) { method testConnection (line 275) | public boolean testConnection() { FILE: src/csharp/src/ZooKeeperNetEx.Recipes/AsyncLock.cs class AsyncLock (line 5) | internal sealed class AsyncLock method AsyncLock (line 10) | public AsyncLock() method LockAsync (line 15) | public Task LockAsync() class Releaser (line 27) | private sealed class Releaser : IDisposable method Releaser (line 30) | internal Releaser(AsyncLock toRelease) { m_toRelease = toRelease; } method Dispose (line 31) | public void Dispose() { m_toRelease.m_semaphore.Release(); } FILE: src/csharp/src/ZooKeeperNetEx.Recipes/Lock/LockListener.cs type LockListener (line 11) | public interface LockListener method lockAcquired (line 17) | Task lockAcquired(); method lockReleased (line 23) | Task lockReleased(); FILE: src/csharp/src/ZooKeeperNetEx.Recipes/Lock/ProtocolSupport.cs class ProtocolSupport (line 16) | public class ProtocolSupport method ProtocolSupport (line 25) | internal ProtocolSupport(ZooKeeper zookeeper) method getZookeeper (line 33) | public ZooKeeper getZookeeper() { method retryOperation (line 51) | protected async Task retryOperation(ZooKeeperOperation operation) method ensurePathExists (line 82) | protected Task ensurePathExists(string path) method ensureExists (line 93) | private async Task ensureExists(string path, byte[] data, List ac... class EnsureExists (line 104) | private sealed class EnsureExists : ZooKeeperOperation method EnsureExists (line 113) | public EnsureExists(ZooKeeper zookeeper, string path, byte[] data, L... method execute (line 122) | public async Task execute() method retryDelay (line 137) | private static async Task retryDelay(int attemptCount) FILE: src/csharp/src/ZooKeeperNetEx.Recipes/Lock/WriteLock.cs class WriteLock (line 19) | public sealed class WriteLock : ProtocolSupport method WriteLock (line 39) | public WriteLock(ZooKeeper zookeeper, string dir, List acls) : ba... method WriteLock (line 55) | public WriteLock(ZooKeeper zookeeper, string dir, List acl, LockL... method setLockListener (line 63) | public void setLockListener(LockListener lockListener) { method unlock (line 73) | public async Task unlock() class DeleteNode (line 109) | private sealed class DeleteNode : ZooKeeperOperation method DeleteNode (line 113) | public DeleteNode(WriteLock writeLock) method execute (line 118) | public async Task execute() class LockWatcher (line 130) | private class LockWatcher : Watcher method LockWatcher (line 134) | public LockWatcher(WriteLock outerInstance) method process (line 139) | public override async Task process(WatchedEvent @event) class LockZooKeeperOperation (line 158) | private sealed class LockZooKeeperOperation : ZooKeeperOperation method LockZooKeeperOperation (line 162) | public LockZooKeeperOperation(WriteLock writeLock) method findPrefixInChildren (line 175) | private async Task findPrefixInChildren(string prefix, ZooKeeper zoo... method execute (line 206) | public async Task execute() method Lock (line 282) | public async Task Lock() FILE: src/csharp/src/ZooKeeperNetEx.Recipes/Lock/ZNodeName.cs class ZNodeName (line 11) | internal sealed class ZNodeName : IComparable { method ZNodeName (line 17) | public ZNodeName(string name) { method ToString (line 38) | public override string ToString() { method Equals (line 42) | public override bool Equals(object obj) { method GetHashCode (line 47) | public override int GetHashCode() { method CompareTo (line 60) | public int CompareTo(ZNodeName that) { FILE: src/csharp/src/ZooKeeperNetEx.Recipes/Lock/ZooKeeperOperation.cs type ZooKeeperOperation (line 10) | public interface ZooKeeperOperation method execute (line 19) | Task execute(); FILE: src/csharp/src/ZooKeeperNetEx.Recipes/leader/LeaderElectionAware.cs type LeaderElectionAware (line 8) | public interface LeaderElectionAware { method onElectionEvent (line 16) | Task onElectionEvent(ElectionEventType eventType); FILE: src/csharp/src/ZooKeeperNetEx.Recipes/leader/LeaderElectionSupport.cs class LeaderElectionSupport (line 75) | public sealed class LeaderElectionSupport { method LeaderElectionSupport (line 91) | public LeaderElectionSupport(ZooKeeper zooKeeper, string rootNodeName,... method getLeaderHostName (line 110) | public async Task getLeaderHostName() { method start (line 158) | public async Task start() { method stop (line 191) | public async Task stop() method makeOffer (line 220) | private async Task makeOffer() { method determineElectionStatus (line 235) | private async Task determineElectionStatus() { method becomeReady (line 270) | private async Task becomeReady(LeaderOffer neighborLeaderOffer) { method becomeLeader (line 299) | private async Task becomeLeader() method becomeFailed (line 309) | private Task becomeFailed(Exception e) { method toLeaderOffers (line 316) | private async Task> toLeaderOffers(List stri... class ElectionWatcher (line 338) | private class ElectionWatcher:Watcher method ElectionWatcher (line 342) | public ElectionWatcher(LeaderElectionSupport leaderElectionSupport) method process (line 347) | public async override Task process(WatchedEvent @event) { method dispatchEvent (line 368) | private async Task dispatchEvent(ElectionEventType eventType) { method addListener (line 389) | public void addListener(LeaderElectionAware listener) { method removeListener (line 397) | public void removeListener(LeaderElectionAware listener) { method ToString (line 403) | public override string ToString() { type State (line 411) | private enum State { type ElectionEventType (line 424) | public enum ElectionEventType FILE: src/csharp/src/ZooKeeperNetEx.Recipes/leader/LeaderOffer.cs class LeaderOffer (line 9) | internal sealed class LeaderOffer { method LeaderOffer (line 14) | public LeaderOffer() { method LeaderOffer (line 18) | public LeaderOffer(int id, string nodePath, string hostName) { method ToString (line 24) | public override string ToString() { class IdComparator (line 32) | internal sealed class IdComparator : IComparer method Compare (line 34) | public int Compare(LeaderOffer o1, LeaderOffer o2) { FILE: src/csharp/src/ZooKeeperNetEx.Recipes/queue/DistributedQueue.cs class DistributedQueue (line 15) | public sealed class DistributedQueue method DistributedQueue (line 32) | public DistributedQueue(ZooKeeper zookeeper, string dir, List acl... method getOrderedChildren (line 48) | private async Task> getOrderedChildren(... method element (line 82) | public async Task element() method remove (line 129) | public async Task remove() class LatchChildWatcher (line 166) | private sealed class LatchChildWatcher : Watcher method process (line 170) | public override Task process(WatchedEvent @event) method getTask (line 177) | public Task getTask() method take (line 188) | public async Task take() method offer (line 234) | public async Task offer(byte[] data) method peek (line 256) | public async Task peek() method poll (line 273) | public async Task poll() FILE: src/csharp/src/ZooKeeperNetEx/jute/BinaryInputArchive.cs class BinaryInputArchive (line 7) | internal class BinaryInputArchive : InputArchive method getArchive (line 12) | public static BinaryInputArchive getArchive(BigEndianBinaryReader reader) class BinaryIndex (line 17) | private class BinaryIndex : Index method BinaryIndex (line 21) | internal BinaryIndex(int nelems) method done (line 25) | public bool done() method incr (line 29) | public void incr() method BinaryInputArchive (line 37) | private BinaryInputArchive(BigEndianBinaryReader reader) method readBool (line 42) | public bool readBool(string tag) method readInt (line 47) | public int readInt(string tag) method readLong (line 52) | public long readLong(string tag) method readString (line 57) | public string readString(string tag) method readBuffer (line 66) | public byte[] readBuffer(string tag) method checkLength (line 78) | private void checkLength(int len) method readRecord (line 85) | public void readRecord(Record r, string tag) method startVector (line 89) | public Index startVector(string tag) FILE: src/csharp/src/ZooKeeperNetEx/jute/BinaryOutputArchive.cs class BinaryOutputArchive (line 7) | internal class BinaryOutputArchive : OutputArchive method getArchive (line 11) | public static BinaryOutputArchive getArchive(BigEndianBinaryWriter wri... method BinaryOutputArchive (line 18) | private BinaryOutputArchive(BigEndianBinaryWriter writer) method writeBool (line 23) | public void writeBool(bool b, string tag) method writeInt (line 28) | public void writeInt(int i, string tag) method writeLong (line 33) | public void writeLong(long l, string tag) method writeString (line 38) | public void writeString(string s, string tag) method writeBuffer (line 50) | public void writeBuffer(byte[] barr, string tag) method writeRecord (line 61) | public void writeRecord(Record r, string tag) method startVector (line 67) | public void startVector(List v, string tag) method endVector (line 77) | public void endVector(List v, string tag) { } FILE: src/csharp/src/ZooKeeperNetEx/jute/Index.cs type Index (line 17) | internal interface Index method done (line 19) | bool done(); method incr (line 20) | void incr(); FILE: src/csharp/src/ZooKeeperNetEx/jute/InputArchive.cs type InputArchive (line 8) | internal interface InputArchive method readBool (line 10) | bool readBool(string tag); method readInt (line 11) | int readInt(string tag); method readLong (line 12) | long readLong(string tag); method readString (line 13) | string readString(string tag); method readBuffer (line 14) | byte[] readBuffer(string tag); method readRecord (line 15) | void readRecord(Record r, string tag); method startVector (line 16) | Index startVector(string tag); FILE: src/csharp/src/ZooKeeperNetEx/jute/OutputArchive.cs type OutputArchive (line 10) | internal interface OutputArchive method writeBool (line 12) | void writeBool(bool b, string tag); method writeInt (line 13) | void writeInt(int i, string tag); method writeLong (line 14) | void writeLong(long l, string tag); method writeString (line 15) | void writeString(string s, string tag); method writeBuffer (line 16) | void writeBuffer(byte[] buf, string tag); method writeRecord (line 17) | void writeRecord(Record r, string tag); method startVector (line 18) | void startVector(List v, string tag); method endVector (line 19) | void endVector(List v, string tag); FILE: src/csharp/src/ZooKeeperNetEx/jute/Record.cs type Record (line 8) | internal interface Record method serialize (line 10) | void serialize(OutputArchive archive, string tag); method deserialize (line 11) | void deserialize(InputArchive archive, string tag); FILE: src/csharp/src/ZooKeeperNetEx/utils/AwaitableSignal.cs class AwaitableSignal (line 11) | internal class AwaitableSignal : INotifyCompletion method GetAwaiter (line 19) | public AwaitableSignal GetAwaiter() { return this; } method OnCompleted (line 23) | public void OnCompleted(Action continuation) method TrySignal (line 31) | public void TrySignal() method GetResult (line 41) | public void GetResult() method Reset (line 45) | public void Reset() method RunContinuation (line 50) | private void RunContinuation(Action action) FILE: src/csharp/src/ZooKeeperNetEx/utils/ByteBuffer.cs class ByteBuffer (line 5) | internal class ByteBuffer method ByteBuffer (line 10) | private ByteBuffer() : this(new MemoryStream()) method ByteBuffer (line 14) | public ByteBuffer(MemoryStream stream) method allocate (line 19) | public static ByteBuffer allocate(int capacity) method flip (line 25) | public void flip() method clear (line 32) | public void clear() method limit (line 38) | public int limit() method remaining (line 45) | public int remaining() method hasRemaining (line 50) | public bool hasRemaining() type Mode (line 56) | private enum Mode FILE: src/csharp/src/ZooKeeperNetEx/utils/EnumUtil.cs class EnumUtil (line 13) | internal static class EnumUtil method DefinedCast (line 28) | public static T DefinedCast(object enumValue) method GetValues (line 36) | public static IEnumerable GetValues() FILE: src/csharp/src/ZooKeeperNetEx/utils/MiscEx.cs class MiscEx (line 7) | internal static class MiscEx { method remove (line 8) | public static TValue remove(this IDictionary(this HashSet hashSet, HashSet anoth... method UTF8getBytes (line 37) | public static byte[] UTF8getBytes(this string str) { method UTF8bytesToString (line 41) | public static string UTF8bytesToString(this byte[] buffer) method ToHexString (line 46) | public static string ToHexString(this long num) { method ToHexString (line 49) | public static string ToHexString(this byte num) method ToCommaDelimited (line 54) | public static string ToCommaDelimited(this IEnumerable enumerable) FILE: src/csharp/src/ZooKeeperNetEx/utils/SignalTask.cs class SignalTask (line 9) | public class SignalTask method Reset (line 21) | public void Reset() method TrySet (line 27) | public void TrySet() method Set (line 34) | public void Set() FILE: src/csharp/src/ZooKeeperNetEx/utils/SocketContext.cs class SocketContext (line 8) | internal class SocketContext : IDisposable method StartConnectAsync (line 23) | public static SocketContext StartConnectAsync(AwaitableSignal awaitabl... method SocketContext (line 28) | private SocketContext(AwaitableSignal awaitableSignal, Socket socket, ... method StartReceiveAsync (line 40) | public void StartReceiveAsync() method StartSocketAction (line 45) | private void StartSocketAction(Func socket... method Complete (line 54) | private void Complete() method GetResult (line 69) | public SocketAsyncOperation GetResult() method ThrowIfDisposed (line 89) | private void ThrowIfDisposed() method Dispose (line 97) | public void Dispose() FILE: src/csharp/src/ZooKeeperNetEx/utils/SocketEx.cs class SocketEx (line 5) | internal static class SocketEx method read (line 7) | public static void read(this Socket socket, ByteBuffer byteBuffer) method write (line 26) | public static void write(this Socket socket, ByteBuffer byteBuffer) FILE: src/csharp/src/ZooKeeperNetEx/utils/TimeHelper.cs class TimeHelper (line 5) | internal static class TimeHelper method TimeHelper (line 9) | static TimeHelper() FILE: src/csharp/src/ZooKeeperNetEx/utils/VolatileBool.cs class VolatileBool (line 6) | internal class VolatileBool method VolatileBool (line 8) | public VolatileBool(bool value) FILE: src/csharp/src/ZooKeeperNetEx/utils/VolatileInt.cs class VolatileInt (line 6) | internal class VolatileInt method VolatileInt (line 8) | public VolatileInt(int value) method TrySetValue (line 21) | public bool TrySetValue(int preconditionValue, int newValue) method SetValue (line 26) | public void SetValue(int preconditionValue, int newValue) method Increment (line 33) | public int Increment() { method Decrement (line 37) | public int Decrement() FILE: src/csharp/src/ZooKeeperNetEx/utils/VolatileLong.cs class VolatileLong (line 6) | internal class VolatileLong method VolatileLong (line 8) | public VolatileLong(long value) FILE: src/csharp/src/ZooKeeperNetEx/utils/VolatileReference.cs class VolatileReference (line 5) | internal class VolatileReference where T : class method VolatileReference (line 7) | public VolatileReference(T value) method CompareExchange (line 20) | public T CompareExchange(T newValue, T preconditionValue) FILE: src/csharp/src/ZooKeeperNetEx/utils/bigEndian/BigEndianBinaryReader.cs class BigEndianBinaryReader (line 11) | internal class BigEndianBinaryReader method BigEndianBinaryReader (line 29) | public BigEndianBinaryReader(Stream stream) method ReadBoolean (line 56) | public bool ReadBoolean() method ReadInt32 (line 67) | public int ReadInt32() method ReadInt64 (line 78) | public long ReadInt64() method ReadBytesOrThrow (line 91) | public byte[] ReadBytesOrThrow(int count) method ReadInternal (line 108) | void ReadInternal (byte[] data, int size) FILE: src/csharp/src/ZooKeeperNetEx/utils/bigEndian/BigEndianBinaryWriter.cs class BigEndianBinaryWriter (line 9) | internal class BigEndianBinaryWriter method BigEndianBinaryWriter (line 25) | internal BigEndianBinaryWriter (Stream stream) method Write (line 51) | internal void Write (bool value) method Write (line 62) | internal void Write (int value) method Write (line 73) | internal void Write (long value) method Write (line 83) | internal void Write (byte[] value) method WriteInternal (line 102) | private void WriteInternal (byte[] bytes, int length) FILE: src/csharp/src/ZooKeeperNetEx/utils/bigEndian/BigEndianBitConverter.cs class BigEndianBitConverter (line 8) | internal static class BigEndianBitConverter method ToBoolean (line 17) | public static bool ToBoolean (byte[] value, int startIndex) method ToInt32 (line 29) | public static int ToInt32 (byte[] value, int startIndex) method ToInt64 (line 40) | public static long ToInt64 (byte[] value, int startIndex) method CheckByteArgument (line 55) | private static void CheckByteArgument(byte[] value, int startIndex, in... method CheckedFromBytes (line 75) | static long CheckedFromBytes(byte[] value, int startIndex, int bytesTo... method FromBytes (line 89) | private static long FromBytes(byte[] buffer, int startIndex, int bytes... method CopyBytes (line 111) | private static void CopyBytes(long value, int bytes, byte[] buffer, in... method CopyBytesImpl (line 131) | private static void CopyBytesImpl(long value, int bytes, byte[] buffer... method CopyBytes (line 148) | public static void CopyBytes(bool value, byte[] buffer, int index) method CopyBytes (line 160) | public static void CopyBytes(int value, byte[] buffer, int index) method CopyBytes (line 172) | public static void CopyBytes(long value, byte[] buffer, int index) FILE: src/csharp/src/ZooKeeperNetEx/utils/log/ILogConsumer.cs type ILogConsumer (line 9) | public interface ILogConsumer method Log (line 18) | void Log(TraceLevel severity, string className, string message, Except... FILE: src/csharp/src/ZooKeeperNetEx/utils/log/ILogProducer.cs type ILogProducer (line 5) | internal interface ILogProducer method debugFormat (line 7) | void debugFormat(string format, params object[] args); method debug (line 8) | void debug(object message, Exception e = null); method warn (line 9) | void warn(object message, Exception e = null); method info (line 10) | void info(object message, Exception e = null); method error (line 11) | void error(object message, Exception e = null); method isDebugEnabled (line 12) | bool isDebugEnabled(); FILE: src/csharp/src/ZooKeeperNetEx/utils/log/LogWriter.cs class LogWriter (line 7) | internal class LogWriter method LogWriter (line 13) | public LogWriter() method Log (line 27) | public void Log(TraceLevel traceLevel, string className, string messag... method PrintDate (line 52) | private static string PrintDate() method PrintException (line 71) | private static string PrintException(Exception exception) method PrintException_Helper (line 76) | private static string PrintException_Helper(Exception exception, int l... method PrintOneException (line 102) | private static string PrintOneException(Exception exception, int level... FILE: src/csharp/src/ZooKeeperNetEx/utils/log/NonBlockingFileWriter.cs class NonBlockingFileWriter (line 11) | internal class NonBlockingFileWriter method NonBlockingFileWriter (line 32) | public NonBlockingFileWriter(string filename) method Write (line 37) | public void Write(string str) method startLogTask (line 53) | private async void startLogTask() class StreamWriterWrapper (line 68) | private class StreamWriterWrapper method StreamWriterWrapper (line 76) | public StreamWriterWrapper(string filename) method WriteAsync (line 81) | public async Task WriteAsync(string msg) method Dispose (line 105) | public void Dispose() method GetOrCreateLogFile (line 118) | private StreamWriter GetOrCreateLogFile() FILE: src/csharp/src/ZooKeeperNetEx/utils/log/TraceWriter.cs class TraceWriter (line 5) | internal static class TraceWriter method Write (line 8) | public static void Write(string msg, TraceLevel traceLevel) FILE: src/csharp/src/ZooKeeperNetEx/utils/log/TypeLogger.cs class TypeLogger (line 6) | internal class TypeLogger : ILogProducer method debugFormat (line 12) | public void debugFormat(string format, params object[] args) method debug (line 21) | public void debug(object message, Exception e = null) method warn (line 26) | public void warn(object message, Exception e = null) method info (line 31) | public void info(object message, Exception e = null) method error (line 36) | public void error(object message, Exception e = null) method isDebugEnabled (line 41) | public bool isDebugEnabled() method log (line 46) | private static void log(TraceLevel traceLevel, object message, Excepti... FILE: src/csharp/src/ZooKeeperNetEx/utils/log/ZooKeeperLogger.cs class ZooKeeperLogger (line 6) | internal class ZooKeeperLogger method Log (line 29) | internal void Log(TraceLevel sev, string className, string message, Ex... FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/AsyncResults.cs class NodeResult (line 9) | public abstract class NodeResult { method NodeResult (line 15) | internal NodeResult(Stat stat) { class DataResult (line 23) | public class DataResult : NodeResult { method DataResult (line 29) | internal DataResult(byte[] data, Stat stat) : base(stat) { class ChildrenResult (line 37) | public class ChildrenResult : NodeResult { method ChildrenResult (line 43) | internal ChildrenResult(List children, Stat stat) : base(stat) { class ACLResult (line 53) | public class ACLResult: NodeResult { method ACLResult (line 60) | internal ACLResult(List acls, Stat stat) FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/ClientCnxn.cs class ClientCnxn (line 23) | internal sealed class ClientCnxn { class AuthData (line 36) | private class AuthData { method AuthData (line 37) | internal AuthData(string scheme, byte[] data) { method getSessionId (line 123) | public long getSessionId() { method getSessionPasswd (line 127) | public byte[] getSessionPasswd() { method getSessionTimeout (line 131) | public int getSessionTimeout() { method ToString (line 135) | public override string ToString() { class Packet (line 159) | public sealed class Packet : TaskCompletionSource { method SetFinished (line 175) | internal void SetFinished() { method Packet (line 183) | internal Packet(RequestHeader requestHeader, ReplyHeader replyHeader, method Packet (line 190) | internal Packet(RequestHeader requestHeader, ReplyHeader replyHeader, method createBB (line 201) | public void createBB() { method ToString (line 227) | public override string ToString() { method ClientCnxn (line 267) | internal ClientCnxn(string chrootPath, HostProvider hostProvider, int ... method start (line 283) | public void start() { class WatcherSetEventPair (line 290) | private class WatcherSetEventPair { method WatcherSetEventPair (line 294) | public WatcherSetEventPair(HashSet watchers, WatchedEvent @... method queueEvent (line 313) | private void queueEvent(WatchedEvent @event) { method queueEventOfDeath (line 330) | private void queueEventOfDeath() { method startEventTask (line 335) | private async Task startEventTask() { method processEvent (line 360) | private static async Task processEvent(WatcherSetEventPair @event) { method finishPacket (line 370) | private static void finishPacket(Packet p) { method conLossPacket (line 377) | private void conLossPacket(Packet p) { class SessionTimeoutException (line 397) | private class SessionTimeoutException : IOException { method SessionTimeoutException (line 398) | public SessionTimeoutException(string msg) : base(msg) { class SessionExpiredException (line 402) | private class SessionExpiredException : IOException { method SessionExpiredException (line 403) | public SessionExpiredException(string msg) : base(msg) { class RWServerFoundException (line 407) | private class RWServerFoundException : IOException { method RWServerFoundException (line 408) | public RWServerFoundException(string msg) : base(msg) { method readResponse (line 419) | internal void readResponse(ByteBuffer incomingBuffer) { method primeConnection (line 523) | internal void primeConnection() { method prependChroot (line 598) | private List prependChroot(List paths) { method sendPing (line 616) | private void sendPing() { method startConnect (line 627) | private void startConnect(ResolvedEndPoint addr) { method logStartConnect (line 635) | private static void logStartConnect(ResolvedEndPoint addr) { method startSendTask (line 643) | private async Task startSendTask() { method pingRwServer (line 779) | private async Task pingRwServer() { method cleanup (line 836) | private void cleanup() { method onConnected (line 869) | internal void onConnected(int _negotiatedSessionTimeout, long _sessionId, method close (line 905) | private void close() { method disconnect (line 918) | private void disconnect() { method closeAsync (line 936) | internal async Task closeAsync() { method getXid (line 967) | public int getXid() { method submitRequest (line 971) | public async Task submitRequest(RequestHeader h, Record r... method queuePacket (line 981) | internal Packet queuePacket(RequestHeader h, ReplyHeader rep, Record r... method addAuthInfo (line 1012) | public void addAuthInfo(string scheme, byte[] auth) { method getState (line 1022) | internal ZooKeeper.States getState() { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/ClientCnxnSocket.cs class ClientCnxnSocket (line 18) | internal abstract class ClientCnxnSocket { method ClientCnxnSocket (line 30) | protected ClientCnxnSocket(ClientCnxn cnxn) { method introduce (line 48) | internal void introduce(long sessionid) { method updateNow (line 52) | internal void updateNow() { method getIdleRecv (line 56) | internal int getIdleRecv() { method getIdleSend (line 60) | internal int getIdleSend() { method getSentCount (line 64) | internal long getSentCount() { method getRecvCount (line 68) | internal long getRecvCount() { method updateLastHeard (line 72) | internal void updateLastHeard() { method updateLastSend (line 76) | internal void updateLastSend() { method updateLastSendAndHeard (line 80) | internal void updateLastSendAndHeard() { method readLength (line 85) | protected void readLength() { method readConnectResult (line 98) | internal void readConnectResult() { method isConnected (line 128) | internal abstract bool isConnected(); method connect (line 130) | internal abstract void connect(IPEndPoint ipEndPoint); method getRemoteSocketAddress (line 132) | internal abstract EndPoint getRemoteSocketAddress(); method getLocalSocketAddress (line 134) | internal abstract EndPoint getLocalSocketAddress(); method cleanup (line 136) | internal abstract void cleanup(); method wakeupCnxn (line 138) | internal abstract void wakeupCnxn(); method enableReadWriteOnly (line 140) | internal abstract void enableReadWriteOnly(); method doTransport (line 142) | internal abstract void doTransport(); method close (line 144) | internal virtual void close() { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/ClientCnxnSocketNIO.cs class ClientCnxnSocketNIO (line 12) | internal sealed class ClientCnxnSocketNIO : ClientCnxnSocket method ClientCnxnSocketNIO (line 28) | internal ClientCnxnSocketNIO(ClientCnxn cnxn) : base(cnxn) method isConnected (line 32) | internal override bool isConnected() { method doIO (line 36) | private void doIO() method findSendablePacket (line 138) | private LinkedListNode findSendablePacket() method cleanup (line 150) | internal override void cleanup() method createSock (line 186) | private static Socket createSock(AddressFamily addressFamily) method registerAndConnect (line 199) | private void registerAndConnect(Socket sock, EndPoint addr) method connect (line 205) | internal override void connect(IPEndPoint addr) method getRemoteSocketAddress (line 233) | internal override EndPoint getRemoteSocketAddress() { method getLocalSocketAddress (line 252) | internal override EndPoint getLocalSocketAddress() method wakeupCnxn (line 267) | internal override void wakeupCnxn() method doTransport (line 272) | internal override void doTransport() method enableWrite (line 302) | private void enableWrite() method disableWrite (line 308) | private void disableWrite() method enableRead (line 313) | private void enableRead() method enableReadWriteOnly (line 318) | internal override void enableReadWriteOnly() FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/ClientWatchManager.cs type ClientWatchManager (line 5) | internal interface ClientWatchManager method materialize (line 19) | HashSet materialize(Watcher.Event.KeeperState state, Watcher.... FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/CreateMode.cs class CreateMode (line 8) | public sealed class CreateMode method CreateMode (line 66) | private CreateMode(int flag, bool ephemeral, bool sequential, method isEphemeral (line 78) | public bool isEphemeral() { method isSequential (line 85) | public bool isSequential() { method isContainer (line 92) | public bool isContainer() { method isTTL (line 99) | public bool isTTL() { method toFlag (line 103) | internal int toFlag() { method fromFlag (line 110) | internal static CreateMode fromFlag(int flag) { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/KeeperException.cs class KeeperException (line 10) | public abstract class KeeperException : Exception method create (line 37) | public static KeeperException create(int code, string path = null) type Code (line 95) | public enum Code method KeeperException (line 163) | private KeeperException(Code code) method KeeperException (line 168) | private KeeperException(Code code, string path) method getCode (line 178) | public Code getCode() method getPath (line 187) | public string getPath() method setMultiResults (line 192) | internal void setMultiResults(List res) method getResults (line 202) | public List getResults() class AuthFailedException (line 212) | public class AuthFailedException : KeeperException method AuthFailedException (line 217) | public AuthFailedException() class BadArgumentsException (line 226) | public class BadArgumentsException : KeeperException method BadArgumentsException (line 232) | public BadArgumentsException(string path) class BadVersionException (line 241) | public class BadVersionException : KeeperException method BadVersionException (line 247) | public BadVersionException(string path) class ConnectionLossException (line 256) | public class ConnectionLossException : KeeperException method ConnectionLossException (line 261) | public ConnectionLossException() class DataInconsistencyException (line 270) | public class DataInconsistencyException : KeeperException method DataInconsistencyException (line 275) | public DataInconsistencyException() class InvalidACLException (line 284) | public class InvalidACLException : KeeperException method InvalidACLException (line 289) | public InvalidACLException() method InvalidACLException (line 298) | public InvalidACLException(string path) class InvalidCallbackException (line 307) | public class InvalidCallbackException : KeeperException method InvalidCallbackException (line 312) | public InvalidCallbackException() class MarshallingErrorException (line 321) | public class MarshallingErrorException : KeeperException method MarshallingErrorException (line 326) | public MarshallingErrorException() class NoAuthException (line 335) | public class NoAuthException : KeeperException method NoAuthException (line 340) | public NoAuthException() class NoChildrenForEphemeralsException (line 349) | public class NoChildrenForEphemeralsException : KeeperException method NoChildrenForEphemeralsException (line 355) | public NoChildrenForEphemeralsException(string path) class NodeExistsException (line 365) | public class NodeExistsException : KeeperException method NodeExistsException (line 371) | public NodeExistsException(string path) class NoNodeException (line 380) | public class NoNodeException : KeeperException method NoNodeException (line 386) | public NoNodeException(string path) class NotEmptyException (line 395) | public class NotEmptyException : KeeperException method NotEmptyException (line 401) | public NotEmptyException(string path) class OperationTimeoutException (line 410) | public class OperationTimeoutException : KeeperException method OperationTimeoutException (line 415) | public OperationTimeoutException() class RuntimeInconsistencyException (line 424) | public class RuntimeInconsistencyException : KeeperException method RuntimeInconsistencyException (line 429) | public RuntimeInconsistencyException() class SessionExpiredException (line 438) | public class SessionExpiredException : KeeperException method SessionExpiredException (line 443) | public SessionExpiredException() class SessionMovedException (line 452) | public class SessionMovedException : KeeperException method SessionMovedException (line 457) | public SessionMovedException() class NotReadOnlyException (line 466) | public class NotReadOnlyException : KeeperException method NotReadOnlyException (line 471) | public NotReadOnlyException() : base(Code.NOTREADONLY) class UnimplementedException (line 479) | public class UnimplementedException : KeeperException method UnimplementedException (line 484) | public UnimplementedException() FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/MultiResponse.cs class MultiResponse (line 17) | internal class MultiResponse : Record, IEnumerable method add (line 21) | public void add(OpResult x) { method GetEnumerator (line 25) | public IEnumerator GetEnumerator() method serialize (line 30) | public void serialize(OutputArchive archive, string tag) { method deserialize (line 60) | public void deserialize(InputArchive archive, string tag) method getResultList (line 104) | public List getResultList() { method GetEnumerator (line 108) | IEnumerator IEnumerable.GetEnumerator() FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/MultiTransactionRecord.cs class MultiTransactionRecord (line 17) | internal class MultiTransactionRecord : Record, IEnumerable { method MultiTransactionRecord (line 20) | public MultiTransactionRecord() { ops=new List();} method MultiTransactionRecord (line 22) | public MultiTransactionRecord(IEnumerable o) { method GetEnumerator (line 26) | public IEnumerator GetEnumerator() { method add (line 30) | internal void add(Op op) { method serialize (line 34) | public void serialize(OutputArchive archive, string tag) { method deserialize (line 59) | public void deserialize(InputArchive archive, string tag) { method GetEnumerator (line 93) | IEnumerator IEnumerable.GetEnumerator() { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/Op.cs class Op (line 16) | public abstract class Op { method Op (line 20) | private Op(ZooDefs.OpCode type, string path) { method create (line 40) | internal static Op create(string path, byte[] data, List acl, int... method create (line 60) | public static Op create(string path, byte[] data, List acl, Creat... method delete (line 73) | public static Op delete(string path, int version = -1) { method setData (line 89) | public static Op setData(string path, byte[] data, int version = -1) { method check (line 106) | public static Op check(string path, int version) { method get_Type (line 115) | public int get_Type() { method getPath (line 123) | public string getPath() { method toRequestRecord (line 128) | internal abstract Record toRequestRecord(); method withChroot (line 134) | public abstract Op withChroot(string addRootPrefix); method validate (line 145) | internal virtual void validate() { class Create (line 148) | private class Create : Op { method Create (line 153) | internal Create(string path, byte[] data, List acl, int flags) method Create (line 160) | internal Create(string path, byte[] data, List acl, CreateMode ... method toRequestRecord (line 167) | internal override Record toRequestRecord() { method withChroot (line 171) | public override Op withChroot(string p) { method validate (line 175) | internal override void validate() { class Delete (line 181) | private class Delete : Op { method Delete (line 184) | internal Delete(string path, int version) : base(ZooDefs.OpCode.dele... method toRequestRecord (line 188) | internal override Record toRequestRecord() { method withChroot (line 192) | public override Op withChroot(string p) { class SetData (line 197) | private class SetData : Op { method SetData (line 201) | internal SetData(string path, byte[] data, int version) : base(ZooDe... method toRequestRecord (line 206) | internal override Record toRequestRecord() { method withChroot (line 210) | public override Op withChroot(string p) { class Check (line 215) | private class Check : Op { method Check (line 218) | internal Check(string path, int version) : base(ZooDefs.OpCode.check... method toRequestRecord (line 222) | internal override Record toRequestRecord() { method withChroot (line 226) | public override Op withChroot(string p) { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/OpResult.cs class OpResult (line 8) | public abstract class OpResult method OpResult (line 11) | private OpResult(ZooDefs.OpCode type) method get_Type (line 22) | internal int get_Type() { class CreateResult (line 31) | public class CreateResult : OpResult method CreateResult (line 35) | internal CreateResult(string path) : base(ZooDefs.OpCode.create) method getPath (line 43) | public string getPath() { class DeleteResult (line 51) | public class DeleteResult : OpResult method DeleteResult (line 53) | internal DeleteResult() : base(ZooDefs.OpCode.delete) class SetDataResult (line 62) | public class SetDataResult : OpResult { method SetDataResult (line 65) | internal SetDataResult(Stat stat) : base(ZooDefs.OpCode.setData) { method getStat (line 73) | public Stat getStat() { class CheckResult (line 81) | public class CheckResult : OpResult method CheckResult (line 83) | internal CheckResult() : base(ZooDefs.OpCode.check) class ErrorResult (line 92) | public class ErrorResult : OpResult method ErrorResult (line 96) | internal ErrorResult(int err) : base(ZooDefs.OpCode.error) method getErr (line 104) | public int getErr() { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/Quotas.cs class Quotas (line 6) | public static class Quotas { method quotaPath (line 32) | public static string quotaPath(string path) { method statPath (line 42) | public static string statPath(string path) { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/StatsTrack.cs class StatsTrack (line 7) | public sealed class StatsTrack method StatsTrack (line 16) | public StatsTrack() : this(null) method StatsTrack (line 24) | public StatsTrack(string stats) method ToString (line 57) | public override string ToString() FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/Transaction.cs class Transaction (line 15) | public class Transaction method Transaction (line 20) | internal Transaction(ZooKeeper zk) method create (line 41) | public Transaction create(string path, byte[] data, List acl, Cre... method delete (line 57) | public Transaction delete(string path, int version = -1) method check (line 76) | public Transaction check(string path, int version) method setData (line 94) | public Transaction setData(string path, byte[] data, int version = -1) method commitAsync (line 104) | public Task> commitAsync() FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/WatchedEvent.cs class WatchedEvent (line 9) | public class WatchedEvent { method WatchedEvent (line 14) | internal WatchedEvent(Watcher.Event.EventType eventType, Watcher.Event... method WatchedEvent (line 24) | internal WatchedEvent(WatcherEvent eventMessage) { method getState (line 33) | public Watcher.Event.KeeperState getState() { method get_Type (line 40) | public Watcher.Event.EventType get_Type() { method getPath (line 47) | public string getPath() { method ToString (line 52) | public override string ToString() { method getWrapper (line 61) | internal WatcherEvent getWrapper() { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/Watcher.cs class Watcher (line 13) | public abstract class Watcher { class Event (line 17) | public static class Event type KeeperState (line 22) | public enum KeeperState type EventType (line 60) | public enum EventType type WatcherType (line 93) | public enum WatcherType method process (line 108) | public abstract Task process(WatchedEvent @event); class WatcherDelegate (line 111) | internal class WatcherDelegate : Watcher { method WatcherDelegate (line 113) | public WatcherDelegate(Func processor) { method process (line 117) | public override Task process(WatchedEvent @event) { FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/ZKUtil.cs class ZKUtil (line 13) | public class ZKUtil method ZKUtil (line 15) | private ZKUtil(){} method deleteRecursiveAsync (line 28) | public static async Task deleteRecursiveAsync(ZooKeeper zk, string pat... method listSubTreeBFS (line 59) | public static async Task> listSubTreeBFS(ZooKeeper zk, st... method visitSubTreeDFS (line 97) | public static async Task visitSubTreeDFS(ZooKeeper zk, string path, bo... method visitSubTreeDFSHelper (line 106) | private static async Task visitSubTreeDFSHelper(ZooKeeper zk, string p... FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/ZooDefs.cs class ZooDefs (line 8) | public static class ZooDefs type OpCode (line 14) | internal enum OpCode type Perms (line 44) | [Flags] class Ids (line 75) | public static class Ids FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/ZooKeeper.cs class ZooKeeper (line 61) | public class ZooKeeper { method getDataWatches (line 67) | internal List getDataWatches() { method getExistWatches (line 74) | internal List getExistWatches() { method getChildWatches (line 81) | internal List getChildWatches() { class ZKWatchManager (line 93) | private class ZKWatchManager : ClientWatchManager { method addTo (line 110) | private static void addTo(HashSet from, HashSet to) { method materialize (line 116) | public HashSet materialize(Watcher.Event.KeeperState state, class WatchRegistration (line 184) | internal abstract class WatchRegistration { method WatchRegistration (line 188) | protected WatchRegistration(Watcher watcher, string clientPath) { method getWatches (line 193) | protected abstract Dictionary> getWatches(i... method register (line 199) | public void register(int rc) { method shouldAddWatch (line 219) | protected virtual bool shouldAddWatch(int rc) { class ExistsWatchRegistration (line 228) | private class ExistsWatchRegistration : WatchRegistration { method ExistsWatchRegistration (line 231) | public ExistsWatchRegistration(ZKWatchManager watchManager, Watcher ... method getWatches (line 236) | protected override Dictionary> getWatches(i... method shouldAddWatch (line 240) | protected override bool shouldAddWatch(int rc) { class DataWatchRegistration (line 245) | private class DataWatchRegistration : WatchRegistration { method DataWatchRegistration (line 248) | public DataWatchRegistration(ZKWatchManager watchManager, Watcher wa... method getWatches (line 253) | protected override Dictionary> getWatches(i... class ChildWatchRegistration (line 258) | private class ChildWatchRegistration : WatchRegistration { method ChildWatchRegistration (line 261) | public ChildWatchRegistration(ZKWatchManager watchManager, Watcher w... method getWatches (line 266) | protected override Dictionary> getWatches(i... type States (line 274) | public enum States { method ZooKeeper (line 328) | public ZooKeeper(string connectstring, int sessionTimeout, Watcher wat... method ZooKeeper (line 362) | public ZooKeeper(string connectString, int sessionTimeout, Watcher wat... method getSessionId (line 404) | public long getSessionId() { method getSessionPasswd (line 412) | public byte[] getSessionPasswd() { method getSessionTimeout (line 420) | public int getSessionTimeout() { method addAuthInfo (line 431) | public void addAuthInfo(string scheme, byte[] auth) { method closeAsync (line 441) | public async Task closeAsync() method prependChroot (line 473) | private string prependChroot(string clientPath) { method createAsync (line 516) | public async Task createAsync(string path, byte[] data, List> multiAsync(List ops) { method validatePath (line 618) | private List validatePath(List ops) { method generateMultiTransaction (line 648) | private MultiTransactionRecord generateMultiTransaction(List ops) { method withRootPrefix (line 657) | private Op withRootPrefix(Op op) { method multiInternal (line 667) | private async Task> multiInternal(MultiTransactionRecor... method transaction (line 698) | public Transaction transaction() { method existsAsync (line 717) | public async Task existsAsync(string path, Watcher watcher) method existsAsync (line 766) | public Task existsAsync(string path, bool watch = false) { method getDataAsync (line 783) | public async Task getDataAsync(string path, Watcher watcher) method getDataAsync (line 829) | public Task getDataAsync(string path, bool watch = false) { method setDataAsync (line 852) | public async Task setDataAsync(string path, byte[] data, int ver... method getACLAsync (line 884) | public async Task getACLAsync(string path) method setACLAsync (line 919) | public async Task setACLAsync(string path, List acl, int ac... method getChildrenAsync (line 960) | public async Task getChildrenAsync(string path, Watche... method getChildrenAsync (line 1006) | public Task getChildrenAsync(string path, bool watch =... method sync (line 1018) | public async Task sync(string path) { method getState (line 1033) | public States getState() { method ToString (line 1046) | public override string ToString() { method Using (line 1101) | public static Task Using(string connectstring, int sessionTimeout, Wat... method Using (line 1110) | public static Task Using(string connectstring, int sessionTimeou... method Using (line 1119) | public static Task Using(string connectstring, int sessionTimeout, Wat... method Using (line 1128) | public static Task Using(string connectstring, int sessionTimeou... method Using (line 1134) | private static Task Using(ZooKeeper zooKeeper, Func z... method Using (line 1143) | private static async Task Using(ZooKeeper zk, Func TryOperation(ZooKeeper zk, Func getServerAddresses() FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/client/DnsResolver.cs class DnsResolver (line 12) | internal class DnsResolver : IDnsResolver method DnsResolver (line 17) | public DnsResolver(ILogProducer log) method IgnoreTask (line 22) | private static void IgnoreTask(Task task) method Resolve (line 38) | private async Task> Resolve(HostAndPort ... method Resolve (line 67) | public async Task> Resolve(IEnumerable serverAddresses, IDnsReso... method size (line 47) | public int size() method next (line 52) | public async Task next(int spinDelay) method onConnected (line 107) | public void onConnected() method ResolveAtLeastOneAndShuffle (line 112) | private async Task> ResolveAtLeastOneAndShuffle... method ResolveAndShuffle (line 134) | private async Task> ResolveAndShuffle(IEnumerab... FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/client/HostAndPort.cs class HostAndPort (line 5) | internal class HostAndPort : IEquatable method HostAndPort (line 10) | public HostAndPort(string host, int port) method ToString (line 16) | public override string ToString() method Equals (line 21) | public bool Equals(HostAndPort other) method Equals (line 28) | public override bool Equals(object obj) method GetHashCode (line 35) | public override int GetHashCode() FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/client/HostProvider.cs type HostProvider (line 25) | internal interface HostProvider method size (line 27) | int size(); method next (line 36) | Task next(int spinDelay); method onConnected (line 43) | void onConnected(); FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/client/IDnsResolver.cs type IDnsResolver (line 6) | internal interface IDnsResolver method Resolve (line 8) | Task> Resolve(IEnumerable u... FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/client/ResolvedEndPoint.cs class ResolvedEndPoint (line 6) | internal class ResolvedEndPoint : IPEndPoint, IEquatable method ResolvedEndPoint (line 10) | public ResolvedEndPoint(IPAddress ip, HostAndPort hostAndPort) : this(... method ResolvedEndPoint (line 15) | public ResolvedEndPoint(IPAddress ip, int port) : base(ip, port) method ToString (line 19) | public override string ToString() method Equals (line 24) | public bool Equals(ResolvedEndPoint other) method Equals (line 29) | public override bool Equals(object obj) method GetHashCode (line 36) | public override int GetHashCode() FILE: src/csharp/src/ZooKeeperNetEx/zookeeper/common/PathUtils.cs class PathUtils (line 8) | public static class PathUtils method validatePath (line 17) | public static void validatePath(string path, bool isSequential) method validatePath (line 26) | public static void validatePath(string path) FILE: src/csharp/test/ZooKeeperNetEx.Recipes.Tests/leader/LeaderElectionSupportTest.cs class LeaderElectionSupportTest (line 8) | public sealed class LeaderElectionSupportTest : ClientBase { method InitializeAsync (line 13) | public override async Task InitializeAsync() method testNode (line 22) | [Fact] method CreateTestNodesTask (line 31) | private async Task CreateTestNodesTask(int testIterations, int millise... method testNodes3 (line 37) | [Fact] method testNodes9 (line 42) | [Fact] method testNodes20 (line 47) | [Fact] method testNodes100 (line 52) | [Fact] method testOfferShuffle (line 57) | [Fact] method testGetLeaderHostName (line 66) | [Fact] method createLeaderElectionSupport (line 83) | private LeaderElectionSupport createLeaderElectionSupport() method runElectionSupportTask (line 88) | private async Task runElectionSupportTask(int sleepDuration = 3000) FILE: src/csharp/test/ZooKeeperNetEx.Recipes.Tests/lock/WriteLockTest.cs class WriteLockTest (line 10) | public sealed class WriteLockTest : ClientBase method testRun (line 14) | [Fact] class LockCallback (line 20) | private sealed class LockCallback : LockListener method lockAcquired (line 24) | public Task lockAcquired() method lockReleased (line 30) | public Task lockReleased() method runTest (line 37) | private async Task runTest(int count) method dumpNodes (line 87) | private static void dumpNodes(WriteLock[] nodes, int count) FILE: src/csharp/test/ZooKeeperNetEx.Recipes.Tests/lock/ZNodeNameTest.cs class ZNodeNameTest (line 9) | public sealed class ZNodeNameTest method testOrderWithSamePrefix (line 11) | [Fact] method testOrderWithDifferentPrefixes (line 19) | [Fact] method testOrderWithDifferentPrefixIncludingSessionId (line 27) | [Fact] method testOrderWithExtraPrefixes (line 35) | [Fact] method assertOrderedNodeNames (line 42) | private static void assertOrderedNodeNames(string[] names, string[] ex... class SetupCollection (line 59) | [CollectionDefinition("Setup")] FILE: src/csharp/test/ZooKeeperNetEx.Recipes.Tests/queue/DistributedQueueTest.cs class DistributedQueueTest (line 6) | public sealed class DistributedQueueTest : ClientBase { method testOffer1 (line 8) | [Fact] method testOffer2 (line 26) | [Fact] method testTake1 (line 44) | [Fact] method testRemove1 (line 62) | [Fact] method createNremoveMtest (line 82) | private async Task createNremoveMtest(string dir, int n, int m) { method testRemove2 (line 105) | [Fact] method testRemove3 (line 110) | [Fact] method createNremoveMelementTest (line 115) | private async Task createNremoveMelementTest(string dir, int n, int m) { method testElement1 (line 136) | [Fact] method testElement2 (line 141) | [Fact] method testElement3 (line 146) | [Fact] method testElement4 (line 151) | [Fact] method testTakeWait1 (line 156) | [Fact] method testTakeWait2 (line 192) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/Assert.cs class Assert (line 8) | internal static class Assert method assertTrue (line 10) | public static void assertTrue(bool test) method assertTrue (line 14) | public static void assertTrue(string msg, bool test) method assertFalse (line 19) | public static void assertFalse(bool test) method assertFalse (line 23) | public static void assertFalse(string msg, bool test) method assertNull (line 28) | public static void assertNull(object obj) method assertNull (line 32) | public static void assertNull(string msg, object obj) method assertNotNull (line 37) | public static void assertNotNull(object obj) method assertNotNull (line 41) | public static void assertNotNull(string msg, object obj) method fail (line 46) | public static void fail() method fail (line 50) | public static void fail(string msg) method assertEquals (line 55) | public static void assertEquals(object a, object b) method assertEquals (line 61) | public static void assertEquals(string msg, object a, object b) method assertNotEquals (line 68) | public static void assertNotEquals(T a, T b) method poll (line 75) | public static T poll(this BlockingCollection blockingCollection,... method WithTimeout (line 82) | public static async Task WithTimeout(this Task task, int millise... FILE: src/csharp/test/ZooKeeperNetEx.Tests/BinaryInputArchiveTest.cs class BinaryInputArchiveTest (line 8) | public class BinaryInputArchiveTest method testReadStringCheckLength (line 11) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/ClientBase.cs class ClientBase (line 9) | [Collection("Setup")] class Arrays (line 12) | protected static class Arrays { method asList (line 13) | public static List asList(params T[]objs) { method createClient (line 26) | protected Task createClient(string chroot = null) method createClient (line 31) | protected async Task createClient(Watcher watcher, string c... method InitializeAsync (line 43) | public virtual async Task InitializeAsync() method DisposeAsync (line 49) | public virtual async Task DisposeAsync() class NullWatcher (line 60) | public class NullWatcher : Watcher method NullWatcher (line 63) | private NullWatcher() { } method process (line 64) | public override Task process(WatchedEvent @event) FILE: src/csharp/test/ZooKeeperNetEx.Tests/LogAndConfigTests.cs class LogAndConfigTests (line 13) | public class LogAndConfigTests method TestFileWriter (line 15) | [Fact] method AssertInTimeout (line 85) | private async Task AssertInTimeout(Func assertion) method CreateWriteTask (line 93) | private Task CreateWriteTask(CancellationToken cancellationToken, NonB... method TestCustomConsumer (line 107) | [Fact] class DummyConsumer (line 124) | private class DummyConsumer : ILogConsumer method Log (line 127) | public void Log(TraceLevel severity, string className, string messag... FILE: src/csharp/test/ZooKeeperNetEx.Tests/MultiResponseTest.cs class MultiResponseTest (line 9) | public sealed class MultiResponseTest : ClientBase method testRoundTrip (line 11) | [Fact] method testEmptyRoundTrip (line 29) | [Fact] method codeDecode (line 38) | private static MultiResponse codeDecode(MultiResponse request) FILE: src/csharp/test/ZooKeeperNetEx.Tests/MultiTransactionRecordTest.cs class MultiTransactionRecordTest (line 8) | public sealed class MultiTransactionRecordTest : ClientBase method testRoundTrip (line 10) | [Fact] method testEmptyRoundTrip (line 24) | [Fact] method codeDecode (line 33) | private MultiTransactionRecord codeDecode(MultiTransactionRecord reque... FILE: src/csharp/test/ZooKeeperNetEx.Tests/TestsSetup.cs class TestsSetup (line 5) | public class TestsSetup method TestsSetup (line 7) | static TestsSetup() class SetupCollection (line 14) | [CollectionDefinition("Setup")] FILE: src/csharp/test/ZooKeeperNetEx.Tests/ZooKeeperTest.cs class ZooKeeperTest (line 10) | public class ZooKeeperTest : ClientBase method testDeleteRecursive (line 12) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/ACLCountTest.cs class ACLCountTest (line 8) | public sealed class ACLCountTest : ClientBase method testAclCount (line 24) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/ACLRootTest.cs class ACLRootTest (line 6) | public sealed class ACLRootTest : ClientBase method testRootAcl (line 8) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/ChrootTest.cs class ChrootTest (line 7) | public sealed class ChrootTest : ClientBase class MyWatcher (line 9) | private sealed class MyWatcher : Watcher method MyWatcher (line 16) | public MyWatcher(string path) method process (line 20) | public override Task process(WatchedEvent @event) method matches (line 29) | public async Task matches() method testChrootSynchronous (line 41) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/ClientHammerTest.cs class ClientHammerTest (line 9) | public sealed class ClientHammerTest : ClientBase method GetBasicHammerTask (line 16) | private async Task GetBasicHammerTask(string prefix, int count) method GetSuperHammerTask (line 29) | private async Task GetSuperHammerTask(string prefix, int count) method testHammerBasic (line 44) | [Fact] method testHammerSuper (line 67) | [Fact] method verifyHammer (line 89) | private async Task verifyHammer(Task[] tasks, int childCount) FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/ClientTest.cs class ClientTest (line 12) | public sealed class ClientTest : ClientBase { method testPing (line 17) | [Fact] method testClientwithoutWatcherObj (line 40) | [Fact] method testClientWithWatcherObj (line 47) | [Fact] method testACLs (line 53) | [Fact] class MyWatcher (line 102) | private class MyWatcher : Watcher { method process (line 105) | public override Task process(WatchedEvent @event) { method testMutipleWatcherObjs (line 117) | [Fact] method performClientTest (line 223) | private async Task performClientTest(bool withWatcherObj) method testSequentialNodeNames (line 352) | [Fact] method testSequentialNodeData (line 389) | [Fact] method testLargeNodeData (line 420) | [Fact] method verifyCreateFails (line 431) | private async Task verifyCreateFails(string path, ZooKeeper zk) { method testPathValidation (line 442) | [Fact] method testDeleteWithChildren (line 510) | [Fact] class DisconnectedWatcher (line 525) | private class DisconnectedWatcher : Watcher { method process (line 528) | public override Task process(WatchedEvent @event) { method getTask (line 535) | public Task getTask() method testNonExistingOpCode (line 545) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/ConnectStringParserTest.cs class ConnectStringParserTest (line 6) | public class ConnectStringParserTest method testSingleServerChrootPath (line 8) | [Fact] method testMultipleServersChrootPath (line 16) | [Fact] method testParseServersWithoutPort (line 24) | [Fact] method testParseServersWithPort (line 34) | [Fact] method assertChrootPath (line 47) | private void assertChrootPath(string expected, ConnectStringParser par... FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/CreateModeTest.cs class CreateModeTest (line 6) | public sealed class CreateModeTest method testBasicCreateMode (line 8) | [Fact] method testFlagConversion (line 32) | [Fact] method testInvalidFlagConversion (line 48) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/DynamicHostProviderTest.cs class DynamicHostProviderTest (line 14) | public sealed class DynamicHostProviderTest method testNextGoesRound (line 16) | [Fact] method testNextGoesRoundAndSleeps (line 26) | [Fact] method testNextDoesNotSleepForZero (line 43) | [Fact] method testTwoConsequitiveCallsToNextReturnDifferentElement (line 60) | [Fact] method testOnConnectDoesNotReset (line 68) | [Fact] method testResetAfterConnectPutsFirst (line 81) | [Fact] method TestFirstAndSecondAreSame (line 92) | [Fact] method testOnlyOneAvailable (line 99) | [Fact] method testNoOneAvailable (line 109) | [Fact] method getUnresolvedServerAddresses (line 130) | private static List getUnresolvedServerAddresses(byte size) method getHostProvider (line 141) | private static DynamicHostProvider getHostProvider(byte size, IDnsReso... class FakeDnsResolver (line 146) | private class FakeDnsResolver : IDnsResolver method Resolve (line 150) | public Task> Resolve(IEnumerable> multiAsync(ZooKeeper zk, List ops) method multiHavingErrors (line 18) | private async Task multiHavingErrors(ZooKeeper zk, List ops, List<... method commitAsync (line 38) | private Task> commitAsync(Transaction txn) method testInvalidPath (line 46) | [Fact] method testBlankPath (line 105) | [Fact] method testInvalidCreateModeFlag (line 127) | [Fact] method testMultiRollback (line 157) | [Fact] method testChRootCreateDelete (line 206) | [Fact] method testChRootSetData (line 234) | [Fact] method testChRootCheck (line 260) | [Fact] method testChRootTransaction (line 282) | [Fact] method createNameSpace (line 318) | private async Task createNameSpace() method testCreate (line 329) | [Fact] method testCreateDelete (line 343) | [Fact] method testInvalidVersion (line 356) | [Fact] method testNestedCreate (line 375) | [Fact] method testSetData (line 397) | [Fact] method testUpdateConflict (line 419) | [Fact] method TestDeleteUpdateConflict (line 453) | [Fact] method TestGetResults (line 477) | [Fact] method testWatchesTriggered (line 513) | [Fact] method testNoWatchesTriggeredForFailedMultiRequest (line 526) | [Fact] method testTransactionBuilder (line 549) | [Fact] class HasTriggeredWatcher (line 633) | private class HasTriggeredWatcher : Watcher method process (line 637) | public override Task process(WatchedEvent @event) class HasBeenDeletedWatcher (line 644) | private class HasBeenDeletedWatcher : Watcher method process (line 648) | public override Task process(WatchedEvent @event) FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/NullDataTest.cs class NullDataTest (line 6) | public sealed class NullDataTest : ClientBase { method testNullData (line 8) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/StatTest.cs class StatTest (line 6) | public sealed class StatTest : ClientBase method testBasic (line 8) | [Fact] method testChild (line 28) | [Fact] method testChildren (line 63) | [Fact] method testDataSizeChange (line 89) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/SyncCallTest.cs class SyncCallTest (line 8) | public sealed class SyncCallTest : ClientBase method testSync (line 12) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/WatchedEventTest.cs class WatchedEventTest (line 9) | public sealed class WatchedEventTest method testCreatingWatchedEvent (line 11) | [Fact] method testCreatingWatchedEventFromWrapper (line 33) | [Fact] method testCreatingWatchedEventFromInvalidWrapper (line 54) | [Fact] method testConvertingToEventWrapper (line 71) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/WatcherFuncTest.cs class WatcherFuncTest (line 8) | public sealed class WatcherFuncTest : ClientBase class SimpleWatcher (line 10) | private sealed class SimpleWatcher : Watcher method process (line 14) | public override Task process(WatchedEvent @event) method verify (line 31) | public void verify(IList expected) method InitializeAsync (line 51) | public override async Task InitializeAsync() method WatcherFuncTest (line 60) | public WatcherFuncTest() method verify (line 67) | private void verify() method testExistsSync (line 73) | [Fact] method testGetDataSync (line 131) | [Fact] method testGetChildrenSync (line 178) | [Fact] method testExistsSyncWObj (line 228) | [Fact] method testGetDataSyncWObj (line 303) | [Fact] method testGetChildrenSyncWObj (line 377) | [Fact] FILE: src/csharp/test/ZooKeeperNetEx.Tests/test/WatcherTest.cs class WatcherTest (line 8) | public class WatcherTest : ClientBase class MyWatcher (line 10) | private class MyWatcher : Watcher { method process (line 14) | public override Task process(WatchedEvent @event) { method testWatcherCorrectness (line 31) | [Fact] FILE: src/java/main/org/apache/jute/BinaryInputArchive.java class BinaryInputArchive (line 29) | public class BinaryInputArchive implements InputArchive { method getArchive (line 33) | static public BinaryInputArchive getArchive(InputStream strm) { class BinaryIndex (line 37) | static private class BinaryIndex implements Index { method BinaryIndex (line 39) | BinaryIndex(int nelems) { method done (line 42) | public boolean done() { method incr (line 45) | public void incr() { method BinaryInputArchive (line 50) | public BinaryInputArchive(DataInput in) { method readByte (line 54) | public byte readByte(String tag) throws IOException { method readBool (line 58) | public boolean readBool(String tag) throws IOException { method readInt (line 62) | public int readInt(String tag) throws IOException { method readLong (line 66) | public long readLong(String tag) throws IOException { method readFloat (line 70) | public float readFloat(String tag) throws IOException { method readDouble (line 74) | public double readDouble(String tag) throws IOException { method readString (line 78) | public String readString(String tag) throws IOException { method readBuffer (line 89) | public byte[] readBuffer(String tag) throws IOException { method readRecord (line 98) | public void readRecord(Record r, String tag) throws IOException { method startRecord (line 102) | public void startRecord(String tag) throws IOException {} method endRecord (line 104) | public void endRecord(String tag) throws IOException {} method startVector (line 106) | public Index startVector(String tag) throws IOException { method endVector (line 114) | public void endVector(String tag) throws IOException {} method startMap (line 116) | public Index startMap(String tag) throws IOException { method endMap (line 120) | public void endMap(String tag) throws IOException {} method checkLength (line 125) | private void checkLength(int len) throws IOException { FILE: src/java/main/org/apache/jute/BinaryOutputArchive.java class BinaryOutputArchive (line 32) | public class BinaryOutputArchive implements OutputArchive { method getArchive (line 37) | public static BinaryOutputArchive getArchive(OutputStream strm) { method BinaryOutputArchive (line 42) | public BinaryOutputArchive(DataOutput out) { method writeByte (line 46) | public void writeByte(byte b, String tag) throws IOException { method writeBool (line 50) | public void writeBool(boolean b, String tag) throws IOException { method writeInt (line 54) | public void writeInt(int i, String tag) throws IOException { method writeLong (line 58) | public void writeLong(long l, String tag) throws IOException { method writeFloat (line 62) | public void writeFloat(float f, String tag) throws IOException { method writeDouble (line 66) | public void writeDouble(double d, String tag) throws IOException { method stringToByteBuffer (line 76) | final private ByteBuffer stringToByteBuffer(CharSequence s) { method writeString (line 102) | public void writeString(String s, String tag) throws IOException { method writeBuffer (line 112) | public void writeBuffer(byte barr[], String tag) method writeRecord (line 122) | public void writeRecord(Record r, String tag) throws IOException { method startRecord (line 126) | public void startRecord(Record r, String tag) throws IOException {} method endRecord (line 128) | public void endRecord(Record r, String tag) throws IOException {} method startVector (line 130) | public void startVector(List v, String tag) throws IOException { method endVector (line 138) | public void endVector(List v, String tag) throws IOException {} method startMap (line 140) | public void startMap(TreeMap v, String tag) throws IOException { method endMap (line 144) | public void endMap(TreeMap v, String tag) throws IOException {} FILE: src/java/main/org/apache/jute/CsvInputArchive.java class CsvInputArchive (line 30) | class CsvInputArchive implements InputArchive { class CsvIndex (line 34) | private class CsvIndex implements Index { method done (line 35) | public boolean done() { method incr (line 44) | public void incr() {} method throwExceptionOnError (line 47) | private void throwExceptionOnError(String tag) throws IOException { method readField (line 51) | private String readField(String tag) throws IOException { method getArchive (line 73) | static CsvInputArchive getArchive(InputStream strm) method CsvInputArchive (line 79) | public CsvInputArchive(InputStream in) method readByte (line 84) | public byte readByte(String tag) throws IOException { method readBool (line 88) | public boolean readBool(String tag) throws IOException { method readInt (line 93) | public int readInt(String tag) throws IOException { method readLong (line 97) | public long readLong(String tag) throws IOException { method readFloat (line 107) | public float readFloat(String tag) throws IOException { method readDouble (line 111) | public double readDouble(String tag) throws IOException { method readString (line 121) | public String readString(String tag) throws IOException { method readBuffer (line 127) | public byte[] readBuffer(String tag) throws IOException { method readRecord (line 132) | public void readRecord(Record r, String tag) throws IOException { method startRecord (line 136) | public void startRecord(String tag) throws IOException { method endRecord (line 146) | public void endRecord(String tag) throws IOException { method startVector (line 167) | public Index startVector(String tag) throws IOException { method endVector (line 176) | public void endVector(String tag) throws IOException { method startMap (line 188) | public Index startMap(String tag) throws IOException { method endMap (line 197) | public void endMap(String tag) throws IOException { FILE: src/java/main/org/apache/jute/CsvOutputArchive.java class CsvOutputArchive (line 31) | public class CsvOutputArchive implements OutputArchive { method getArchive (line 36) | static CsvOutputArchive getArchive(OutputStream strm) method throwExceptionOnError (line 41) | private void throwExceptionOnError(String tag) throws IOException { method printCommaUnlessFirst (line 47) | private void printCommaUnlessFirst() { method CsvOutputArchive (line 55) | public CsvOutputArchive(OutputStream out) method writeByte (line 60) | public void writeByte(byte b, String tag) throws IOException { method writeBool (line 64) | public void writeBool(boolean b, String tag) throws IOException { method writeInt (line 71) | public void writeInt(int i, String tag) throws IOException { method writeLong (line 75) | public void writeLong(long l, String tag) throws IOException { method writeFloat (line 81) | public void writeFloat(float f, String tag) throws IOException { method writeDouble (line 85) | public void writeDouble(double d, String tag) throws IOException { method writeString (line 91) | public void writeString(String s, String tag) throws IOException { method writeBuffer (line 97) | public void writeBuffer(byte buf[], String tag) method writeRecord (line 104) | public void writeRecord(Record r, String tag) throws IOException { method startRecord (line 111) | public void startRecord(Record r, String tag) throws IOException { method endRecord (line 119) | public void endRecord(Record r, String tag) throws IOException { method startVector (line 129) | public void startVector(List v, String tag) throws IOException { method endVector (line 135) | public void endVector(List v, String tag) throws IOException { method startMap (line 140) | public void startMap(TreeMap v, String tag) throws IOException { method endMap (line 146) | public void endMap(TreeMap v, String tag) throws IOException { FILE: src/java/main/org/apache/jute/Index.java type Index (line 35) | public interface Index { method done (line 36) | public boolean done(); method incr (line 37) | public void incr(); FILE: src/java/main/org/apache/jute/InputArchive.java type InputArchive (line 27) | public interface InputArchive { method readByte (line 28) | public byte readByte(String tag) throws IOException; method readBool (line 29) | public boolean readBool(String tag) throws IOException; method readInt (line 30) | public int readInt(String tag) throws IOException; method readLong (line 31) | public long readLong(String tag) throws IOException; method readFloat (line 32) | public float readFloat(String tag) throws IOException; method readDouble (line 33) | public double readDouble(String tag) throws IOException; method readString (line 34) | public String readString(String tag) throws IOException; method readBuffer (line 35) | public byte[] readBuffer(String tag) throws IOException; method readRecord (line 36) | public void readRecord(Record r, String tag) throws IOException; method startRecord (line 37) | public void startRecord(String tag) throws IOException; method endRecord (line 38) | public void endRecord(String tag) throws IOException; method startVector (line 39) | public Index startVector(String tag) throws IOException; method endVector (line 40) | public void endVector(String tag) throws IOException; method startMap (line 41) | public Index startMap(String tag) throws IOException; method endMap (line 42) | public void endMap(String tag) throws IOException; FILE: src/java/main/org/apache/jute/OutputArchive.java type OutputArchive (line 29) | public interface OutputArchive { method writeByte (line 30) | public void writeByte(byte b, String tag) throws IOException; method writeBool (line 31) | public void writeBool(boolean b, String tag) throws IOException; method writeInt (line 32) | public void writeInt(int i, String tag) throws IOException; method writeLong (line 33) | public void writeLong(long l, String tag) throws IOException; method writeFloat (line 34) | public void writeFloat(float f, String tag) throws IOException; method writeDouble (line 35) | public void writeDouble(double d, String tag) throws IOException; method writeString (line 36) | public void writeString(String s, String tag) throws IOException; method writeBuffer (line 37) | public void writeBuffer(byte buf[], String tag) method writeRecord (line 39) | public void writeRecord(Record r, String tag) throws IOException; method startRecord (line 40) | public void startRecord(Record r, String tag) throws IOException; method endRecord (line 41) | public void endRecord(Record r, String tag) throws IOException; method startVector (line 42) | public void startVector(List v, String tag) throws IOException; method endVector (line 43) | public void endVector(List v, String tag) throws IOException; method startMap (line 44) | public void startMap(TreeMap v, String tag) throws IOException; method endMap (line 45) | public void endMap(TreeMap v, String tag) throws IOException; FILE: src/java/main/org/apache/jute/Record.java type Record (line 29) | @InterfaceAudience.Public method serialize (line 31) | public void serialize(OutputArchive archive, String tag) method deserialize (line 33) | public void deserialize(InputArchive archive, String tag) FILE: src/java/main/org/apache/jute/RecordReader.java class RecordReader (line 32) | public class RecordReader { method createArchive (line 58) | static private InputArchive createArchive(InputStream in, String format) method RecordReader (line 80) | public RecordReader(InputStream in, String format) method read (line 89) | public void read(Record r) throws IOException { FILE: src/java/main/org/apache/jute/RecordWriter.java class RecordWriter (line 33) | public class RecordWriter { method getBinaryArchive (line 37) | static private OutputArchive getBinaryArchive(OutputStream out) { method getCsvArchive (line 41) | static private OutputArchive getCsvArchive(OutputStream out) method getXmlArchive (line 50) | static private OutputArchive getXmlArchive(OutputStream out) method constructFactory (line 55) | static HashMap constructFactory() { method createArchive (line 78) | static private OutputArchive createArchive(OutputStream out, method RecordWriter (line 101) | public RecordWriter(OutputStream out, String format) method write (line 110) | public void write(Record r) throws IOException { FILE: src/java/main/org/apache/jute/Utils.java class Utils (line 27) | public class Utils { method Utils (line 30) | private Utils() { method bufEquals (line 41) | public static boolean bufEquals(byte onearray[], byte twoarray[] ) { method toXMLString (line 63) | static String toXMLString(String s) { method h2c (line 87) | static private int h2c(char ch) { method fromXMLString (line 103) | static String fromXMLString(String s) { method toCSVString (line 125) | static String toCSVString(String s) { method fromCSVString (line 166) | static String fromCSVString(String s) throws IOException { method toXMLBuffer (line 197) | static String toXMLBuffer(byte barr[]) { method fromXMLBuffer (line 214) | static byte[] fromXMLBuffer(String s) method toCSVBuffer (line 234) | static String toCSVBuffer(byte barr[]) { method fromCSVBuffer (line 253) | static byte[] fromCSVBuffer(String s) method compareBytes (line 270) | public static int compareBytes(byte b1[], int off1, int len1, byte b2[... FILE: src/java/main/org/apache/jute/XmlInputArchive.java class XmlInputArchive (line 35) | class XmlInputArchive implements InputArchive { class Value (line 37) | static private class Value { method Value (line 41) | public Value(String t) { method addChars (line 45) | public void addChars(char[] buf, int offset, int len) { method getValue (line 48) | public String getValue() { return sb.toString(); } method getType (line 49) | public String getType() { return type; } class XMLParser (line 52) | private static class XMLParser extends DefaultHandler { method XMLParser (line 57) | private XMLParser(ArrayList vlist) { method startDocument (line 61) | public void startDocument() throws SAXException {} method endDocument (line 63) | public void endDocument() throws SAXException {} method startElement (line 65) | public void startElement(String ns, method endElement (line 86) | public void endElement(String ns, method characters (line 96) | public void characters(char buf[], int offset, int len) class XmlIndex (line 106) | private class XmlIndex implements Index { method done (line 107) | public boolean done() { method incr (line 117) | public void incr() {} method next (line 124) | private Value next() throws IOException { method getArchive (line 135) | static XmlInputArchive getArchive(InputStream strm) method XmlInputArchive (line 141) | public XmlInputArchive(InputStream in) method readByte (line 152) | public byte readByte(String tag) throws IOException { method readBool (line 160) | public boolean readBool(String tag) throws IOException { method readInt (line 168) | public int readInt(String tag) throws IOException { method readLong (line 177) | public long readLong(String tag) throws IOException { method readFloat (line 185) | public float readFloat(String tag) throws IOException { method readDouble (line 193) | public double readDouble(String tag) throws IOException { method readString (line 201) | public String readString(String tag) throws IOException { method readBuffer (line 209) | public byte[] readBuffer(String tag) throws IOException { method readRecord (line 217) | public void readRecord(Record r, String tag) throws IOException { method startRecord (line 221) | public void startRecord(String tag) throws IOException { method endRecord (line 228) | public void endRecord(String tag) throws IOException { method startVector (line 235) | public Index startVector(String tag) throws IOException { method endVector (line 243) | public void endVector(String tag) throws IOException {} method startMap (line 245) | public Index startMap(String tag) throws IOException { method endMap (line 249) | public void endMap(String tag) throws IOException { endVector(tag); } FILE: src/java/main/org/apache/jute/XmlOutputArchive.java class XmlOutputArchive (line 31) | class XmlOutputArchive implements OutputArchive { method putIndent (line 39) | private void putIndent() { method addIndent (line 47) | private void addIndent() { method closeIndent (line 51) | private void closeIndent() { method printBeginEnvelope (line 55) | private void printBeginEnvelope(String tag) { method printEndEnvelope (line 76) | private void printEndEnvelope(String tag) { method insideVector (line 94) | private void insideVector(String tag) { method outsideVector (line 99) | private void outsideVector(String tag) throws IOException { method insideMap (line 107) | private void insideMap(String tag) { method outsideMap (line 112) | private void outsideMap(String tag) throws IOException { method insideRecord (line 120) | private void insideRecord(String tag) { method outsideRecord (line 125) | private void outsideRecord(String tag) throws IOException { method getArchive (line 133) | static XmlOutputArchive getArchive(OutputStream strm) { method XmlOutputArchive (line 138) | public XmlOutputArchive(OutputStream out) { method writeByte (line 143) | public void writeByte(byte b, String tag) throws IOException { method writeBool (line 151) | public void writeBool(boolean b, String tag) throws IOException { method writeInt (line 159) | public void writeInt(int i, String tag) throws IOException { method writeLong (line 167) | public void writeLong(long l, String tag) throws IOException { method writeFloat (line 175) | public void writeFloat(float f, String tag) throws IOException { method writeDouble (line 183) | public void writeDouble(double d, String tag) throws IOException { method writeString (line 191) | public void writeString(String s, String tag) throws IOException { method writeBuffer (line 199) | public void writeBuffer(byte buf[], String tag) method writeRecord (line 208) | public void writeRecord(Record r, String tag) throws IOException { method startRecord (line 212) | public void startRecord(Record r, String tag) throws IOException { method endRecord (line 218) | public void endRecord(Record r, String tag) throws IOException { method startVector (line 225) | public void startVector(List v, String tag) throws IOException { method endVector (line 231) | public void endVector(List v, String tag) throws IOException { method startMap (line 238) | public void startMap(TreeMap v, String tag) throws IOException { method endMap (line 244) | public void endMap(TreeMap v, String tag) throws IOException { FILE: src/java/main/org/apache/jute/compiler/CGenerator.java class CGenerator (line 30) | class CGenerator { method CGenerator (line 43) | CGenerator(String name, ArrayList ilist, ArrayList rlist, method genCode (line 57) | void genCode() throws IOException { FILE: src/java/main/org/apache/jute/compiler/CSharpGenerator.java class CSharpGenerator (line 25) | public class CSharpGenerator { method CSharpGenerator (line 36) | CSharpGenerator(String name, ArrayList ilist, ArrayList ilist, ArrayList r... method genCode (line 57) | void genCode() throws IOException { FILE: src/java/main/org/apache/jute/compiler/JBoolean.java class JBoolean (line 24) | public class JBoolean extends JType { method JBoolean (line 27) | public JBoolean() { method getSignature (line 31) | public String getSignature() { method genJavaCompareTo (line 35) | public String genJavaCompareTo(String fname) { method genJavaHashCode (line 39) | public String genJavaHashCode(String fname) { method genCsharpHashCode (line 43) | String genCsharpHashCode(String fname) { FILE: src/java/main/org/apache/jute/compiler/JBuffer.java class JBuffer (line 24) | public class JBuffer extends JCompType { method JBuffer (line 27) | public JBuffer() { method genCppGetSet (line 31) | public String genCppGetSet(String fname, int fIdx) { method getSignature (line 41) | public String getSignature() { method genJavaReadWrapper (line 45) | public String genJavaReadWrapper(String fname, String tag, boolean dec... method genJavaWriteWrapper (line 53) | public String genJavaWriteWrapper(String fname, String tag) { method genJavaCompareTo (line 57) | public String genJavaCompareTo(String fname, String other) { method genJavaCompareTo (line 67) | public String genJavaCompareTo(String fname) { method genJavaCompareToWrapper (line 70) | public String genJavaCompareToWrapper(String fname, String other) { method genCsharpHashCode (line 74) | public String genCsharpHashCode(String fname) { method genJavaEquals (line 78) | public String genJavaEquals(String fname, String peer) { method genCsharpEquals (line 82) | public String genCsharpEquals(String fname, String peer) { method genJavaHashCode (line 86) | public String genJavaHashCode(String fname) { method genJavaSlurpBytes (line 90) | public String genJavaSlurpBytes(String b, String s, String l) { method genJavaCompareBytes (line 100) | public String genJavaCompareBytes() { FILE: src/java/main/org/apache/jute/compiler/JByte.java class JByte (line 24) | public class JByte extends JType { method JByte (line 27) | public JByte() { method getSignature (line 31) | public String getSignature() { FILE: src/java/main/org/apache/jute/compiler/JCompType.java class JCompType (line 25) | abstract class JCompType extends JType { method JCompType (line 28) | JCompType(String cType, String cppType, String csharpType, String java... method genCppGetSet (line 32) | String genCppGetSet(String fname, int fIdx) { method genJavaCompareTo (line 42) | String genJavaCompareTo(String fname) { method genJavaEquals (line 46) | String genJavaEquals(String fname, String peer) { method genJavaHashCode (line 50) | String genJavaHashCode(String fname) { method genCsharpHashCode (line 54) | String genCsharpHashCode(String fname) { method genCsharpEquals (line 58) | String genCsharpEquals(String name, String peer) { FILE: src/java/main/org/apache/jute/compiler/JDouble.java class JDouble (line 24) | public class JDouble extends JType { method JDouble (line 27) | public JDouble() { method getSignature (line 31) | public String getSignature() { method genJavaHashCode (line 35) | public String genJavaHashCode(String fname) { FILE: src/java/main/org/apache/jute/compiler/JField.java class JField (line 24) | public class JField { method JField (line 30) | public JField(JType type, String name) { method getSignature (line 35) | public String getSignature() { method genCppDecl (line 39) | public String genCppDecl() { method genCDecl (line 43) | public String genCDecl() { method genCsharpDecl (line 47) | public String genCsharpDecl() { method genCsharpConstructorParam (line 51) | public String genCsharpConstructorParam(String fname) { method genJavaDecl (line 55) | public String genJavaDecl() { method genJavaConstructorParam (line 59) | public String genJavaConstructorParam(String fname) { method getName (line 63) | public String getName() { method getCsharpName (line 67) | public String getCsharpName() { method getTag (line 71) | public String getTag() { method getType (line 75) | public JType getType() { method genCppGetSet (line 79) | public String genCppGetSet(int fIdx) { method genCsharpConstructorSet (line 83) | public String genCsharpConstructorSet(String fname) { method genCsharpGetSet (line 87) | public String genCsharpGetSet(int fIdx) { method genCsharpWriteMethodName (line 91) | public String genCsharpWriteMethodName() { method genCsharpReadMethodName (line 95) | public String genCsharpReadMethodName() { method genJavaGetSet (line 99) | public String genJavaGetSet(int fIdx) { method genJavaWriteMethodName (line 103) | public String genJavaWriteMethodName() { method genJavaReadMethodName (line 107) | public String genJavaReadMethodName() { method genJavaCompareTo (line 111) | public String genJavaCompareTo() { method genJavaEquals (line 115) | public String genJavaEquals() { method genJavaHashCode (line 119) | public String genJavaHashCode() { method genJavaConstructorSet (line 123) | public String genJavaConstructorSet(String fname) { FILE: src/java/main/org/apache/jute/compiler/JFile.java class JFile (line 31) | public class JFile { method JFile (line 43) | public JFile(String name, ArrayList inclFiles, method getName (line 52) | String getName() { method genCode (line 61) | public void genCode(String language, File outputDirectory) FILE: src/java/main/org/apache/jute/compiler/JFloat.java class JFloat (line 24) | public class JFloat extends JType { method JFloat (line 27) | public JFloat() { method getSignature (line 31) | public String getSignature() { method genJavaHashCode (line 35) | public String genJavaHashCode(String fname) { FILE: src/java/main/org/apache/jute/compiler/JInt.java class JInt (line 24) | public class JInt extends JType { method JInt (line 27) | public JInt() { method getSignature (line 31) | public String getSignature() { FILE: src/java/main/org/apache/jute/compiler/JLong.java class JLong (line 24) | public class JLong extends JType { method JLong (line 27) | public JLong() { method getSignature (line 31) | public String getSignature() { method genJavaHashCode (line 35) | public String genJavaHashCode(String fname) { FILE: src/java/main/org/apache/jute/compiler/JMap.java class JMap (line 24) | public class JMap extends JCompType { method getLevel (line 28) | static private String getLevel() { return Integer.toString(level); } method incrLevel (line 30) | static private void incrLevel() { level++; } method decrLevel (line 32) | static private void decrLevel() { level--; } method getId (line 34) | static private String getId(String id) { return id+getLevel(); } method JMap (line 40) | public JMap(JType t1, JType t2) { method getSignature (line 47) | public String getSignature() { method genJavaCompareTo (line 51) | public String genJavaCompareTo(String fname) { method genJavaReadWrapper (line 56) | public String genJavaReadWrapper(String fname, String tag, boolean dec... method genJavaReadMethod (line 76) | public String genJavaReadMethod(String fname, String tag) { method genJavaWriteWrapper (line 80) | public String genJavaWriteWrapper(String fname, String tag) { method genJavaWriteMethod (line 98) | public String genJavaWriteMethod(String fname, String tag) { FILE: src/java/main/org/apache/jute/compiler/JRecord.java class JRecord (line 31) | public class JRecord extends JCompType { method JRecord (line 41) | public JRecord(String name, ArrayList flist) { method getName (line 51) | public String getName() { method getCsharpName (line 55) | public String getCsharpName() { method getJavaFQName (line 59) | public String getJavaFQName() { method getCppFQName (line 63) | public String getCppFQName() { method getJavaPackage (line 67) | public String getJavaPackage() { method getCppNameSpace (line 71) | public String getCppNameSpace() { method getFields (line 75) | public ArrayList getFields() { method getSignature (line 79) | public String getSignature() { method genCppDecl (line 90) | public String genCppDecl(String fname) { method genJavaReadMethod (line 94) | public String genJavaReadMethod(String fname, String tag) { method genJavaReadWrapper (line 98) | public String genJavaReadWrapper(String fname, String tag, boolean dec... method genJavaWriteWrapper (line 108) | public String genJavaWriteWrapper(String fname, String tag) { method genCsharpReadMethod (line 112) | String genCsharpReadMethod(String fname, String tag) { method genCsharpReadWrapper (line 117) | public String genCsharpReadWrapper(String fname, String tag, boolean d... method genCsharpWriteWrapper (line 127) | public String genCsharpWriteWrapper(String fname, String tag) { method genCCode (line 132) | public void genCCode(FileWriter h, FileWriter c) throws IOException { method genSerialize (line 238) | private void genSerialize(FileWriter c, JType type, String tag, String... method genDeserialize (line 248) | private void genDeserialize(FileWriter c, JType type, String tag, Stri... method extractMethodSuffix (line 258) | static String extractMethodSuffix(JType t) { method extractStructName (line 265) | static private String extractStructName(JType t) { method genCppCode (line 271) | public void genCppCode(FileWriter hh, FileWriter cc) method genJavaCode (line 383) | public void genJavaCode(File outputDirectory) throws IOException { method genCsharpCode (line 568) | public void genCsharpCode(File outputDirectory) throws IOException { FILE: src/java/main/org/apache/jute/compiler/JString.java class JString (line 24) | public class JString extends JCompType { method JString (line 27) | public JString() { method getSignature (line 31) | public String getSignature() { method genJavaReadWrapper (line 35) | public String genJavaReadWrapper(String fname, String tag, boolean dec... method genJavaWriteWrapper (line 43) | public String genJavaWriteWrapper(String fname, String tag) { FILE: src/java/main/org/apache/jute/compiler/JType.java class JType (line 25) | abstract public class JType { method JType (line 39) | JType(String cname, String cppname, String csharpName, String javaname... method getSignature (line 50) | abstract String getSignature(); method genCppDecl (line 52) | String genCppDecl(String fname) { method genCDecl (line 56) | String genCDecl(String name) { method genCsharpDecl (line 60) | public String genCsharpDecl(String name) { method genJavaDecl (line 64) | String genJavaDecl (String fname) { method genJavaConstructorParam (line 68) | String genJavaConstructorParam (String fname) { method genCppGetSet (line 72) | String genCppGetSet(String fname, int fIdx) { method genCsharpGetSet (line 82) | String genCsharpGetSet(String fname, int fIdx) { method capitalize (line 93) | static String capitalize(String s) { method genJavaGetSet (line 96) | String genJavaGetSet(String fname, int fIdx) { method getCType (line 106) | String getCType() { method getCppType (line 109) | String getCppType() { method getCsharpType (line 113) | String getCsharpType() { method getJavaType (line 117) | String getJavaType() { method getJavaWrapperType (line 121) | String getJavaWrapperType() { method getCsharpWrapperType (line 125) | String getCsharpWrapperType() { method getMethodSuffix (line 129) | String getMethodSuffix() { method genJavaWriteMethod (line 133) | String genJavaWriteMethod(String fname, String tag) { method genJavaReadMethod (line 137) | String genJavaReadMethod(String fname, String tag) { method genJavaReadWrapper (line 141) | String genJavaReadWrapper(String fname, String tag, boolean decl) { method genJavaWriteWrapper (line 149) | String genJavaWriteWrapper(String fname, String tag) { method genJavaCompareTo (line 153) | String genJavaCompareTo(String fname) { method genJavaEquals (line 157) | String genJavaEquals(String fname, String peer) { method genJavaHashCode (line 161) | String genJavaHashCode(String fname) { method genJavaConstructorSet (line 165) | String genJavaConstructorSet(String fname, String name) { method genCsharpWriteMethod (line 169) | String genCsharpWriteMethod(String fname, String tag) { method genCsharpReadMethod (line 173) | String genCsharpReadMethod(String fname, String tag) { method genCsharpReadWrapper (line 177) | String genCsharpReadWrapper(String fname, String tag, boolean decl) { method genCsharpWriteWrapper (line 185) | String genCsharpWriteWrapper(String fname, String tag) { method genCsharpEquals (line 190) | String genCsharpEquals(String fname, String peer) { method genCsharpHashCode (line 194) | String genCsharpHashCode(String fname) { method genCsharpConstructorSet (line 198) | String genCsharpConstructorSet(String mName, String fname) { method genCsharpConstructorParam (line 202) | public String genCsharpConstructorParam(String fname) { FILE: src/java/main/org/apache/jute/compiler/JVector.java class JVector (line 24) | public class JVector extends JCompType { method getId (line 28) | static private String getId(String id) { return id+getLevel(); } method getLevel (line 30) | static private String getLevel() { return Integer.toString(level); } method incrLevel (line 32) | static private void incrLevel() { level++; } method decrLevel (line 34) | static private void decrLevel() { level--; } method JVector (line 39) | public JVector(JType t) { method getSignature (line 45) | public String getSignature() { method genJavaCompareTo (line 49) | public String genJavaCompareTo(String fname) { method genJavaReadWrapper (line 54) | public String genJavaReadWrapper(String fname, String tag, boolean dec... method genJavaReadMethod (line 75) | public String genJavaReadMethod(String fname, String tag) { method genJavaWriteWrapper (line 79) | public String genJavaWriteWrapper(String fname, String tag) { method genJavaWriteMethod (line 96) | public String genJavaWriteMethod(String fname, String tag) { method getElementType (line 100) | public JType getElementType() { method genCsharpWriteWrapper (line 104) | public String genCsharpWriteWrapper(String fname, String tag) { method genCsharpWriteMethod (line 116) | String genCsharpWriteMethod(String fname, String tag) { method genCsharpHashCode (line 120) | String genCsharpHashCode(String fname) { method genCsharpReadWrapper (line 124) | public String genCsharpReadWrapper(String fname, String tag, boolean d... method genCsharpReadMethod (line 145) | String genCsharpReadMethod(String fname, String tag) { method extractVectorName (line 149) | static public String extractVectorName(JType jvType) { FILE: src/java/main/org/apache/jute/compiler/JavaGenerator.java class JavaGenerator (line 29) | class JavaGenerator { method JavaGenerator (line 40) | JavaGenerator(String name, ArrayList incl, method genCode (line 51) | void genCode() throws IOException { FILE: src/java/main/org/apache/zookeeper/AsyncCallback.java type AsyncCallback (line 33) | @InterfaceAudience.Public type StatCallback (line 39) | @InterfaceAudience.Public method processResult (line 68) | public void processResult(int rc, String path, Object ctx, Stat stat); type DataCallback (line 74) | @InterfaceAudience.Public method processResult (line 100) | public void processResult(int rc, String path, Object ctx, byte data[], type ACLCallback (line 107) | @InterfaceAudience.Public method processResult (line 133) | public void processResult(int rc, String path, Object ctx, type ChildrenCallback (line 140) | @InterfaceAudience.Public method processResult (line 164) | public void processResult(int rc, String path, Object ctx, type Children2Callback (line 171) | @InterfaceAudience.Public method processResult (line 186) | public void processResult(int rc, String path, Object ctx, type StringCallback (line 193) | @InterfaceAudience.Public method processResult (line 228) | public void processResult(int rc, String path, Object ctx, String na... type VoidCallback (line 237) | @InterfaceAudience.Public method processResult (line 271) | public void processResult(int rc, String path, Object ctx); type MultiCallback (line 280) | @InterfaceAudience.Public method processResult (line 306) | public void processResult(int rc, String path, Object ctx, FILE: src/java/main/org/apache/zookeeper/ClientCnxn.java class ClientCnxn (line 92) | public class ClientCnxn { class AuthData (line 124) | static class AuthData { method AuthData (line 125) | AuthData(String scheme, byte data[]) { method getSessionId (line 214) | public long getSessionId() { method getSessionPasswd (line 218) | public byte[] getSessionPasswd() { method getSessionTimeout (line 222) | public int getSessionTimeout() { method toString (line 226) | @Override class Packet (line 250) | static class Packet { method Packet (line 277) | Packet(RequestHeader requestHeader, ReplyHeader replyHeader, method Packet (line 284) | Packet(RequestHeader requestHeader, ReplyHeader replyHeader, method createBB (line 296) | public void createBB() { method toString (line 320) | @Override method ClientCnxn (line 358) | public ClientCnxn(String chrootPath, HostProvider hostProvider, int se... method ClientCnxn (line 387) | public ClientCnxn(String chrootPath, HostProvider hostProvider, int se... method getDisableAutoResetWatch (line 411) | public static boolean getDisableAutoResetWatch() { method setDisableAutoResetWatch (line 418) | public static void setDisableAutoResetWatch(boolean b) { method start (line 421) | public void start() { class WatcherSetEventPair (line 428) | private static class WatcherSetEventPair { method WatcherSetEventPair (line 432) | public WatcherSetEventPair(Set watchers, WatchedEvent event) { method makeThreadName (line 443) | private static String makeThreadName(String suffix) { class EventThread (line 449) | class EventThread extends ZooKeeperThread { method EventThread (line 462) | EventThread() { method queueEvent (line 467) | public void queueEvent(WatchedEvent event) { method queuePacket (line 483) | public void queuePacket(Packet packet) { method queueEventOfDeath (line 494) | public void queueEventOfDeath() { method run (line 498) | @Override method processEvent (line 525) | private void processEvent(Object event) { method finishPacket (line 645) | private void finishPacket(Packet p) { method conLossPacket (line 661) | private void conLossPacket(Packet p) { method getLastZxid (line 680) | public long getLastZxid() { class EndOfStreamException (line 684) | static class EndOfStreamException extends IOException { method EndOfStreamException (line 687) | public EndOfStreamException(String msg) { method toString (line 691) | @Override class SessionTimeoutException (line 697) | private static class SessionTimeoutException extends IOException { method SessionTimeoutException (line 700) | public SessionTimeoutException(String msg) { class SessionExpiredException (line 705) | private static class SessionExpiredException extends IOException { method SessionExpiredException (line 708) | public SessionExpiredException(String msg) { class RWServerFoundException (line 713) | private static class RWServerFoundException extends IOException { method RWServerFoundException (line 716) | public RWServerFoundException(String msg) { class SendThread (line 728) | class SendThread extends ZooKeeperThread { method readResponse (line 734) | void readResponse(ByteBuffer incomingBuffer) throws IOException { method SendThread (line 853) | SendThread(ClientCnxnSocket clientCnxnSocket) { method getZkState (line 869) | ZooKeeper.States getZkState() { method getClientCnxnSocket (line 873) | ClientCnxnSocket getClientCnxnSocket() { method primeConnection (line 877) | void primeConnection() throws IOException { method prependChroot (line 956) | private List prependChroot(List paths) { method sendPing (line 973) | private void sendPing() { method startConnect (line 991) | private void startConnect(InetSocketAddress addr) throws IOException { method logStartConnect (line 1023) | private void logStartConnect(InetSocketAddress addr) { method run (line 1034) | @Override method pingRwServer (line 1196) | private void pingRwServer() throws RWServerFoundException { method cleanup (line 1248) | private void cleanup() { method onConnected (line 1274) | void onConnected(int _negotiatedSessionTimeout, long _sessionId, method close (line 1314) | void close() { method testableCloseSocket (line 1319) | void testableCloseSocket() throws IOException { method clientTunneledAuthenticationInProgress (line 1323) | public boolean clientTunneledAuthenticationInProgress() { method sendPacket (line 1344) | public void sendPacket(Packet p) throws IOException { method disconnect (line 1355) | public void disconnect() { method close (line 1371) | public void close() throws IOException { method getXid (line 1397) | synchronized public int getXid() { method submitRequest (line 1401) | public ReplyHeader submitRequest(RequestHeader h, Record request, method enableWrite (line 1415) | public void enableWrite() { method sendPacket (line 1419) | public void sendPacket(Record request, Record response, AsyncCallback ... method queuePacket (line 1436) | Packet queuePacket(RequestHeader h, ReplyHeader r, Record request, method addAuthInfo (line 1466) | public void addAuthInfo(String scheme, byte auth[]) { method getState (line 1476) | States getState() { FILE: src/java/main/org/apache/zookeeper/ClientCnxnSocket.java class ClientCnxnSocket (line 44) | abstract class ClientCnxnSocket { method introduce (line 72) | void introduce(ClientCnxn.SendThread sendThread, long sessionId) { method updateNow (line 77) | void updateNow() { method getIdleRecv (line 81) | int getIdleRecv() { method getIdleSend (line 85) | int getIdleSend() { method getSentCount (line 89) | long getSentCount() { method getRecvCount (line 93) | long getRecvCount() { method updateLastHeard (line 97) | void updateLastHeard() { method updateLastSend (line 101) | void updateLastSend() { method updateLastSendAndHeard (line 105) | void updateLastSendAndHeard() { method readLength (line 110) | protected void readLength() throws IOException { method readConnectResult (line 118) | void readConnectResult() throws IOException { method isConnected (line 148) | abstract boolean isConnected(); method connect (line 150) | abstract void connect(InetSocketAddress addr) throws IOException; method getRemoteSocketAddress (line 152) | abstract SocketAddress getRemoteSocketAddress(); method getLocalSocketAddress (line 154) | abstract SocketAddress getLocalSocketAddress(); method cleanup (line 156) | abstract void cleanup(); method close (line 158) | abstract void close(); method wakeupCnxn (line 160) | abstract void wakeupCnxn(); method enableWrite (line 162) | abstract void enableWrite(); method disableWrite (line 164) | abstract void disableWrite(); method enableReadWriteOnly (line 166) | abstract void enableReadWriteOnly(); method doTransport (line 168) | abstract void doTransport(int waitTimeOut, List pendingQueue, method testableCloseSocket (line 172) | abstract void testableCloseSocket() throws IOException; method sendPacket (line 174) | abstract void sendPacket(Packet p) throws IOException; FILE: src/java/main/org/apache/zookeeper/ClientCnxnSocketNIO.java class ClientCnxnSocketNIO (line 39) | public class ClientCnxnSocketNIO extends ClientCnxnSocket { method ClientCnxnSocketNIO (line 47) | ClientCnxnSocketNIO() throws IOException { method isConnected (line 51) | @Override method doIO (line 61) | void doIO(List pendingQueue, LinkedList outgoingQueue,... method findSendablePacket (line 156) | private Packet findSendablePacket(LinkedList outgoingQueue, method cleanup (line 194) | @Override method close (line 239) | @Override method createSock (line 259) | SocketChannel createSock() throws IOException { method registerAndConnect (line 274) | void registerAndConnect(SocketChannel sock, InetSocketAddress addr) method connect (line 283) | @Override method getRemoteSocketAddress (line 308) | @Override method getLocalSocketAddress (line 327) | @Override method wakeupCnxn (line 340) | @Override method doTransport (line 345) | @Override method testableCloseSocket (line 381) | @Override method enableWrite (line 387) | @Override method disableWrite (line 395) | @Override method enableRead (line 403) | synchronized private void enableRead() { method enableReadWriteOnly (line 410) | @Override method getSelector (line 415) | Selector getSelector() { method sendPacket (line 419) | @Override FILE: src/java/main/org/apache/zookeeper/ClientWatchManager.java type ClientWatchManager (line 25) | public interface ClientWatchManager { method materialize (line 38) | public Set materialize(Watcher.Event.KeeperState state, FILE: src/java/main/org/apache/zookeeper/CreateMode.java type CreateMode (line 28) | @InterfaceAudience.Public method CreateMode (line 56) | CreateMode(int flag, boolean ephemeral, boolean sequential) { method isEphemeral (line 62) | public boolean isEphemeral() { method isSequential (line 66) | public boolean isSequential() { method toFlag (line 70) | public int toFlag() { method fromFlag (line 77) | static public CreateMode fromFlag(int flag) throws KeeperException { FILE: src/java/main/org/apache/zookeeper/Environment.java class Environment (line 33) | public class Environment { class Entry (line 36) | public static class Entry { method Entry (line 39) | public Entry(String k, String v) { method getKey (line 43) | public String getKey() { return k; } method getValue (line 44) | public String getValue() { return v; } method toString (line 46) | @Override method put (line 52) | private static void put(ArrayList l, String k, String v) { method list (line 56) | public static List list() { method logEnv (line 97) | public static void logEnv(String msg, Logger log) { FILE: src/java/main/org/apache/zookeeper/JLineZNodeCompletor.java class JLineZNodeCompletor (line 25) | class JLineZNodeCompletor implements Completor { method JLineZNodeCompletor (line 28) | public JLineZNodeCompletor(ZooKeeper zk) { method complete (line 32) | @SuppressWarnings(value={"unchecked", "rawtypes"}) method completeCommand (line 50) | private int completeCommand(String buffer, String token, method completeZNode (line 61) | private int completeZNode( String buffer, String token, FILE: src/java/main/org/apache/zookeeper/KeeperException.java class KeeperException (line 29) | @SuppressWarnings("serial") method create (line 53) | public static KeeperException create(Code code, String path) { method create (line 63) | @Deprecated method create (line 74) | @Deprecated method create (line 93) | public static KeeperException create(Code code) { method setCode (line 150) | @Deprecated type CodeDeprecated (line 168) | @Deprecated type Code (line 295) | @InterfaceAudience.Public method Code (line 364) | Code(int code) { method intValue (line 372) | public int intValue() { return code; } method get (line 379) | public static Code get(int code) { method getCodeMessage (line 384) | static String getCodeMessage(Code code) { method KeeperException (line 439) | public KeeperException(Code code) { method KeeperException (line 443) | KeeperException(Code code, String path) { method getCode (line 453) | @Deprecated method code (line 462) | public Code code() { method getPath (line 470) | public String getPath() { method getMessage (line 474) | @Override method setMultiResults (line 482) | void setMultiResults(List results) { method getResults (line 494) | public List getResults() { class APIErrorException (line 501) | @InterfaceAudience.Public method APIErrorException (line 503) | public APIErrorException() { class AuthFailedException (line 511) | @InterfaceAudience.Public method AuthFailedException (line 513) | public AuthFailedException() { class BadArgumentsException (line 521) | @InterfaceAudience.Public method BadArgumentsException (line 523) | public BadArgumentsException() { method BadArgumentsException (line 526) | public BadArgumentsException(String path) { class BadVersionException (line 534) | @InterfaceAudience.Public method BadVersionException (line 536) | public BadVersionException() { method BadVersionException (line 539) | public BadVersionException(String path) { class ConnectionLossException (line 547) | @InterfaceAudience.Public method ConnectionLossException (line 549) | public ConnectionLossException() { class DataInconsistencyException (line 557) | @InterfaceAudience.Public method DataInconsistencyException (line 559) | public DataInconsistencyException() { class InvalidACLException (line 567) | @InterfaceAudience.Public method InvalidACLException (line 569) | public InvalidACLException() { method InvalidACLException (line 572) | public InvalidACLException(String path) { class InvalidCallbackException (line 580) | @InterfaceAudience.Public method InvalidCallbackException (line 582) | public InvalidCallbackException() { class MarshallingErrorException (line 590) | @InterfaceAudience.Public method MarshallingErrorException (line 592) | public MarshallingErrorException() { class NoAuthException (line 600) | @InterfaceAudience.Public method NoAuthException (line 602) | public NoAuthException() { class NoChildrenForEphemeralsException (line 610) | @InterfaceAudience.Public method NoChildrenForEphemeralsException (line 612) | public NoChildrenForEphemeralsException() { method NoChildrenForEphemeralsException (line 615) | public NoChildrenForEphemeralsException(String path) { class NodeExistsException (line 623) | @InterfaceAudience.Public method NodeExistsException (line 625) | public NodeExistsException() { method NodeExistsException (line 628) | public NodeExistsException(String path) { class NoNodeException (line 636) | @InterfaceAudience.Public method NoNodeException (line 638) | public NoNodeException() { method NoNodeException (line 641) | public NoNodeException(String path) { class NotEmptyException (line 649) | @InterfaceAudience.Public method NotEmptyException (line 651) | public NotEmptyException() { method NotEmptyException (line 654) | public NotEmptyException(String path) { class OperationTimeoutException (line 662) | @InterfaceAudience.Public method OperationTimeoutException (line 664) | public OperationTimeoutException() { class RuntimeInconsistencyException (line 672) | @InterfaceAudience.Public method RuntimeInconsistencyException (line 674) | public RuntimeInconsistencyException() { class SessionExpiredException (line 682) | @InterfaceAudience.Public method SessionExpiredException (line 684) | public SessionExpiredException() { class SessionMovedException (line 692) | @InterfaceAudience.Public method SessionMovedException (line 694) | public SessionMovedException() { class NotReadOnlyException (line 702) | @InterfaceAudience.Public method NotReadOnlyException (line 704) | public NotReadOnlyException() { class SystemErrorException (line 712) | @InterfaceAudience.Public method SystemErrorException (line 714) | public SystemErrorException() { class UnimplementedException (line 722) | @InterfaceAudience.Public method UnimplementedException (line 724) | public UnimplementedException() { FILE: src/java/main/org/apache/zookeeper/Login.java class Login (line 45) | public class Login { method Login (line 93) | public Login(final String loginContextName, CallbackHandler callbackHa... method startThreadIfNeeded (line 261) | public void startThreadIfNeeded() { method shutdown (line 268) | public void shutdown() { method getSubject (line 279) | public Subject getSubject() { method getLoginContextName (line 283) | public String getLoginContextName() { method login (line 287) | private synchronized LoginContext login(final String loginContextName)... method getRefreshTime (line 302) | private long getRefreshTime(KerberosTicket tgt) { method getTGT (line 318) | private synchronized KerberosTicket getTGT() { method hasSufficientTimeElapsed (line 331) | private boolean hasSufficientTimeElapsed() { method getLogin (line 348) | private LoginContext getLogin() { method setLogin (line 356) | private void setLogin(LoginContext login) { method setLastLogin (line 364) | private void setLastLogin(long time) { method getLastLogin (line 372) | private long getLastLogin() { method reLogin (line 381) | private synchronized void reLogin() FILE: src/java/main/org/apache/zookeeper/MultiResponse.java class MultiResponse (line 40) | public class MultiResponse implements Record, Iterable { method add (line 43) | public void add(OpResult x) { method iterator (line 47) | @Override method size (line 52) | public int size() { method serialize (line 56) | @Override method deserialize (line 87) | @Override method getResultList (line 131) | public List getResultList() { method equals (line 135) | @Override method hashCode (line 158) | @Override FILE: src/java/main/org/apache/zookeeper/MultiTransactionRecord.java class MultiTransactionRecord (line 37) | public class MultiTransactionRecord implements Record, Iterable { method MultiTransactionRecord (line 40) | public MultiTransactionRecord() { method MultiTransactionRecord (line 43) | public MultiTransactionRecord(Iterable ops) { method iterator (line 49) | @Override method add (line 54) | public void add(Op op) { method size (line 58) | public int size() { method serialize (line 62) | @Override method deserialize (line 90) | @Override method equals (line 126) | @Override method hashCode (line 152) | @Override FILE: src/java/main/org/apache/zookeeper/Op.java class Op (line 44) | public abstract class Op { method Op (line 49) | private Op(int type, String path) { method create (line 69) | public static Op create(String path, byte[] data, List acl, int f... method create (line 87) | public static Op create(String path, byte[] data, List acl, Creat... method delete (line 100) | public static Op delete(String path, int version) { method setData (line 115) | public static Op setData(String path, byte[] data, int version) { method check (line 132) | public static Op check(String path, int version) { method getType (line 141) | public int getType() { method getPath (line 149) | public String getPath() { method toRequestRecord (line 157) | public abstract Record toRequestRecord() ; method withChroot (line 164) | abstract Op withChroot(String addRootPrefix); method validate (line 174) | void validate() throws KeeperException { class Create (line 181) | public static class Create extends Op { method Create (line 186) | private Create(String path, byte[] data, List acl, int flags) { method Create (line 193) | private Create(String path, byte[] data, List acl, CreateMode c... method equals (line 200) | @Override method hashCode (line 224) | @Override method toRequestRecord (line 229) | @Override method withChroot (line 234) | @Override method validate (line 239) | @Override class Delete (line 246) | public static class Delete extends Op { method Delete (line 249) | private Delete(String path, int version) { method equals (line 254) | @Override method hashCode (line 265) | @Override method toRequestRecord (line 270) | @Override method withChroot (line 275) | @Override class SetData (line 281) | public static class SetData extends Op { method SetData (line 285) | private SetData(String path, byte[] data, int version) { method equals (line 291) | @Override method hashCode (line 302) | @Override method toRequestRecord (line 307) | @Override method withChroot (line 312) | @Override class Check (line 318) | public static class Check extends Op { method Check (line 321) | private Check(String path, int version) { method equals (line 326) | @Override method hashCode (line 336) | @Override method toRequestRecord (line 341) | @Override method withChroot (line 346) | @Override FILE: src/java/main/org/apache/zookeeper/OpResult.java class OpResult (line 26) | public abstract class OpResult { method OpResult (line 29) | private OpResult(int type) { method getType (line 40) | public int getType() { class CreateResult (line 49) | public static class CreateResult extends OpResult { method CreateResult (line 52) | public CreateResult(String path) { method getPath (line 57) | public String getPath() { method equals (line 61) | @Override method hashCode (line 70) | @Override class DeleteResult (line 79) | public static class DeleteResult extends OpResult { method DeleteResult (line 80) | public DeleteResult() { method equals (line 84) | @Override method hashCode (line 93) | @Override class SetDataResult (line 103) | public static class SetDataResult extends OpResult { method SetDataResult (line 106) | public SetDataResult(Stat stat) { method getStat (line 111) | public Stat getStat() { method equals (line 115) | @Override method hashCode (line 124) | @Override class CheckResult (line 133) | public static class CheckResult extends OpResult { method CheckResult (line 134) | public CheckResult() { method equals (line 138) | @Override method hashCode (line 147) | @Override class ErrorResult (line 159) | public static class ErrorResult extends OpResult { method ErrorResult (line 162) | public ErrorResult(int err) { method getErr (line 167) | public int getErr() { method equals (line 171) | @Override method hashCode (line 180) | @Override FILE: src/java/main/org/apache/zookeeper/Quotas.java class Quotas (line 26) | public class Quotas { method quotaPath (line 53) | public static String quotaPath(String path) { method statPath (line 64) | public static String statPath(String path) { FILE: src/java/main/org/apache/zookeeper/SaslClientCallbackHandler.java class SaslClientCallbackHandler (line 39) | public class SaslClientCallbackHandler implements CallbackHandler { method SaslClientCallbackHandler (line 43) | public SaslClientCallbackHandler(String password, String client) { method handle (line 48) | public void handle(Callback[] callbacks) throws UnsupportedCallbackExc... FILE: src/java/main/org/apache/zookeeper/ServerAdminClient.java class ServerAdminClient (line 36) | @InterfaceAudience.Public method getMask (line 40) | private static long getMask(String mask) { method getMasks (line 62) | private static long getMasks(String masks) { method ruok (line 72) | public static void ruok(String host, int port) { method dump (line 106) | public static void dump(String host, int port) { method stat (line 140) | public static void stat(String host, int port) { method kill (line 174) | public static void kill(String host, int port) { method setTraceMask (line 207) | public static void setTraceMask(String host, int port, String traceMas... method getTraceMask (line 248) | public static void getTraceMask(String host, int port) { method usage (line 285) | private static void usage() { method main (line 292) | public static void main(String[] args) { FILE: src/java/main/org/apache/zookeeper/Shell.java class Shell (line 51) | abstract public class Shell { method getGroupsCommand (line 58) | public static String[] getGroupsCommand() { method getGroupsForUserCommand (line 62) | public static String[] getGroupsForUserCommand(final String user) { method getGET_PERMISSION_COMMAND (line 72) | public static String[] getGET_PERMISSION_COMMAND() { method getUlimitMemoryCommand (line 98) | public static String[] getUlimitMemoryCommand(int memoryLimit) { method Shell (line 121) | public Shell() { method Shell (line 129) | public Shell( long interval ) { method setEnvironment (line 137) | protected void setEnvironment(Map env) { method setWorkingDirectory (line 144) | protected void setWorkingDirectory(File dir) { method run (line 149) | protected void run() throws IOException { method runCommand (line 157) | private void runCommand() throws IOException { method getExecString (line 254) | protected abstract String[] getExecString(); method parseExecResult (line 257) | protected abstract void parseExecResult(BufferedReader lines) method getProcess (line 263) | public Process getProcess() { method getExitCode (line 270) | public int getExitCode() { class ExitCodeException (line 277) | @SuppressWarnings("serial") method ExitCodeException (line 281) | public ExitCodeException(int exitCode, String message) { method getExitCode (line 286) | public int getExitCode() { class ShellCommandExecutor (line 299) | public static class ShellCommandExecutor extends Shell { method ShellCommandExecutor (line 305) | public ShellCommandExecutor(String[] execString) { method ShellCommandExecutor (line 309) | public ShellCommandExecutor(String[] execString, File dir) { method ShellCommandExecutor (line 313) | public ShellCommandExecutor(String[] execString, File dir, method ShellCommandExecutor (line 332) | public ShellCommandExecutor(String[] execString, File dir, method execute (line 346) | public void execute() throws IOException { method getExecString (line 350) | protected String[] getExecString() { method parseExecResult (line 354) | protected void parseExecResult(BufferedReader lines) throws IOExcept... method getOutput (line 364) | public String getOutput() { method toString (line 375) | public String toString() { method isTimedOut (line 396) | public boolean isTimedOut() { method setTimedOut (line 404) | private void setTimedOut() { method execCommand (line 415) | public static String execCommand(String ... cmd) throws IOException { method execCommand (line 429) | public static String execCommand(Map env, String[] cmd, method execCommand (line 445) | public static String execCommand(Map env, String ... cmd) class ShellTimeoutTimerTask (line 453) | private static class ShellTimeoutTimerTask extends TimerTask { method ShellTimeoutTimerTask (line 457) | public ShellTimeoutTimerTask(Shell shell) { method run (line 461) | @Override FILE: src/java/main/org/apache/zookeeper/StatsTrack.java class StatsTrack (line 24) | public class StatsTrack { method StatsTrack (line 34) | public StatsTrack() { method StatsTrack (line 43) | public StatsTrack(String stats) { method getCount (line 61) | public int getCount() { method setCount (line 71) | public void setCount(int count) { method getBytes (line 80) | public long getBytes() { method setBytes (line 90) | public void setBytes(long bytes) { method toString (line 94) | @Override FILE: src/java/main/org/apache/zookeeper/Transaction.java class Transaction (line 33) | @InterfaceAudience.Public method Transaction (line 38) | protected Transaction(ZooKeeper zk) { method create (line 42) | public Transaction create(final String path, byte data[], List acl, method delete (line 48) | public Transaction delete(final String path, int version) { method check (line 53) | public Transaction check(String path, int version) { method setData (line 58) | public Transaction setData(final String path, byte data[], int version) { method commit (line 63) | public List commit() throws InterruptedException, KeeperExce... method commit (line 67) | public void commit(MultiCallback cb, Object ctx) { FILE: src/java/main/org/apache/zookeeper/Version.java class Version (line 21) | public class Version implements org.apache.zookeeper.version.Info { method getRevision (line 29) | @Deprecated method getRevisionHash (line 34) | public static String getRevisionHash() { method getBuildDate (line 38) | public static String getBuildDate() { method getVersion (line 42) | public static String getVersion() { method getVersionRevision (line 47) | public static String getVersionRevision() { method getFullVersion (line 51) | public static String getFullVersion() { method printUsage (line 55) | public static void printUsage() { method main (line 74) | public static void main(String[] args) { FILE: src/java/main/org/apache/zookeeper/WatchedEvent.java class WatchedEvent (line 31) | @InterfaceAudience.Public method WatchedEvent (line 40) | public WatchedEvent(EventType eventType, KeeperState keeperState, Stri... method WatchedEvent (line 49) | public WatchedEvent(WatcherEvent eventMessage) { method getState (line 55) | public KeeperState getState() { method getType (line 59) | public EventType getType() { method getPath (line 63) | public String getPath() { method toString (line 67) | @Override method getWrapper (line 76) | public WatcherEvent getWrapper() { FILE: src/java/main/org/apache/zookeeper/Watcher.java type Watcher (line 31) | @InterfaceAudience.Public type Event (line 37) | @InterfaceAudience.Public type KeeperState (line 42) | @InterfaceAudience.Public method KeeperState (line 92) | KeeperState(int intValue) { method getIntValue (line 96) | public int getIntValue() { method fromInt (line 100) | public static KeeperState fromInt(int intValue) { type EventType (line 120) | @InterfaceAudience.Public method EventType (line 131) | EventType(int intValue) { method getIntValue (line 135) | public int getIntValue() { method fromInt (line 139) | public static EventType fromInt(int intValue) { method process (line 154) | abstract public void process(WatchedEvent event); FILE: src/java/main/org/apache/zookeeper/ZKUtil.java class ZKUtil (line 30) | public class ZKUtil { method deleteRecursive (line 44) | public static void deleteRecursive(ZooKeeper zk, final String pathRoot) method deleteRecursive (line 74) | public static void deleteRecursive(ZooKeeper zk, final String pathRoot... method listSubTreeBFS (line 103) | public static List listSubTreeBFS(ZooKeeper zk, final String p... FILE: src/java/main/org/apache/zookeeper/ZooDefs.java class ZooDefs (line 28) | @InterfaceAudience.Public type OpCode (line 31) | @InterfaceAudience.Public type Perms (line 74) | @InterfaceAudience.Public type Ids (line 89) | @InterfaceAudience.Public FILE: src/java/main/org/apache/zookeeper/ZooKeeper.java class ZooKeeper (line 87) | @InterfaceAudience.Public method getSaslClient (line 100) | public ZooKeeperSaslClient getSaslClient() { method getDataWatches (line 106) | List getDataWatches() { method getExistWatches (line 112) | List getExistWatches() { method getChildWatches (line 118) | List getChildWatches() { class ZKWatchManager (line 132) | private static class ZKWatchManager implements ClientWatchManager { method addTo (line 142) | final private void addTo(Set from, Set to) { method materialize (line 152) | @Override class WatchRegistration (line 237) | abstract class WatchRegistration { method WatchRegistration (line 240) | public WatchRegistration(Watcher watcher, String clientPath) method getWatches (line 246) | abstract protected Map> getWatches(int rc); method register (line 253) | public void register(int rc) { method shouldAddWatch (line 272) | protected boolean shouldAddWatch(int rc) { class ExistsWatchRegistration (line 280) | class ExistsWatchRegistration extends WatchRegistration { method ExistsWatchRegistration (line 281) | public ExistsWatchRegistration(Watcher watcher, String clientPath) { method getWatches (line 285) | @Override method shouldAddWatch (line 290) | @Override class DataWatchRegistration (line 296) | class DataWatchRegistration extends WatchRegistration { method DataWatchRegistration (line 297) | public DataWatchRegistration(Watcher watcher, String clientPath) { method getWatches (line 301) | @Override class ChildWatchRegistration (line 307) | class ChildWatchRegistration extends WatchRegistration { method ChildWatchRegistration (line 308) | public ChildWatchRegistration(Watcher watcher, String clientPath) { method getWatches (line 312) | @Override type States (line 318) | @InterfaceAudience.Public method isAlive (line 323) | public boolean isAlive() { method isConnected (line 332) | public boolean isConnected() { method ZooKeeper (line 380) | public ZooKeeper(String connectString, int sessionTimeout, Watcher wat... method ZooKeeper (line 437) | public ZooKeeper(String connectString, int sessionTimeout, Watcher wat... method ZooKeeper (line 508) | public ZooKeeper(String connectString, int sessionTimeout, Watcher wat... method ZooKeeper (line 574) | public ZooKeeper(String connectString, int sessionTimeout, Watcher wat... method getSessionId (line 607) | public long getSessionId() { method getSessionPasswd (line 620) | public byte[] getSessionPasswd() { method getSessionTimeout (line 633) | public int getSessionTimeout() { method addAuthInfo (line 645) | public void addAuthInfo(String scheme, byte auth[]) { method register (line 655) | public synchronized void register(Watcher watcher) { method close (line 667) | public synchronized void close() throws InterruptedException { method prependChroot (line 697) | private String prependChroot(String clientPath) { method create (line 764) | public String create(final String path, byte data[], List acl, method create (line 802) | public void create(final String path, byte data[], List acl, method delete (line 850) | public void delete(final String path, int version) method multi (line 909) | public List multi(Iterable ops) throws InterruptedExcept... method multi (line 922) | public void multi(Iterable ops, MultiCallback cb, Object ctx) { method validatePath (line 932) | private List validatePath(Iterable ops) { method generateMultiTransaction (line 962) | private MultiTransactionRecord generateMultiTransaction(Iterable o... method withRootPrefix (line 971) | private Op withRootPrefix(Op op) { method multiInternal (line 981) | protected void multiInternal(MultiTransactionRecord request, MultiCall... method multiInternal (line 988) | protected List multiInternal(MultiTransactionRecord request) method transaction (line 1026) | public Transaction transaction() { method delete (line 1035) | public void delete(final String path, int version, VoidCallback cb, method exists (line 1080) | public Stat exists(final String path, Watcher watcher) method exists (line 1130) | public Stat exists(String path, boolean watch) throws KeeperException, method exists (line 1141) | public void exists(final String path, Watcher watcher, method exists (line 1170) | public void exists(String path, boolean watch, StatCallback cb, Object... method getData (line 1193) | public byte[] getData(final String path, Watcher watcher, Stat stat) method getData (line 1242) | public byte[] getData(String path, boolean watch, Stat stat) method getData (line 1252) | public void getData(final String path, Watcher watcher, method getData (line 1281) | public void getData(String path, boolean watch, DataCallback cb, Objec... method setData (line 1313) | public Stat setData(final String path, byte data[], int version) method setData (line 1341) | public void setData(final String path, byte data[], int version, method getACL (line 1376) | public List getACL(final String path, Stat stat) method getACL (line 1405) | public void getACL(final String path, Stat stat, ACLCallback cb, method setACL (line 1442) | public Stat setACL(final String path, List acl, int aclVersion) method setACL (line 1473) | public void setACL(final String path, List acl, int version, method getChildren (line 1513) | public List getChildren(final String path, Watcher watcher) method getChildren (line 1561) | public List getChildren(String path, boolean watch) method getChildren (line 1571) | public void getChildren(final String path, Watcher watcher, method getChildren (line 1600) | public void getChildren(String path, boolean watch, ChildrenCallback cb, method getChildren (line 1630) | public List getChildren(final String path, Watcher watcher, method getChildren (line 1686) | public List getChildren(String path, boolean watch, Stat stat) method getChildren (line 1699) | public void getChildren(final String path, Watcher watcher, method getChildren (line 1730) | public void getChildren(String path, boolean watch, Children2Callback cb, method sync (line 1743) | public void sync(final String path, VoidCallback cb, Object ctx){ method getState (line 1758) | public States getState() { method toString (line 1771) | @Override method testableWaitForShutdown (line 1796) | protected boolean testableWaitForShutdown(int wait) method testableRemoteSocketAddress (line 1818) | protected SocketAddress testableRemoteSocketAddress() { method testableLocalSocketAddress (line 1831) | protected SocketAddress testableLocalSocketAddress() { method getClientCnxnSocket (line 1835) | private static ClientCnxnSocket getClientCnxnSocket() throws IOExcepti... FILE: src/java/main/org/apache/zookeeper/ZooKeeperMain.java class ZooKeeperMain (line 51) | @InterfaceAudience.Public method getPrintWatches (line 64) | public boolean getPrintWatches( ) { method usage (line 92) | static void usage() { class MyWatcher (line 99) | private class MyWatcher implements Watcher { method process (line 100) | public void process(WatchedEvent event) { method getPermFromString (line 108) | static private int getPermFromString(String permString) { method printStat (line 135) | private static void printStat(Stat stat) { class MyCommandOptions (line 154) | static class MyCommandOptions { method MyCommandOptions (line 162) | public MyCommandOptions() { method getOption (line 167) | public String getOption(String opt) { method getCommand (line 171) | public String getCommand( ) { method getCmdArgument (line 175) | public String getCmdArgument( int index ) { method getNumArguments (line 179) | public int getNumArguments( ) { method getArgArray (line 183) | public String[] getArgArray() { method parseOptions (line 193) | public boolean parseOptions(String[] args) { method parseCommand (line 231) | public boolean parseCommand( String cmdstring ) { method addToHistory (line 260) | protected void addToHistory(int i,String cmd) { method getCommands (line 264) | public static List getCommands() { method getPrompt (line 268) | protected String getPrompt() { method printMessage (line 272) | public static void printMessage(String msg) { method connectToZK (line 276) | protected void connectToZK(String newHost) throws InterruptedException... method main (line 287) | public static void main(String args[]) method ZooKeeperMain (line 294) | public ZooKeeperMain(String args[]) throws IOException, InterruptedExc... method ZooKeeperMain (line 302) | public ZooKeeperMain(ZooKeeper zk) { method run (line 306) | @SuppressWarnings("unchecked") method executeLine (line 367) | public void executeLine(String line) method processResult (line 379) | public void processResult(int rc, String path, Object ctx, byte[] data, method trimProcQuotas (line 399) | private static boolean trimProcQuotas(ZooKeeper zk, String path) method delQuota (line 428) | public static boolean delQuota(ZooKeeper zk, String path, method checkIfParentQuota (line 466) | private static void checkIfParentQuota(ZooKeeper zk, String path) method createQuota (line 505) | public static boolean createQuota(ZooKeeper zk, String path, method processCmd (line 596) | protected boolean processCmd(MyCommandOptions co) method processZKCmd (line 626) | protected boolean processZKCmd(MyCommandOptions co) method getPermString (line 831) | private static String getPermString(int perms) { method parseACLs (line 851) | private static List parseACLs(String aclString) { FILE: src/java/main/org/apache/zookeeper/client/ConnectStringParser.java class ConnectStringParser (line 36) | public final class ConnectStringParser { method ConnectStringParser (line 48) | public ConnectStringParser(String connectString) { method getChrootPath (line 80) | public String getChrootPath() { method getServerAddresses (line 84) | public ArrayList getServerAddresses() { FILE: src/java/main/org/apache/zookeeper/client/FourLetterWordMain.java class FourLetterWordMain (line 34) | @InterfaceAudience.Public method send4LetterWord (line 48) | public static String send4LetterWord(String host, int port, String cmd) method send4LetterWord (line 62) | public static String send4LetterWord(String host, int port, String cmd... method main (line 98) | public static void main(String[] args) FILE: src/java/main/org/apache/zookeeper/client/HostProvider.java type HostProvider (line 44) | @InterfaceAudience.Public method size (line 46) | public int size(); method next (line 56) | public InetSocketAddress next(long spinDelay); method onConnected (line 63) | public void onConnected(); FILE: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java class StaticHostProvider (line 38) | @InterfaceAudience.Public method StaticHostProvider (line 58) | public StaticHostProvider(Collection serverAddresse... method size (line 94) | public int size() { method next (line 98) | public InetSocketAddress next(long spinDelay) { method onConnected (line 117) | public void onConnected() { FILE: src/java/main/org/apache/zookeeper/client/ZooKeeperSaslClient.java class ZooKeeperSaslClient (line 50) | public class ZooKeeperSaslClient { method isEnabled (line 64) | public static boolean isEnabled() { type SaslState (line 75) | public enum SaslState { method getSaslState (line 85) | public SaslState getSaslState() { method getLoginContext (line 89) | public String getLoginContext() { method ZooKeeperSaslClient (line 95) | public ZooKeeperSaslClient(final String serverPrincipal) method getConfigStatus (line 170) | public String getConfigStatus() { method isComplete (line 174) | public boolean isComplete() { method isFailed (line 178) | public boolean isFailed() { class ServerSaslResponseCallback (line 182) | public static class ServerSaslResponseCallback implements AsyncCallbac... method processResult (line 183) | public void processResult(int rc, String path, Object ctx, byte data... method createSaslClient (line 205) | private SaslClient createSaslClient(final String servicePrincipal, method respondToServer (line 234) | public void respondToServer(byte[] serverToken, ClientCnxn cnxn) { method createSaslToken (line 270) | private byte[] createSaslToken() throws SaslException { method createSaslToken (line 275) | private byte[] createSaslToken(final byte[] saslToken) throws SaslExce... method sendSaslPacket (line 320) | private void sendSaslPacket(byte[] saslToken, ClientCnxn cnxn) method sendSaslPacket (line 339) | private void sendSaslPacket(ClientCnxn cnxn) throws SaslException { method getKeeperState (line 357) | public KeeperState getKeeperState() { method initialize (line 375) | public void initialize(ClientCnxn cnxn) throws SaslException { method clientTunneledAuthenticationInProgress (line 392) | public boolean clientTunneledAuthenticationInProgress() { FILE: src/java/main/org/apache/zookeeper/common/AtomicFileOutputStream.java class AtomicFileOutputStream (line 46) | public class AtomicFileOutputStream extends FilterOutputStream { method AtomicFileOutputStream (line 55) | public AtomicFileOutputStream(File f) throws FileNotFoundException { method write (line 72) | @Override method close (line 77) | @Override method abort (line 116) | public void abort() { FILE: src/java/main/org/apache/zookeeper/common/IOUtils.java class IOUtils (line 33) | public class IOUtils { method closeStream (line 41) | public static void closeStream(Closeable stream) { method cleanup (line 54) | public static void cleanup(Logger log, Closeable... closeables) { method copyBytes (line 81) | public static void copyBytes(InputStream in, OutputStream out, method copyBytes (line 109) | public static void copyBytes(InputStream in, OutputStream out, int buf... FILE: src/java/main/org/apache/zookeeper/common/PathTrie.java class PathTrie (line 43) | public class PathTrie { class TrieNode (line 54) | static class TrieNode { method TrieNode (line 63) | private TrieNode(TrieNode parent) { method getParent (line 72) | TrieNode getParent() { method setParent (line 80) | void setParent(TrieNode parent) { method setProperty (line 89) | void setProperty(boolean prop) { method getProperty (line 98) | boolean getProperty() { method addChild (line 106) | void addChild(String childName, TrieNode node) { method deleteChild (line 120) | void deleteChild(String childName) { method getChild (line 145) | TrieNode getChild(String childName) { method getChildren (line 162) | String[] getChildren() { method toString (line 172) | public String toString() { method PathTrie (line 188) | public PathTrie() { method addPath (line 196) | public void addPath(String path) { method deletePath (line 220) | public void deletePath(String path) { method findMaxPrefix (line 248) | public String findMaxPrefix(String path) { method clear (line 288) | public void clear() { FILE: src/java/main/org/apache/zookeeper/common/PathUtils.java class PathUtils (line 25) | public class PathUtils { method validatePath (line 33) | public static void validatePath(String path, boolean isSequential) method validatePath (line 43) | public static void validatePath(String path) throws IllegalArgumentExc... FILE: src/java/main/org/apache/zookeeper/common/Time.java class Time (line 23) | public class Time { method currentElapsedTime (line 32) | public static long currentElapsedTime() { method currentWallTime (line 40) | public static long currentWallTime() { method elapsedTimeToDate (line 48) | public static Date elapsedTimeToDate(long elapsedTime) { FILE: src/java/main/org/apache/zookeeper/jmx/CommonNames.java class CommonNames (line 25) | public class CommonNames { FILE: src/java/main/org/apache/zookeeper/jmx/MBeanRegistry.java class MBeanRegistry (line 40) | public class MBeanRegistry { method setInstance (line 53) | public static void setInstance(MBeanRegistry instance) { method getInstance (line 57) | public static MBeanRegistry getInstance() { method MBeanRegistry (line 61) | public MBeanRegistry () { method getPlatformMBeanServer (line 76) | public MBeanServer getPlatformMBeanServer() { method register (line 86) | public void register(ZKMBeanInfo bean, ZKMBeanInfo parent) method unregister (line 114) | private void unregister(String path,ZKMBeanInfo bean) throws JMExcepti... method unregister (line 131) | public void unregister(ZKMBeanInfo bean) { method unregisterAll (line 146) | public void unregisterAll() { method makeFullPath (line 163) | public String makeFullPath(String prefix, String... name) { method makeFullPath (line 177) | protected String makeFullPath(String prefix, ZKMBeanInfo bean) { method tokenize (line 185) | private int tokenize(StringBuilder sb, String path, int index){ method makeObjectName (line 201) | protected ObjectName makeObjectName(String path, ZKMBeanInfo bean) FILE: src/java/main/org/apache/zookeeper/jmx/ManagedUtil.java class ManagedUtil (line 35) | public class ManagedUtil { method registerLog4jMBeans (line 42) | @SuppressWarnings("rawtypes") FILE: src/java/main/org/apache/zookeeper/jmx/ZKMBeanInfo.java type ZKMBeanInfo (line 25) | public interface ZKMBeanInfo { method getName (line 29) | public String getName(); method isHidden (line 35) | public boolean isHidden(); FILE: src/java/main/org/apache/zookeeper/server/ByteBufferInputStream.java class ByteBufferInputStream (line 28) | public class ByteBufferInputStream extends InputStream { method ByteBufferInputStream (line 31) | public ByteBufferInputStream(ByteBuffer bb) { method read (line 35) | @Override method available (line 43) | @Override method read (line 48) | @Override method read (line 60) | @Override method skip (line 65) | @Override method byteBuffer2Record (line 75) | static public void byteBuffer2Record(ByteBuffer bb, Record record) FILE: src/java/main/org/apache/zookeeper/server/ByteBufferOutputStream.java class ByteBufferOutputStream (line 29) | public class ByteBufferOutputStream extends OutputStream { method ByteBufferOutputStream (line 31) | public ByteBufferOutputStream(ByteBuffer bb) { method write (line 34) | @Override method write (line 38) | @Override method write (line 42) | @Override method record2ByteBuffer (line 46) | static public void record2ByteBuffer(Record record, ByteBuffer bb) FILE: src/java/main/org/apache/zookeeper/server/ConnectionBean.java class ConnectionBean (line 37) | public class ConnectionBean implements ConnectionMXBean, ZKMBeanInfo { method ConnectionBean (line 48) | public ConnectionBean(ServerCnxn connection,ZooKeeperServer zk){ method getSessionId (line 67) | public String getSessionId() { method getSourceIP (line 71) | public String getSourceIP() { method getName (line 80) | public String getName() { method isHidden (line 85) | public boolean isHidden() { method getEphemeralNodes (line 89) | public String[] getEphemeralNodes() { method getStartedTime (line 99) | public String getStartedTime() { method terminateSession (line 103) | public void terminateSession() { method terminateConnection (line 112) | public void terminateConnection() { method resetCounters (line 116) | public void resetCounters() { method toString (line 120) | @Override method getOutstandingRequests (line 126) | public long getOutstandingRequests() { method getPacketsReceived (line 130) | public long getPacketsReceived() { method getPacketsSent (line 134) | public long getPacketsSent() { method getSessionTimeout (line 138) | public int getSessionTimeout() { method getMinLatency (line 142) | public long getMinLatency() { method getAvgLatency (line 146) | public long getAvgLatency() { method getMaxLatency (line 150) | public long getMaxLatency() { method getLastOperation (line 154) | public String getLastOperation() { method getLastCxid (line 158) | public String getLastCxid() { method getLastZxid (line 162) | public String getLastZxid() { method getLastResponseTime (line 166) | public String getLastResponseTime() { method getLastLatency (line 170) | public long getLastLatency() { FILE: src/java/main/org/apache/zookeeper/server/ConnectionMXBean.java type ConnectionMXBean (line 24) | public interface ConnectionMXBean { method getSourceIP (line 28) | public String getSourceIP(); method getSessionId (line 32) | public String getSessionId(); method getStartedTime (line 36) | public String getStartedTime(); method getEphemeralNodes (line 40) | public String[] getEphemeralNodes(); method getPacketsReceived (line 44) | public long getPacketsReceived(); method getPacketsSent (line 48) | public long getPacketsSent(); method getOutstandingRequests (line 52) | public long getOutstandingRequests(); method getSessionTimeout (line 56) | public int getSessionTimeout(); method terminateSession (line 62) | public void terminateSession(); method terminateConnection (line 67) | public void terminateConnection(); method getMinLatency (line 72) | long getMinLatency(); method getAvgLatency (line 75) | long getAvgLatency(); method getMaxLatency (line 78) | long getMaxLatency(); method getLastOperation (line 81) | String getLastOperation(); method getLastCxid (line 84) | String getLastCxid(); method getLastZxid (line 87) | String getLastZxid(); method getLastResponseTime (line 90) | String getLastResponseTime(); method getLastLatency (line 93) | long getLastLatency(); method resetCounters (line 97) | void resetCounters(); FILE: src/java/main/org/apache/zookeeper/server/DataNode.java class DataNode (line 39) | public class DataNode implements Record { method DataNode (line 68) | DataNode() { method DataNode (line 84) | public DataNode(DataNode parent, byte data[], Long acl, StatPersisted ... method addChild (line 98) | public synchronized boolean addChild(String child) { method removeChild (line 112) | public synchronized boolean removeChild(String child) { method setChildren (line 124) | public synchronized void setChildren(HashSet children) { method getChildren (line 133) | public synchronized Set getChildren() { method copyStat (line 141) | synchronized public void copyStat(Stat to) { method deserialize (line 162) | synchronized public void deserialize(InputArchive archive, String tag) method serialize (line 172) | synchronized public void serialize(OutputArchive archive, String tag) FILE: src/java/main/org/apache/zookeeper/server/DataTree.java class DataTree (line 72) | public class DataTree { method getEphemerals (line 118) | @SuppressWarnings("unchecked") method getEphemeralsMap (line 131) | public Map> getEphemeralsMap() { method getSessions (line 136) | public Collection getSessions() { method addDataNode (line 149) | public void addDataNode(String path, DataNode node) { method getNode (line 153) | public DataNode getNode(String path) { method getNodeCount (line 157) | public int getNodeCount() { method getWatchCount (line 161) | public int getWatchCount() { method getEphemeralsCount (line 165) | public int getEphemeralsCount() { method approximateDataSize (line 179) | public long approximateDataSize() { method DataTree (line 212) | public DataTree() { method isSpecialPath (line 232) | boolean isSpecialPath(String path) { method copyStatPersisted (line 240) | static public void copyStatPersisted(StatPersisted from, StatPersisted... method copyStat (line 252) | static public void copyStat(Stat from, Stat to) { method updateCount (line 274) | public void updateCount(String lastPrefix, int diff) { method updateBytes (line 318) | public void updateBytes(String lastPrefix, long diff) { method createNode (line 366) | public String createNode(String path, byte data[], List acl, method deleteNode (line 448) | public void deleteNode(String path, long zxid) method setData (line 512) | public Stat setData(String path, byte data[], int version, long zxid, method getMaxPrefixWithQuota (line 544) | public String getMaxPrefixWithQuota(String path) { method getData (line 558) | public byte[] getData(String path, Stat stat, Watcher watcher) method statNode (line 573) | public Stat statNode(String path, Watcher watcher) method getChildren (line 589) | public List getChildren(String path, Stat stat, Watcher watcher) method setACL (line 608) | public Stat setACL(String path, List acl, int version) method getACL (line 624) | @SuppressWarnings("unchecked") method getACL (line 637) | public List getACL(DataNode node) { method getACL (line 643) | public Long getACL(DataNodeV1 oldDataNode) { method aclCacheSize (line 649) | public int aclCacheSize() { class ProcessTxnResult (line 653) | static public class ProcessTxnResult { method equals (line 676) | @Override method hashCode (line 691) | @Override method processTxn (line 700) | public ProcessTxnResult processTxn(TxnHeader header, Record txn) method killSession (line 879) | void killSession(long session, long zxid) { class Counts (line 909) | private static class Counts { method getCounts (line 922) | private void getCounts(String path, Counts counts) { method updateQuotaForPath (line 948) | private void updateQuotaForPath(String path) { method traverseNode (line 971) | private void traverseNode(String path) { method setupQuota (line 1002) | private void setupQuota() { method serializeNode (line 1022) | void serializeNode(OutputArchive oa, StringBuilder path) throws IOExce... method serialize (line 1058) | public void serialize(OutputArchive oa, String tag) throws IOException { method deserialize (line 1069) | public void deserialize(InputArchive ia, String tag) throws IOException { method dumpWatchesSummary (line 1118) | public synchronized void dumpWatchesSummary(PrintWriter pwriter) { method dumpWatches (line 1127) | public synchronized void dumpWatches(PrintWriter pwriter, boolean byPa... method dumpEphemerals (line 1135) | public void dumpEphemerals(PrintWriter pwriter) { method removeCnxn (line 1153) | public void removeCnxn(Watcher watcher) { method clear (line 1158) | public void clear() { method setWatches (line 1164) | public void setWatches(long relativeZxid, List dataWatches, method setCversionPzxid (line 1218) | public void setCversionPzxid(String path, int newCversion, long zxid) FILE: src/java/main/org/apache/zookeeper/server/DataTreeBean.java class DataTreeBean (line 26) | public class DataTreeBean implements DataTreeMXBean, ZKMBeanInfo { method DataTreeBean (line 29) | public DataTreeBean(org.apache.zookeeper.server.DataTree dataTree){ method getNodeCount (line 33) | public int getNodeCount() { method approximateDataSize (line 37) | public long approximateDataSize() { method countEphemerals (line 41) | public int countEphemerals() { method getWatchCount (line 45) | public int getWatchCount() { method getName (line 49) | public String getName() { method isHidden (line 53) | public boolean isHidden() { method getLastZxid (line 57) | public String getLastZxid() { FILE: src/java/main/org/apache/zookeeper/server/DataTreeMXBean.java type DataTreeMXBean (line 24) | public interface DataTreeMXBean { method getNodeCount (line 28) | public int getNodeCount(); method getLastZxid (line 32) | public String getLastZxid(); method getWatchCount (line 36) | public int getWatchCount(); method approximateDataSize (line 42) | public long approximateDataSize(); method countEphemerals (line 46) | public int countEphemerals(); FILE: src/java/main/org/apache/zookeeper/server/DatadirCleanupManager.java class DatadirCleanupManager (line 36) | public class DatadirCleanupManager { type PurgeTaskStatus (line 43) | public enum PurgeTaskStatus { method DatadirCleanupManager (line 72) | public DatadirCleanupManager(String snapDir, String dataLogDir, int sn... method start (line 94) | public void start() { method shutdown (line 115) | public void shutdown() { class PurgeTask (line 125) | static class PurgeTask extends TimerTask { method PurgeTask (line 130) | public PurgeTask(String dataDir, String snapDir, int count) { method run (line 136) | @Override method getPurgeTaskStatus (line 153) | public PurgeTaskStatus getPurgeTaskStatus() { method getSnapDir (line 162) | public String getSnapDir() { method getDataLogDir (line 171) | public String getDataLogDir() { method getPurgeInterval (line 180) | public int getPurgeInterval() { method getSnapRetainCount (line 189) | public int getSnapRetainCount() { FILE: src/java/main/org/apache/zookeeper/server/ExitCode.java class ExitCode (line 23) | public class ExitCode { FILE: src/java/main/org/apache/zookeeper/server/FinalRequestProcessor.java class FinalRequestProcessor (line 78) | public class FinalRequestProcessor implements RequestProcessor { method FinalRequestProcessor (line 83) | public FinalRequestProcessor(ZooKeeperServer zks) { method processRequest (line 87) | public void processRequest(Request request) { method shutdown (line 401) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/LogFormatter.java class LogFormatter (line 41) | @InterfaceAudience.Public method main (line 48) | public static void main(String[] args) throws Exception { FILE: src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java class NIOServerCnxn (line 58) | public class NIOServerCnxn extends ServerCnxn { method NIOServerCnxn (line 93) | public NIOServerCnxn(ZooKeeperServer zk, SocketChannel sock, method sendCloseSession (line 118) | public void sendCloseSession() { method sendBufferSync (line 127) | void sendBufferSync(ByteBuffer bb) { method sendBuffer (line 145) | public void sendBuffer(ByteBuffer bb) { method internalSendBuffer (line 160) | protected void internalSendBuffer(ByteBuffer bb) { method readPayload (line 194) | private void readPayload() throws IOException, InterruptedException { method isSocketOpen (line 221) | protected boolean isSocketOpen() { method getSocketAddress (line 225) | @Override method doIO (line 237) | void doIO(SelectionKey k) throws InterruptedException { method readRequest (line 392) | private void readRequest() throws IOException { method incrOutstandingRequests (line 396) | protected void incrOutstandingRequests(RequestHeader h) { method disableRecv (line 418) | public void disableRecv() { method enableRecv (line 422) | public void enableRecv() { method readConnectRequest (line 434) | private void readConnectRequest() throws IOException, InterruptedExcep... method cleanupWriterSocket (line 449) | private void cleanupWriterSocket(PrintWriter pwriter) { class SendBufferWriter (line 472) | private class SendBufferWriter extends Writer { method checkFlush (line 479) | private void checkFlush(boolean force) { method close (line 487) | @Override method flush (line 494) | @Override method write (line 499) | @Override class CommandThread (line 515) | private abstract class CommandThread extends Thread { method CommandThread (line 518) | CommandThread(PrintWriter pw) { method run (line 522) | public void run() { method commandRun (line 532) | public abstract void commandRun() throws IOException; class RuokCommand (line 535) | private class RuokCommand extends CommandThread { method RuokCommand (line 536) | public RuokCommand(PrintWriter pw) { method commandRun (line 540) | @Override class TraceMaskCommand (line 547) | private class TraceMaskCommand extends CommandThread { method TraceMaskCommand (line 548) | TraceMaskCommand(PrintWriter pw) { method commandRun (line 552) | @Override class SetTraceMaskCommand (line 559) | private class SetTraceMaskCommand extends CommandThread { method SetTraceMaskCommand (line 561) | SetTraceMaskCommand(PrintWriter pw, long trace) { method commandRun (line 566) | @Override class EnvCommand (line 572) | private class EnvCommand extends CommandThread { method EnvCommand (line 573) | EnvCommand(PrintWriter pw) { method commandRun (line 577) | @Override class ConfCommand (line 591) | private class ConfCommand extends CommandThread { method ConfCommand (line 592) | ConfCommand(PrintWriter pw) { method commandRun (line 596) | @Override class StatResetCommand (line 606) | private class StatResetCommand extends CommandThread { method StatResetCommand (line 607) | public StatResetCommand(PrintWriter pw) { method commandRun (line 611) | @Override class CnxnStatResetCommand (line 623) | private class CnxnStatResetCommand extends CommandThread { method CnxnStatResetCommand (line 624) | public CnxnStatResetCommand(PrintWriter pw) { method commandRun (line 628) | @Override class DumpCommand (line 643) | private class DumpCommand extends CommandThread { method DumpCommand (line 644) | public DumpCommand(PrintWriter pw) { method commandRun (line 648) | @Override class StatCommand (line 662) | private class StatCommand extends CommandThread { method StatCommand (line 664) | public StatCommand(PrintWriter pw, int len) { method commandRun (line 669) | @SuppressWarnings("unchecked") class ConsCommand (line 706) | private class ConsCommand extends CommandThread { method ConsCommand (line 707) | public ConsCommand(PrintWriter pw) { method commandRun (line 711) | @SuppressWarnings("unchecked") class WatchCommand (line 732) | private class WatchCommand extends CommandThread { method WatchCommand (line 734) | public WatchCommand(PrintWriter pw, int len) { method commandRun (line 739) | @Override class MonitorCommand (line 757) | private class MonitorCommand extends CommandThread { method MonitorCommand (line 759) | MonitorCommand(PrintWriter pw) { method commandRun (line 763) | @Override method print (line 806) | private void print(String key, long number) { method print (line 810) | private void print(String key, String value) { class IsroCommand (line 819) | private class IsroCommand extends CommandThread { method IsroCommand (line 821) | public IsroCommand(PrintWriter pw) { method commandRun (line 825) | @Override class NopCommand (line 837) | private class NopCommand extends CommandThread { method NopCommand (line 840) | public NopCommand(PrintWriter pw, String msg) { method commandRun (line 845) | @Override method checkFourLetterWord (line 852) | private boolean checkFourLetterWord(final SelectionKey k, final int len) method readLength (line 967) | private boolean readLength(SelectionKey k) throws IOException { method getOutstandingRequests (line 983) | public long getOutstandingRequests() { method getSessionTimeout (line 996) | public int getSessionTimeout() { method toString (line 1000) | @Override method close (line 1010) | @Override method closeSock (line 1035) | private void closeSock() { method sendResponse (line 1095) | @Override method process (line 1138) | @Override method getSessionId (line 1159) | @Override method setSessionId (line 1164) | @Override method setSessionTimeout (line 1170) | @Override method getInterestOps (line 1175) | @Override method getRemoteSocketAddress (line 1180) | @Override method serverStats (line 1188) | @Override method isZKServerRunning (line 1199) | boolean isZKServerRunning() { FILE: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java class NIOServerCnxnFactory (line 38) | public class NIOServerCnxnFactory extends ServerCnxnFactory implements R... method NIOServerCnxnFactory (line 76) | public NIOServerCnxnFactory() throws IOException { method configure (line 80) | @Override method getMaxClientCnxnsPerHost (line 96) | public int getMaxClientCnxnsPerHost() { method setMaxClientCnxnsPerHost (line 101) | public void setMaxClientCnxnsPerHost(int max) { method start (line 105) | @Override method startup (line 113) | @Override method getLocalAddress (line 122) | @Override method getLocalPort (line 127) | @Override method addCnxn (line 132) | private void addCnxn(NIOServerCnxn cnxn) { method removeCnxn (line 154) | public void removeCnxn(NIOServerCnxn cnxn) { method createConnection (line 177) | protected NIOServerCnxn createConnection(SocketChannel sock, method getClientCnxnCount (line 182) | private int getClientCnxnCount(InetAddress cl) { method run (line 193) | public void run() { method closeAll (line 249) | @Override method shutdown (line 269) | public void shutdown() { method closeSession (line 293) | @Override method closeSessionWithoutWakeup (line 299) | @SuppressWarnings("unchecked") method join (line 311) | @Override method getConnections (line 316) | @Override FILE: src/java/main/org/apache/zookeeper/server/NettyServerCnxn.java class NettyServerCnxn (line 58) | public class NettyServerCnxn extends ServerCnxn { method NettyServerCnxn (line 78) | NettyServerCnxn(Channel channel, ZooKeeperServer zks, NettyServerCnxnF... method close (line 87) | @Override method getSessionId (line 106) | @Override method getSessionTimeout (line 111) | @Override method process (line 116) | @Override class ResumeMessageEvent (line 140) | static class ResumeMessageEvent implements MessageEvent { method ResumeMessageEvent (line 142) | ResumeMessageEvent(Channel channel) { method getMessage (line 145) | @Override method getRemoteAddress (line 147) | @Override method getChannel (line 149) | @Override method getFuture (line 151) | @Override method sendResponse (line 155) | @Override method setSessionId (line 186) | @Override method enableRecv (line 192) | @Override method sendBuffer (line 203) | @Override method getSocketAddress (line 213) | @Override method cleanupWriterSocket (line 229) | private void cleanupWriterSocket(PrintWriter pwriter) { class SendBufferWriter (line 252) | private class SendBufferWriter extends Writer { method checkFlush (line 259) | private void checkFlush(boolean force) { method close (line 267) | @Override method flush (line 274) | @Override method write (line 279) | @Override class CommandThread (line 295) | private abstract class CommandThread /*extends Thread*/ { method CommandThread (line 298) | CommandThread(PrintWriter pw) { method start (line 302) | public void start() { method run (line 306) | public void run() { method commandRun (line 316) | public abstract void commandRun() throws IOException; class RuokCommand (line 319) | private class RuokCommand extends CommandThread { method RuokCommand (line 320) | public RuokCommand(PrintWriter pw) { method commandRun (line 324) | @Override class TraceMaskCommand (line 331) | private class TraceMaskCommand extends CommandThread { method TraceMaskCommand (line 332) | TraceMaskCommand(PrintWriter pw) { method commandRun (line 336) | @Override class SetTraceMaskCommand (line 343) | private class SetTraceMaskCommand extends CommandThread { method SetTraceMaskCommand (line 345) | SetTraceMaskCommand(PrintWriter pw, long trace) { method commandRun (line 350) | @Override class EnvCommand (line 356) | private class EnvCommand extends CommandThread { method EnvCommand (line 357) | EnvCommand(PrintWriter pw) { method commandRun (line 361) | @Override class ConfCommand (line 375) | private class ConfCommand extends CommandThread { method ConfCommand (line 376) | ConfCommand(PrintWriter pw) { method commandRun (line 380) | @Override class StatResetCommand (line 390) | private class StatResetCommand extends CommandThread { method StatResetCommand (line 391) | public StatResetCommand(PrintWriter pw) { method commandRun (line 395) | @Override class CnxnStatResetCommand (line 407) | private class CnxnStatResetCommand extends CommandThread { method CnxnStatResetCommand (line 408) | public CnxnStatResetCommand(PrintWriter pw) { method commandRun (line 412) | @Override class DumpCommand (line 427) | private class DumpCommand extends CommandThread { method DumpCommand (line 428) | public DumpCommand(PrintWriter pw) { method commandRun (line 432) | @Override class StatCommand (line 446) | private class StatCommand extends CommandThread { method StatCommand (line 448) | public StatCommand(PrintWriter pw, int len) { method commandRun (line 453) | @Override class ConsCommand (line 488) | private class ConsCommand extends CommandThread { method ConsCommand (line 489) | public ConsCommand(PrintWriter pw) { method commandRun (line 493) | @Override class WatchCommand (line 513) | private class WatchCommand extends CommandThread { method WatchCommand (line 515) | public WatchCommand(PrintWriter pw, int len) { method commandRun (line 520) | @Override class MonitorCommand (line 538) | private class MonitorCommand extends CommandThread { method MonitorCommand (line 540) | MonitorCommand(PrintWriter pw) { method commandRun (line 544) | @Override method print (line 587) | private void print(String key, long number) { method print (line 591) | private void print(String key, String value) { class IsroCommand (line 600) | private class IsroCommand extends CommandThread { method IsroCommand (line 602) | public IsroCommand(PrintWriter pw) { method commandRun (line 606) | @Override class NopCommand (line 618) | private class NopCommand extends CommandThread { method NopCommand (line 621) | public NopCommand(PrintWriter pw, String msg) { method commandRun (line 626) | @Override method checkFourLetterWord (line 633) | private boolean checkFourLetterWord(final Channel channel, method receiveMessage (line 720) | public void receiveMessage(ChannelBuffer message) { method disableRecv (line 828) | @Override method disableRecvNoWait (line 833) | private ChannelFuture disableRecvNoWait() { method getOutstandingRequests (line 841) | @Override method setSessionTimeout (line 846) | @Override method getInterestOps (line 851) | @Override method getRemoteSocketAddress (line 856) | @Override method sendCloseSession (line 863) | @Override method serverStats (line 868) | @Override method isZKServerRunning (line 879) | boolean isZKServerRunning() { FILE: src/java/main/org/apache/zookeeper/server/NettyServerCnxnFactory.java class NettyServerCnxnFactory (line 48) | public class NettyServerCnxnFactory extends ServerCnxnFactory { class CnxnChannelHandler (line 64) | @Sharable method channelClosed (line 67) | @Override method channelConnected (line 77) | @Override method channelDisconnected (line 91) | @Override method exceptionCaught (line 107) | @Override method messageReceived (line 121) | @Override method processMessage (line 143) | private void processMessage(MessageEvent e, NettyServerCnxn cnxn) { method writeComplete (line 232) | @Override method NettyServerCnxnFactory (line 245) | NettyServerCnxnFactory() { method closeAll (line 260) | @Override method closeSession (line 285) | @Override method configure (line 301) | @Override method getMaxClientCnxnsPerHost (line 311) | public int getMaxClientCnxnsPerHost() { method setMaxClientCnxnsPerHost (line 316) | public void setMaxClientCnxnsPerHost(int max) { method getLocalPort (line 320) | @Override method join (line 326) | @Override method shutdown (line 335) | @Override method start (line 358) | @Override method startup (line 364) | @Override method getConnections (line 373) | @Override method getLocalAddress (line 378) | @Override method addCnxn (line 383) | private void addCnxn(NettyServerCnxn cnxn) { method removeCnxn (line 400) | public void removeCnxn(ServerCnxn cnxn) { FILE: src/java/main/org/apache/zookeeper/server/ObserverBean.java class ObserverBean (line 28) | public class ObserverBean extends ZooKeeperServerBean implements Observe... method ObserverBean (line 32) | public ObserverBean(Observer observer, ZooKeeperServer zks) { method getName (line 37) | public String getName() { method getPendingRevalidationCount (line 41) | public int getPendingRevalidationCount() { method getQuorumAddress (line 45) | public String getQuorumAddress() { FILE: src/java/main/org/apache/zookeeper/server/PrepRequestProcessor.java class PrepRequestProcessor (line 80) | public class PrepRequestProcessor extends ZooKeeperCriticalThread implem... method PrepRequestProcessor (line 104) | public PrepRequestProcessor(ZooKeeperServer zks, method setFailCreate (line 116) | public static void setFailCreate(boolean b) { method run (line 119) | @Override method getRecordForPath (line 147) | ChangeRecord getRecordForPath(String path) throws KeeperException.NoNo... method getOutstandingChange (line 169) | private ChangeRecord getOutstandingChange(String path) { method addChangeRecord (line 175) | void addChangeRecord(ChangeRecord c) { method getPendingChanges (line 192) | HashMap getPendingChanges(MultiTransactionRecord... method rollbackPendingChanges (line 236) | void rollbackPendingChanges(long zxid, HashMappe... method checkACL (line 273) | static void checkACL(ZooKeeperServer zks, List acl, int perm, method pRequest2Txn (line 317) | @SuppressWarnings("unchecked") method validatePath (line 513) | private void validatePath(String path, long sessionId) throws BadArgum... method pRequest (line 529) | @SuppressWarnings("unchecked") method removeDuplicates (line 684) | private List removeDuplicates(List acl) { method fixupACL (line 707) | private boolean fixupACL(List authInfo, List acl) { method processRequest (line 763) | public void processRequest(Request request) { method shutdown (line 768) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/PurgeTxnLog.java class PurgeTxnLog (line 45) | @InterfaceAudience.Public method printUsage (line 51) | static void printUsage(){ method purge (line 74) | public static void purge(File dataDir, File snapDir, int num) throws I... method purgeOlderSnapshots (line 89) | static void purgeOlderSnapshots(FileTxnSnapLog txnLog, File snapShot) { method main (line 171) | public static void main(String[] args) throws IOException { method validateAndGetFile (line 199) | private static File validateAndGetFile(String path) { method validateAndGetCount (line 216) | private static int validateAndGetCount(String number) { method printUsageThenExit (line 232) | private static void printUsageThenExit() { FILE: src/java/main/org/apache/zookeeper/server/ReferenceCountedACLCache.java class ReferenceCountedACLCache (line 38) | public class ReferenceCountedACLCache { method convertAcls (line 62) | public synchronized Long convertAcls(List acls) { method convertLong (line 85) | public synchronized List convertLong(Long longVal) { method incrementIndex (line 98) | private long incrementIndex() { method deserialize (line 102) | public synchronized void deserialize(InputArchive ia) throws IOExcepti... method serialize (line 125) | public synchronized void serialize(OutputArchive oa) throws IOException { method size (line 139) | public int size() { method clear (line 143) | private void clear() { method addUsage (line 149) | public synchronized void addUsage(Long acl) { method removeUsage (line 167) | public synchronized void removeUsage(Long acl) { method purgeUnused (line 185) | public synchronized void purgeUnused() { class AtomicLongWithEquals (line 198) | private static class AtomicLongWithEquals extends AtomicLong { method AtomicLongWithEquals (line 202) | public AtomicLongWithEquals(long i) { method equals (line 206) | @Override method equals (line 214) | public boolean equals(AtomicLongWithEquals that) { method hashCode (line 218) | @Override FILE: src/java/main/org/apache/zookeeper/server/Request.java class Request (line 38) | public class Request { method Request (line 51) | public Request(ServerCnxn cnxn, long sessionId, int xid, int type, method getOwner (line 85) | public Object getOwner() { method setOwner (line 89) | public void setOwner(Object owner) { method isValid (line 100) | static boolean isValid(int type) { method isQuorum (line 127) | static boolean isQuorum(int type) { method op2String (line 150) | static String op2String(int op) { method toString (line 193) | @Override method setException (line 235) | public void setException(KeeperException e) { method getException (line 239) | public KeeperException getException() { FILE: src/java/main/org/apache/zookeeper/server/RequestProcessor.java type RequestProcessor (line 33) | public interface RequestProcessor { class RequestProcessorException (line 34) | @SuppressWarnings("serial") method RequestProcessorException (line 36) | public RequestProcessorException(String msg, Throwable t) { method processRequest (line 41) | void processRequest(Request request) throws RequestProcessorException; method shutdown (line 43) | void shutdown(); FILE: src/java/main/org/apache/zookeeper/server/ServerCnxn.java class ServerCnxn (line 52) | public abstract class ServerCnxn implements Stats, Watcher { method getSessionTimeout (line 66) | abstract int getSessionTimeout(); method close (line 68) | abstract void close(); method sendResponse (line 70) | public abstract void sendResponse(ReplyHeader h, Record r, String tag) method sendCloseSession (line 74) | abstract void sendCloseSession(); method process (line 76) | public abstract void process(WatchedEvent event); method getSessionId (line 78) | abstract long getSessionId(); method setSessionId (line 80) | abstract void setSessionId(long sessionId); method getAuthInfo (line 83) | public List getAuthInfo() { method addAuthInfo (line 87) | public void addAuthInfo(Id id) { method removeAuthInfo (line 93) | public boolean removeAuthInfo(Id id) { method sendBuffer (line 97) | abstract void sendBuffer(ByteBuffer closeConn); method enableRecv (line 99) | abstract void enableRecv(); method disableRecv (line 101) | abstract void disableRecv(); method setSessionTimeout (line 103) | abstract void setSessionTimeout(int sessionTimeout); method getSocketAddress (line 108) | public abstract InetAddress getSocketAddress(); class CloseRequestException (line 112) | protected static class CloseRequestException extends IOException { method CloseRequestException (line 115) | public CloseRequestException(String msg) { class EndOfStreamException (line 120) | protected static class EndOfStreamException extends IOException { method EndOfStreamException (line 123) | public EndOfStreamException(String msg) { method toString (line 127) | public String toString() { method resetWhiteList (line 254) | public synchronized static void resetWhiteList() { method getCommandString (line 262) | public static String getCommandString(int command) { method isKnown (line 272) | public static boolean isKnown(int command) { method isEnabled (line 287) | public synchronized static boolean isEnabled(String command) { method packetReceived (line 349) | protected void packetReceived() { method packetSent (line 357) | protected void packetSent() { method serverStats (line 365) | protected abstract ServerStats serverStats(); method resetStats (line 383) | public synchronized void resetStats() { method incrPacketsReceived (line 398) | protected long incrPacketsReceived() { method incrOutstandingRequests (line 402) | protected void incrOutstandingRequests(RequestHeader h) { method incrPacketsSent (line 405) | protected long incrPacketsSent() { method updateStatsForResponse (line 409) | protected synchronized void updateStatsForResponse(long cxid, long zxid, method getEstablished (line 432) | public Date getEstablished() { method getOutstandingRequests (line 436) | public abstract long getOutstandingRequests(); method getPacketsReceived (line 438) | public long getPacketsReceived() { method getPacketsSent (line 442) | public long getPacketsSent() { method getMinLatency (line 446) | public synchronized long getMinLatency() { method getAvgLatency (line 450) | public synchronized long getAvgLatency() { method getMaxLatency (line 454) | public synchronized long getMaxLatency() { method getLastOperation (line 458) | public synchronized String getLastOperation() { method getLastCxid (line 462) | public synchronized long getLastCxid() { method getLastZxid (line 466) | public synchronized long getLastZxid() { method getLastResponseTime (line 470) | public synchronized long getLastResponseTime() { method getLastLatency (line 474) | public synchronized long getLastLatency() { method toString (line 483) | @Override method getRemoteSocketAddress (line 493) | public abstract InetSocketAddress getRemoteSocketAddress(); method getInterestOps (line 494) | public abstract int getInterestOps(); method dumpConnectionInfo (line 501) | protected synchronized void FILE: src/java/main/org/apache/zookeeper/server/ServerCnxnFactory.java class ServerCnxnFactory (line 42) | public abstract class ServerCnxnFactory { type PacketProcessor (line 46) | public interface PacketProcessor { method processPacket (line 47) | public void processPacket(ByteBuffer packet, ServerCnxn src); method getLocalPort (line 61) | public abstract int getLocalPort(); method getConnections (line 63) | public abstract Iterable getConnections(); method getNumAliveConnections (line 65) | public int getNumAliveConnections() { method getZooKeeperServer (line 71) | ZooKeeperServer getZooKeeperServer() { method closeSession (line 75) | public abstract void closeSession(long sessionId); method configure (line 77) | public abstract void configure(InetSocketAddress addr, method getMaxClientCnxnsPerHost (line 84) | public abstract int getMaxClientCnxnsPerHost(); method setMaxClientCnxnsPerHost (line 87) | public abstract void setMaxClientCnxnsPerHost(int max); method startup (line 89) | public abstract void startup(ZooKeeperServer zkServer) method join (line 92) | public abstract void join() throws InterruptedException; method shutdown (line 94) | public abstract void shutdown(); method start (line 96) | public abstract void start(); method setZooKeeperServer (line 99) | final public void setZooKeeperServer(ZooKeeperServer zk) { method closeAll (line 106) | public abstract void closeAll(); method createFactory (line 108) | static public ServerCnxnFactory createFactory() throws IOException { method createFactory (line 127) | static public ServerCnxnFactory createFactory(int clientPort, method createFactory (line 133) | static public ServerCnxnFactory createFactory(InetSocketAddress addr, method getLocalAddress (line 141) | public abstract InetSocketAddress getLocalAddress(); method unregisterConnection (line 147) | public void unregisterConnection(ServerCnxn serverCnxn) { method registerConnection (line 154) | public void registerConnection(ServerCnxn serverCnxn) { method addSession (line 167) | public void addSession(long sessionId, ServerCnxn cnxn) { method configureSaslLogin (line 181) | protected void configureSaslLogin() throws IOException { FILE: src/java/main/org/apache/zookeeper/server/ServerConfig.java class ServerConfig (line 34) | @InterfaceAudience.Public method parse (line 56) | public void parse(String[] args) { method parse (line 78) | public void parse(String path) throws ConfigException { method readFrom (line 91) | public void readFrom(QuorumPeerConfig config) { method getClientPortAddress (line 101) | public InetSocketAddress getClientPortAddress() { method getDataDir (line 104) | public String getDataDir() { return dataDir; } method getDataLogDir (line 105) | public String getDataLogDir() { return dataLogDir; } method getTickTime (line 106) | public int getTickTime() { return tickTime; } method getMaxClientCnxns (line 107) | public int getMaxClientCnxns() { return maxClientCnxns; } method getMinSessionTimeout (line 109) | public int getMinSessionTimeout() { return minSessionTimeout; } method getMaxSessionTimeout (line 111) | public int getMaxSessionTimeout() { return maxSessionTimeout; } FILE: src/java/main/org/apache/zookeeper/server/ServerStats.java class ServerStats (line 28) | public class ServerStats { type Provider (line 38) | public interface Provider { method getOutstandingRequests (line 39) | public long getOutstandingRequests(); method getLastProcessedZxid (line 40) | public long getLastProcessedZxid(); method getState (line 41) | public String getState(); method getNumAliveConnections (line 42) | public int getNumAliveConnections(); method ServerStats (line 45) | public ServerStats(Provider provider) { method getMinLatency (line 50) | synchronized public long getMinLatency() { method getAvgLatency (line 54) | synchronized public long getAvgLatency() { method getMaxLatency (line 61) | synchronized public long getMaxLatency() { method getOutstandingRequests (line 65) | public long getOutstandingRequests() { method getLastProcessedZxid (line 69) | public long getLastProcessedZxid(){ method getPacketsReceived (line 73) | synchronized public long getPacketsReceived() { method getPacketsSent (line 77) | synchronized public long getPacketsSent() { method getServerState (line 81) | public String getServerState() { method getNumAliveClientConnections (line 86) | public int getNumAliveClientConnections() { method toString (line 90) | @Override method updateLatency (line 107) | synchronized void updateLatency(long requestCreateTime) { method resetLatency (line 118) | synchronized public void resetLatency(){ method resetMaxLatency (line 124) | synchronized public void resetMaxLatency(){ method incrementPacketsReceived (line 127) | synchronized public void incrementPacketsReceived() { method incrementPacketsSent (line 130) | synchronized public void incrementPacketsSent() { method resetRequestCounters (line 133) | synchronized public void resetRequestCounters(){ method reset (line 137) | synchronized public void reset() { FILE: src/java/main/org/apache/zookeeper/server/SessionTracker.java type SessionTracker (line 33) | public interface SessionTracker { type Session (line 34) | public static interface Session { method getSessionId (line 35) | long getSessionId(); method getTimeout (line 36) | int getTimeout(); method isClosing (line 37) | boolean isClosing(); type SessionExpirer (line 39) | public static interface SessionExpirer { method expire (line 40) | void expire(Session session); method getServerId (line 42) | long getServerId(); method createSession (line 45) | long createSession(int sessionTimeout); method addSession (line 47) | void addSession(long id, int to); method touchSession (line 54) | boolean touchSession(long sessionId, int sessionTimeout); method setSessionClosing (line 60) | void setSessionClosing(long sessionId); method shutdown (line 65) | void shutdown(); method removeSession (line 70) | void removeSession(long sessionId); method checkSession (line 72) | void checkSession(long sessionId, Object owner) throws KeeperException... method setOwner (line 74) | void setOwner(long id, Object owner) throws SessionExpiredException; method dumpSessions (line 80) | void dumpSessions(PrintWriter pwriter); FILE: src/java/main/org/apache/zookeeper/server/SessionTrackerImpl.java class SessionTrackerImpl (line 43) | public class SessionTrackerImpl extends ZooKeeperCriticalThread implemen... class SessionImpl (line 56) | public static class SessionImpl implements Session { method SessionImpl (line 57) | SessionImpl(long sessionId, int timeout, long expireTime) { method getSessionId (line 71) | public long getSessionId() { return sessionId; } method getTimeout (line 72) | public int getTimeout() { return timeout; } method isClosing (line 73) | public boolean isClosing() { return isClosing; } method initializeNextSession (line 76) | public static long initializeNextSession(long id) { class SessionSet (line 83) | static class SessionSet { method roundToInterval (line 89) | private long roundToInterval(long time) { method SessionTrackerImpl (line 94) | public SessionTrackerImpl(SessionExpirer expirer, method dumpSessions (line 113) | synchronized public void dumpSessions(PrintWriter pwriter) { method toString (line 131) | @Override method run (line 141) | @Override method touchSession (line 166) | synchronized public boolean touchSession(long sessionId, int timeout) { method setSessionClosing (line 197) | synchronized public void setSessionClosing(long sessionId) { method removeSession (line 208) | synchronized public void removeSession(long sessionId) { method shutdown (line 225) | public void shutdown() { method createSession (line 236) | synchronized public long createSession(int sessionTimeout) { method addSession (line 241) | synchronized public void addSession(long id, int sessionTimeout) { method checkSession (line 261) | synchronized public void checkSession(long sessionId, Object owner) th... method setOwner (line 273) | synchronized public void setOwner(long id, Object owner) throws Sessio... FILE: src/java/main/org/apache/zookeeper/server/SnapshotFormatter.java class SnapshotFormatter (line 41) | @InterfaceAudience.Public method main (line 47) | public static void main(String[] args) throws Exception { method run (line 56) | public void run(String snapshotFileName) throws IOException { method printDetails (line 72) | private void printDetails(DataTree dataTree, Map sessio... method printZnodeDetails (line 77) | private void printZnodeDetails(DataTree dataTree) { method printZnode (line 85) | private void printZnode(DataTree dataTree, String name) { method printSessionDetails (line 104) | private void printSessionDetails(DataTree dataTree, Map... method printStat (line 113) | private void printStat(StatPersisted stat) { method printHex (line 125) | private void printHex(String prefix, long value) { FILE: src/java/main/org/apache/zookeeper/server/Stats.java type Stats (line 26) | interface Stats { method getEstablished (line 29) | Date getEstablished(); method getOutstandingRequests (line 35) | long getOutstandingRequests(); method getPacketsReceived (line 37) | long getPacketsReceived(); method getPacketsSent (line 39) | long getPacketsSent(); method getMinLatency (line 42) | long getMinLatency(); method getAvgLatency (line 45) | long getAvgLatency(); method getMaxLatency (line 48) | long getMaxLatency(); method getLastOperation (line 51) | String getLastOperation(); method getLastCxid (line 54) | long getLastCxid(); method getLastZxid (line 57) | long getLastZxid(); method getLastResponseTime (line 60) | long getLastResponseTime(); method getLastLatency (line 63) | long getLastLatency(); method resetStats (line 67) | void resetStats(); FILE: src/java/main/org/apache/zookeeper/server/SyncRequestProcessor.java class SyncRequestProcessor (line 47) | public class SyncRequestProcessor extends ZooKeeperCriticalThread implem... method SyncRequestProcessor (line 77) | public SyncRequestProcessor(ZooKeeperServer zks, method setSnapCount (line 91) | public static void setSnapCount(int count) { method getSnapCount (line 100) | public static int getSnapCount() { method setRandRoll (line 112) | private static void setRandRoll(int roll) { method run (line 116) | @Override method flush (line 189) | private void flush(LinkedList toFlush) method shutdown (line 207) | public void shutdown() { method processRequest (line 229) | public void processRequest(Request request) { FILE: src/java/main/org/apache/zookeeper/server/TraceFormatter.java class TraceFormatter (line 30) | public class TraceFormatter { method op2String (line 32) | static String op2String(int op) { method main (line 73) | public static void main(String[] args) throws IOException { FILE: src/java/main/org/apache/zookeeper/server/UnimplementedRequestProcessor.java class UnimplementedRequestProcessor (line 31) | public class UnimplementedRequestProcessor implements RequestProcessor { method processRequest (line 33) | public void processRequest(Request request) throws RequestProcessorExc... method shutdown (line 46) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/WatchManager.java class WatchManager (line 38) | public class WatchManager { method size (line 47) | public synchronized int size(){ method addWatch (line 55) | public synchronized void addWatch(String path, Watcher watcher) { method removeWatcher (line 75) | public synchronized void removeWatcher(Watcher watcher) { method triggerWatch (line 91) | public Set triggerWatch(String path, EventType type) { method triggerWatch (line 95) | public Set triggerWatch(String path, EventType type, Set getCommittedLog() { method getDataTreeLastProcessedZxid (line 176) | public long getDataTreeLastProcessedZxid() { method setDataTreeInit (line 184) | public void setDataTreeInit(boolean b) { method getSessions (line 192) | public Collection getSessions() { method getSessionWithTimeOuts (line 200) | public ConcurrentHashMap getSessionWithTimeOuts() { method onTxnLoaded (line 205) | public void onTxnLoaded(TxnHeader hdr, Record txn){ method loadDataBase (line 216) | public long loadDataBase() throws IOException { method fastForwardDataBase (line 227) | public long fastForwardDataBase() throws IOException { method addCommittedProposal (line 233) | private void addCommittedProposal(TxnHeader hdr, Record txn) { method addCommittedProposal (line 247) | public void addCommittedProposal(Request request) { method aclForNode (line 284) | public List aclForNode(DataNode n) { method removeCnxn (line 291) | public void removeCnxn(ServerCnxn cnxn) { method killSession (line 300) | public void killSession(long sessionId, long zxid) { method dumpEphemerals (line 308) | public void dumpEphemerals(PrintWriter pwriter) { method getNodeCount (line 316) | public int getNodeCount() { method getEphemerals (line 325) | public HashSet getEphemerals(long sessionId) { method setlastProcessedZxid (line 333) | public void setlastProcessedZxid(long zxid) { method processTxn (line 344) | public ProcessTxnResult processTxn(TxnHeader hdr, Record txn) { method statNode (line 355) | public Stat statNode(String path, ServerCnxn serverCnxn) throws Keeper... method getNode (line 364) | public DataNode getNode(String path) { method getData (line 376) | public byte[] getData(String path, Stat stat, Watcher watcher) method setWatches (line 389) | public void setWatches(long relativeZxid, List dataWatches, method getACL (line 401) | public List getACL(String path, Stat stat) throws NoNodeException { method getChildren (line 413) | public List getChildren(String path, Stat stat, Watcher watcher) method isSpecialPath (line 423) | public boolean isSpecialPath(String path) { method getAclSize (line 431) | public int getAclSize() { method truncateLog (line 441) | public boolean truncateLog(long zxid) throws IOException { method deserializeSnapshot (line 460) | public void deserializeSnapshot(InputArchive ia) throws IOException { method serializeSnapshot (line 472) | public void serializeSnapshot(OutputArchive oa) throws IOException, method append (line 482) | public boolean append(Request si) throws IOException { method rollLog (line 489) | public void rollLog() throws IOException { method commit (line 497) | public void commit() throws IOException { method close (line 505) | public void close() throws IOException { FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperCriticalThread.java class ZooKeeperCriticalThread (line 27) | public class ZooKeeperCriticalThread extends ZooKeeperThread { method ZooKeeperCriticalThread (line 32) | public ZooKeeperCriticalThread(String threadName, method handleException (line 47) | @Override FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperSaslServer.java class ZooKeeperSaslServer (line 30) | public class ZooKeeperSaslServer { method ZooKeeperSaslServer (line 37) | ZooKeeperSaslServer(final Login login) { method createSaslServer (line 41) | private SaslServer createSaslServer(final Login login) { method evaluateResponse (line 49) | public byte[] evaluateResponse(byte[] response) throws SaslException { method isComplete (line 53) | public boolean isComplete() { method getAuthorizationID (line 57) | public String getAuthorizationID() { FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java class ZooKeeperServer (line 77) | public class ZooKeeperServer implements SessionExpirer, ServerStats.Prov... type DataTreeBuilder (line 93) | public interface DataTreeBuilder { method build (line 94) | public DataTree build(); class BasicDataTreeBuilder (line 97) | static public class BasicDataTreeBuilder implements DataTreeBuilder { method build (line 98) | public DataTree build() { type State (line 117) | protected enum State { method removeCnxn (line 139) | void removeCnxn(ServerCnxn cnxn) { method ZooKeeperServer (line 150) | public ZooKeeperServer() { method ZooKeeperServer (line 161) | public ZooKeeperServer(FileTxnSnapLog txnLogFactory, int tickTime, method ZooKeeperServer (line 187) | public ZooKeeperServer(FileTxnSnapLog txnLogFactory, int tickTime, method serverStats (line 193) | public ServerStats serverStats() { method dumpConf (line 197) | public void dumpConf(PrintWriter pwriter) { method ZooKeeperServer (line 222) | public ZooKeeperServer(File snapDir, File logDir, int tickTime) method ZooKeeperServer (line 233) | public ZooKeeperServer(FileTxnSnapLog txnLogFactory, method getZKDatabase (line 245) | public ZKDatabase getZKDatabase() { method setZKDatabase (line 253) | public void setZKDatabase(ZKDatabase zkDb) { method loadData (line 260) | public void loadData() throws IOException, InterruptedException { method takeSnapshot (line 300) | public void takeSnapshot(){ method getZxid (line 316) | public long getZxid() { method getNextZxid (line 320) | long getNextZxid() { method setZxid (line 324) | public void setZxid(long zxid) { method close (line 328) | private void close(long sessionId) { method closeSession (line 332) | public void closeSession(long sessionId) { method killSession (line 340) | protected void killSession(long sessionId, long zxid) { method expire (line 352) | public void expire(Session session) { class MissingSessionException (line 359) | public static class MissingSessionException extends IOException { method MissingSessionException (line 362) | public MissingSessionException(String msg) { method touch (line 367) | void touch(ServerCnxn cnxn) throws MissingSessionException { method registerJMX (line 380) | protected void registerJMX() { method startdata (line 399) | public void startdata() method startup (line 410) | public synchronized void startup() { method setupRequestProcessors (line 423) | protected void setupRequestProcessors() { method getZooKeeperServerListener (line 432) | public ZooKeeperServerListener getZooKeeperServerListener() { method createSessionTracker (line 436) | protected void createSessionTracker() { method startSessionTracker (line 441) | protected void startSessionTracker() { method setState (line 462) | protected void setState(State state) { method canShutdown (line 480) | protected boolean canShutdown() { method isRunning (line 484) | public boolean isRunning() { method shutdown (line 488) | public void shutdown() { method shutdown (line 496) | public synchronized void shutdown(boolean fullyShutDown) { method unregisterJMX (line 537) | protected void unregisterJMX() { method incInProcess (line 557) | public void incInProcess() { method decInProcess (line 561) | public void decInProcess() { method getInProcess (line 565) | public int getInProcess() { class ChangeRecord (line 573) | static class ChangeRecord { method ChangeRecord (line 574) | ChangeRecord(long zxid, String path, StatPersisted stat, int childCo... method duplicate (line 593) | @SuppressWarnings("unchecked") method generatePasswd (line 604) | byte[] generatePasswd(long id) { method checkPasswd (line 611) | protected boolean checkPasswd(long sessionId, byte[] passwd) { method createSession (line 616) | long createSession(ServerCnxn cnxn, byte passwd[], int timeout) { method setOwner (line 633) | public void setOwner(long id, Object owner) throws SessionExpiredExcep... method revalidateSession (line 637) | protected void revalidateSession(ServerCnxn cnxn, long sessionId, method reopenSession (line 648) | public void reopenSession(ServerCnxn cnxn, long sessionId, byte[] passwd, method finishSessionInit (line 657) | public void finishSessionInit(ServerCnxn cnxn, boolean valid) { method closeSession (line 707) | public void closeSession(ServerCnxn cnxn, RequestHeader requestHeader) { method getServerId (line 711) | public long getServerId() { method submitRequest (line 721) | private void submitRequest(ServerCnxn cnxn, long sessionId, int type, method submitRequest (line 727) | public void submitRequest(Request si) { method getSnapCount (line 767) | public static int getSnapCount() { method getGlobalOutstandingLimit (line 783) | public int getGlobalOutstandingLimit() { method setServerCnxnFactory (line 794) | public void setServerCnxnFactory(ServerCnxnFactory factory) { method getServerCnxnFactory (line 798) | public ServerCnxnFactory getServerCnxnFactory() { method getLastProcessedZxid (line 806) | public long getLastProcessedZxid() { method getOutstandingRequests (line 815) | public long getOutstandingRequests() { method truncateLog (line 826) | public void truncateLog(long zxid) throws IOException { method getTickTime (line 830) | public int getTickTime() { method setTickTime (line 834) | public void setTickTime(int tickTime) { method getMinSessionTimeout (line 839) | public int getMinSessionTimeout() { method setMinSessionTimeout (line 843) | public void setMinSessionTimeout(int min) { method getMaxSessionTimeout (line 848) | public int getMaxSessionTimeout() { method setMaxSessionTimeout (line 852) | public void setMaxSessionTimeout(int max) { method getClientPort (line 857) | public int getClientPort() { method setTxnLogFactory (line 861) | public void setTxnLogFactory(FileTxnSnapLog txnLog) { method getTxnLogFactory (line 865) | public FileTxnSnapLog getTxnLogFactory() { method getState (line 869) | public String getState() { method dumpEphemerals (line 873) | public void dumpEphemerals(PrintWriter pwriter) { method getNumAliveConnections (line 881) | public int getNumAliveConnections() { method processConnectRequest (line 885) | public void processConnectRequest(ServerCnxn cnxn, ByteBuffer incoming... method shouldThrottle (line 954) | public boolean shouldThrottle(long outStandingCount) { method processPacket (line 961) | public void processPacket(ServerCnxn cnxn, ByteBuffer incomingBuffer) ... method processSasl (line 1029) | private Record processSasl(ByteBuffer incomingBuffer, ServerCnxn cnxn)... method processTxn (line 1071) | public ProcessTxnResult processTxn(TxnHeader hdr, Record txn) { method registerServerShutdownHandler (line 1100) | void registerServerShutdownHandler(ZooKeeperServerShutdownHandler zkSh... FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperServerBean.java class ZooKeeperServerBean (line 31) | public class ZooKeeperServerBean implements ZooKeeperServerMXBean, ZKMBe... method ZooKeeperServerBean (line 37) | public ZooKeeperServerBean(ZooKeeperServer zks) { method getClientPort (line 43) | public String getClientPort() { method getName (line 52) | public String getName() { method isHidden (line 56) | public boolean isHidden() { method getStartTime (line 60) | public String getStartTime() { method getVersion (line 64) | public String getVersion() { method getAvgRequestLatency (line 68) | public long getAvgRequestLatency() { method getMaxRequestLatency (line 72) | public long getMaxRequestLatency() { method getMinRequestLatency (line 76) | public long getMinRequestLatency() { method getOutstandingRequests (line 80) | public long getOutstandingRequests() { method getTickTime (line 84) | public int getTickTime() { method setTickTime (line 88) | public void setTickTime(int tickTime) { method getMaxClientCnxnsPerHost (line 92) | public int getMaxClientCnxnsPerHost() { method setMaxClientCnxnsPerHost (line 100) | public void setMaxClientCnxnsPerHost(int max) { method getMinSessionTimeout (line 105) | public int getMinSessionTimeout() { method setMinSessionTimeout (line 109) | public void setMinSessionTimeout(int min) { method getMaxSessionTimeout (line 113) | public int getMaxSessionTimeout() { method setMaxSessionTimeout (line 117) | public void setMaxSessionTimeout(int max) { method getPacketsReceived (line 122) | public long getPacketsReceived() { method getPacketsSent (line 126) | public long getPacketsSent() { method resetLatency (line 130) | public void resetLatency() { method resetMaxLatency (line 134) | public void resetMaxLatency() { method resetStatistics (line 138) | public void resetStatistics() { method getNumAliveConnections (line 144) | public long getNumAliveConnections() { FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperServerListener.java type ZooKeeperServerListener (line 23) | public interface ZooKeeperServerListener { method notifyStopping (line 34) | void notifyStopping(String threadName, int errorCode); FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperServerListenerImpl.java class ZooKeeperServerListenerImpl (line 30) | class ZooKeeperServerListenerImpl implements ZooKeeperServerListener { method ZooKeeperServerListenerImpl (line 36) | ZooKeeperServerListenerImpl(ZooKeeperServer zkServer) { method notifyStopping (line 40) | @Override FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperServerMXBean.java type ZooKeeperServerMXBean (line 24) | public interface ZooKeeperServerMXBean { method getClientPort (line 28) | public String getClientPort(); method getVersion (line 32) | public String getVersion(); method getStartTime (line 36) | public String getStartTime(); method getMinRequestLatency (line 40) | public long getMinRequestLatency(); method getAvgRequestLatency (line 44) | public long getAvgRequestLatency(); method getMaxRequestLatency (line 48) | public long getMaxRequestLatency(); method getPacketsReceived (line 52) | public long getPacketsReceived(); method getPacketsSent (line 56) | public long getPacketsSent(); method getOutstandingRequests (line 60) | public long getOutstandingRequests(); method getTickTime (line 64) | public int getTickTime(); method setTickTime (line 68) | public void setTickTime(int tickTime); method getMaxClientCnxnsPerHost (line 71) | public int getMaxClientCnxnsPerHost(); method setMaxClientCnxnsPerHost (line 74) | public void setMaxClientCnxnsPerHost(int max); method getMinSessionTimeout (line 79) | public int getMinSessionTimeout(); method setMinSessionTimeout (line 83) | public void setMinSessionTimeout(int min); method getMaxSessionTimeout (line 88) | public int getMaxSessionTimeout(); method setMaxSessionTimeout (line 92) | public void setMaxSessionTimeout(int max); method resetStatistics (line 97) | public void resetStatistics(); method resetLatency (line 101) | public void resetLatency(); method resetMaxLatency (line 105) | public void resetMaxLatency(); method getNumAliveConnections (line 109) | public long getNumAliveConnections(); FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperServerMain.java class ZooKeeperServerMain (line 37) | @InterfaceAudience.Public method main (line 52) | public static void main(String[] args) { method initializeAndRun (line 73) | protected void initializeAndRun(String[] args) method runFromConfig (line 97) | public void runFromConfig(ServerConfig config) throws IOException { method shutdown (line 144) | protected void shutdown() { method getCnxnFactory (line 151) | ServerCnxnFactory getCnxnFactory() { FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperServerShutdownHandler.java class ZooKeeperServerShutdownHandler (line 29) | class ZooKeeperServerShutdownHandler { method ZooKeeperServerShutdownHandler (line 32) | ZooKeeperServerShutdownHandler(CountDownLatch shutdownLatch) { method handle (line 41) | void handle(State state) { FILE: src/java/main/org/apache/zookeeper/server/ZooKeeperThread.java class ZooKeeperThread (line 27) | public class ZooKeeperThread extends Thread { method uncaughtException (line 34) | @Override method ZooKeeperThread (line 40) | public ZooKeeperThread(Runnable thread, String threadName) { method ZooKeeperThread (line 45) | public ZooKeeperThread(String threadName) { method handleException (line 59) | protected void handleException(String thName, Throwable e) { FILE: src/java/main/org/apache/zookeeper/server/ZooTrace.java class ZooTrace (line 32) | public class ZooTrace { method getTextTraceLevel (line 55) | public static long getTextTraceLevel() { method setTextTraceLevel (line 59) | public static void setTextTraceLevel(long mask) { method isTraceEnabled (line 65) | public static boolean isTraceEnabled(Logger log, long mask) { method logTraceMessage (line 69) | public static void logTraceMessage(Logger log, long mask, String msg) { method logQuorumPacket (line 75) | static public void logQuorumPacket(Logger log, long mask, method logRequest (line 84) | static public void logRequest(Logger log, long mask, FILE: src/java/main/org/apache/zookeeper/server/auth/AuthenticationProvider.java type AuthenticationProvider (line 28) | public interface AuthenticationProvider { method getScheme (line 35) | String getScheme(); method handleAuthentication (line 49) | KeeperException.Code handleAuthentication(ServerCnxn cnxn, byte authDa... method matches (line 62) | boolean matches(String id, String aclExpr); method isAuthenticated (line 72) | boolean isAuthenticated(); method isValid (line 81) | boolean isValid(String id); FILE: src/java/main/org/apache/zookeeper/server/auth/DigestAuthenticationProvider.java class DigestAuthenticationProvider (line 30) | public class DigestAuthenticationProvider implements AuthenticationProvi... method getScheme (line 42) | public String getScheme() { method base64Encode (line 46) | static final private String base64Encode(byte b[]) { method encode (line 77) | static final private char encode(int i) { method generateDigest (line 91) | static public String generateDigest(String idPassword) method handleAuthentication (line 99) | public KeeperException.Code method isAuthenticated (line 116) | public boolean isAuthenticated() { method isValid (line 120) | public boolean isValid(String id) { method matches (line 125) | public boolean matches(String id, String aclExpr) { method main (line 134) | public static void main(String args[]) throws NoSuchAlgorithmException { FILE: src/java/main/org/apache/zookeeper/server/auth/DigestLoginModule.java class DigestLoginModule (line 26) | public class DigestLoginModule implements LoginModule { method abort (line 29) | public boolean abort() { method commit (line 33) | public boolean commit() { method initialize (line 37) | public void initialize(Subject subject, CallbackHandler callbackHandle... method logout (line 49) | public boolean logout() { method login (line 53) | public boolean login() { FILE: src/java/main/org/apache/zookeeper/server/auth/IPAuthenticationProvider.java class IPAuthenticationProvider (line 25) | public class IPAuthenticationProvider implements AuthenticationProvider { method getScheme (line 27) | public String getScheme() { method handleAuthentication (line 31) | public KeeperException.Code method addr2Bytes (line 41) | private byte[] addr2Bytes(String addr) { method v4addr2Bytes (line 47) | private byte[] v4addr2Bytes(String addr) { method mask (line 68) | private void mask(byte b[], int bits) { method matches (line 79) | public boolean matches(String id, String aclExpr) { method isAuthenticated (line 110) | public boolean isAuthenticated() { method isValid (line 114) | public boolean isValid(String id) { FILE: src/java/main/org/apache/zookeeper/server/auth/KerberosName.java class KerberosName (line 43) | public class KerberosName { method KerberosName (line 110) | public KerberosName(String name) { method getDefaultRealm (line 131) | public String getDefaultRealm() { method toString (line 138) | @Override method getServiceName (line 157) | public String getServiceName() { method getHostName (line 165) | public String getHostName() { method getRealm (line 173) | public String getRealm() { class Rule (line 180) | private static class Rule { method Rule (line 189) | Rule() { method Rule (line 199) | Rule(int numOfComponents, String format, String match, String fromPa... method toString (line 211) | @Override method replaceParameters (line 250) | static String replaceParameters(String format, method replaceSubstitution (line 287) | static String replaceSubstitution(String base, Pattern from, String to, method apply (line 305) | String apply(String[] params) throws IOException { method parseRules (line 329) | static List parseRules(String rules) { method setConfiguration (line 357) | public static void setConfiguration() throws IOException { class BadFormatString (line 362) | @SuppressWarnings("serial") method BadFormatString (line 364) | BadFormatString(String msg) { method BadFormatString (line 367) | BadFormatString(String msg, Throwable err) { class NoMatchingRule (line 372) | @SuppressWarnings("serial") method NoMatchingRule (line 374) | NoMatchingRule(String msg) { method getShortName (line 385) | public String getShortName() throws IOException { method printRules (line 405) | static void printRules() throws IOException { method main (line 412) | public static void main(String[] args) throws Exception { FILE: src/java/main/org/apache/zookeeper/server/auth/ProviderRegistry.java class ProviderRegistry (line 29) | public class ProviderRegistry { method initialize (line 36) | public static void initialize() { method getProvider (line 64) | public static AuthenticationProvider getProvider(String scheme) { method listProviders (line 70) | public static String listProviders() { FILE: src/java/main/org/apache/zookeeper/server/auth/SASLAuthenticationProvider.java class SASLAuthenticationProvider (line 24) | public class SASLAuthenticationProvider implements AuthenticationProvider { method getScheme (line 26) | public String getScheme() { method handleAuthentication (line 30) | public KeeperException.Code method matches (line 40) | public boolean matches(String id,String aclExpr) { method isAuthenticated (line 47) | public boolean isAuthenticated() { method isValid (line 51) | public boolean isValid(String id) { FILE: src/java/main/org/apache/zookeeper/server/auth/SaslServerCallbackHandler.java class SaslServerCallbackHandler (line 39) | public class SaslServerCallbackHandler implements CallbackHandler { method SaslServerCallbackHandler (line 49) | public SaslServerCallbackHandler(Configuration configuration) method handle (line 76) | public void handle(Callback[] callbacks) throws UnsupportedCallbackExc... method handleNameCallback (line 90) | private void handleNameCallback(NameCallback nc) { method handlePasswordCallback (line 100) | private void handlePasswordCallback(PasswordCallback pc) { method handleRealmCallback (line 111) | private void handleRealmCallback(RealmCallback rc) { method handleAuthorizeCallback (line 116) | private void handleAuthorizeCallback(AuthorizeCallback ac) { method shouldAppendRealm (line 143) | private boolean shouldAppendRealm(KerberosName kerberosName) { method shouldAppendHost (line 147) | private boolean shouldAppendHost(KerberosName kerberosName) { method isSystemPropertyTrue (line 151) | private boolean isSystemPropertyTrue(String propertyName) { FILE: src/java/main/org/apache/zookeeper/server/persistence/FileSnap.java class FileSnap (line 51) | public class FileSnap implements SnapShot { method FileSnap (line 62) | public FileSnap(File snapDir) { method deserialize (line 70) | public long deserialize(DataTree dt, Map sessions) method deserialize (line 121) | public void deserialize(DataTree dt, Map sessions, method findMostRecentSnapshot (line 137) | public File findMostRecentSnapshot() throws IOException { method findNValidSnapshots (line 157) | private List findNValidSnapshots(int n) throws IOException { method findNRecentSnapshots (line 187) | public List findNRecentSnapshots(int n) throws IOException { method serialize (line 210) | protected void serialize(DataTree dt,Map sessions, method serialize (line 227) | public synchronized void serialize(DataTree dt, Map ses... method close (line 250) | @Override FILE: src/java/main/org/apache/zookeeper/server/persistence/FileTxnLog.java class FileTxnLog (line 91) | public class FileTxnLog implements TxnLog { method FileTxnLog (line 143) | public FileTxnLog(File logDir) { method setPreallocSize (line 152) | public static void setPreallocSize(long size) { method makeChecksumAlgorithm (line 160) | protected Checksum makeChecksumAlgorithm(){ method rollLog (line 169) | public synchronized void rollLog() throws IOException { method close (line 181) | public synchronized void close() throws IOException { method append (line 196) | public synchronized boolean append(TxnHeader hdr, Record txn) method padFile (line 246) | private long padFile(FileChannel fileChannel) throws IOException { method calculateFileSizeWithPadding (line 268) | public static long calculateFileSizeWithPadding(long position, long fi... method getLogFiles (line 292) | public static File[] getLogFiles(File[] logDirList,long snapshotZxid) { method getLastLoggedZxid (line 324) | public long getLastLoggedZxid() { method close (line 350) | private void close(TxnIterator itr) { method commit (line 364) | public synchronized void commit() throws IOException { method read (line 397) | public TxnIterator read(long zxid) throws IOException { method truncate (line 406) | public boolean truncate(long zxid) throws IOException { method readHeader (line 438) | private static FileHeader readHeader(File file) throws IOException { method getDbId (line 459) | public long getDbId() throws IOException { method isForceSync (line 472) | public boolean isForceSync() { class PositionInputStream (line 483) | static class PositionInputStream extends FilterInputStream { method PositionInputStream (line 485) | protected PositionInputStream(InputStream in) { method read (line 490) | @Override method read (line 499) | public int read(byte[] b) throws IOException { method read (line 507) | @Override method skip (line 516) | @Override method getPosition (line 524) | public long getPosition() { method markSupported (line 528) | @Override method mark (line 533) | @Override method reset (line 538) | @Override class FileTxnIterator (line 548) | public static class FileTxnIterator implements TxnLog.TxnIterator { method FileTxnIterator (line 568) | public FileTxnIterator(File logDir, long zxid) throws IOException { method init (line 579) | void init() throws IOException { method goToNextLog (line 607) | private boolean goToNextLog() throws IOException { method inStreamCreated (line 622) | protected void inStreamCreated(InputArchive ia, InputStream is) method createInputArchive (line 639) | protected InputArchive createInputArchive(File logFile) throws IOExc... method makeChecksumAlgorithm (line 654) | protected Checksum makeChecksumAlgorithm(){ method next (line 663) | public boolean next() throws IOException { method getHeader (line 707) | public TxnHeader getHeader() { method getTxn (line 716) | public Record getTxn() { method close (line 724) | public void close() throws IOException { FILE: src/java/main/org/apache/zookeeper/server/persistence/FileTxnSnapLog.java class FileTxnSnapLog (line 48) | public class FileTxnSnapLog { type PlayBackListener (line 69) | public interface PlayBackListener { method onTxnLoaded (line 70) | void onTxnLoaded(TxnHeader hdr, Record rec); method FileTxnSnapLog (line 79) | public FileTxnSnapLog(File dataDir, File snapDir) throws IOException { method checkLogDir (line 115) | private void checkLogDir() throws LogDirContentCheckException { method checkSnapDir (line 127) | private void checkSnapDir() throws SnapDirContentCheckException { method getDataDir (line 144) | public File getDataDir() { method getSnapDir (line 153) | public File getSnapDir() { method restore (line 168) | public long restore(DataTree dt, Map sessions, method fastForwardFromEdits (line 185) | public long fastForwardFromEdits(DataTree dt, Map sessi... method processTransaction (line 232) | public void processTransaction(TxnHeader hdr,DataTree dt, method getLastLoggedZxid (line 279) | public long getLastLoggedZxid() { method save (line 291) | public void save(DataTree dataTree, method truncateLog (line 309) | public boolean truncateLog(long zxid) throws IOException { method findMostRecentSnapshot (line 335) | public File findMostRecentSnapshot() throws IOException { method findNRecentSnapshots (line 347) | public List findNRecentSnapshots(int n) throws IOException { method getSnapshotLogs (line 361) | public File[] getSnapshotLogs(long zxid) { method append (line 371) | public boolean append(Request si) throws IOException { method commit (line 379) | public void commit() throws IOException { method rollLog (line 387) | public void rollLog() throws IOException { method close (line 395) | public void close() throws IOException { class DatadirException (line 400) | @SuppressWarnings("serial") method DatadirException (line 402) | public DatadirException(String msg) { method DatadirException (line 405) | public DatadirException(String msg, Exception e) { class LogDirContentCheckException (line 410) | @SuppressWarnings("serial") method LogDirContentCheckException (line 412) | public LogDirContentCheckException(String msg) { class SnapDirContentCheckException (line 417) | @SuppressWarnings("serial") method SnapDirContentCheckException (line 419) | public SnapDirContentCheckException(String msg) { FILE: src/java/main/org/apache/zookeeper/server/persistence/SnapShot.java type SnapShot (line 31) | public interface SnapShot { method deserialize (line 41) | long deserialize(DataTree dt, Map sessions) method serialize (line 50) | void serialize(DataTree dt, Map sessions, method findMostRecentSnapshot (line 59) | File findMostRecentSnapshot() throws IOException; method close (line 65) | void close() throws IOException; FILE: src/java/main/org/apache/zookeeper/server/persistence/TxnLog.java type TxnLog (line 30) | public interface TxnLog { method rollLog (line 37) | void rollLog() throws IOException; method append (line 45) | boolean append(TxnHeader hdr, Record r) throws IOException; method read (line 55) | TxnIterator read(long zxid) throws IOException; method getLastLoggedZxid (line 62) | long getLastLoggedZxid() throws IOException; method truncate (line 70) | boolean truncate(long zxid) throws IOException; method getDbId (line 77) | long getDbId() throws IOException; method commit (line 84) | void commit() throws IOException; method close (line 89) | void close() throws IOException; type TxnIterator (line 94) | public interface TxnIterator { method getHeader (line 99) | TxnHeader getHeader(); method getTxn (line 105) | Record getTxn(); method next (line 111) | boolean next() throws IOException; method close (line 118) | void close() throws IOException; FILE: src/java/main/org/apache/zookeeper/server/persistence/Util.java class Util (line 48) | public class Util { method makeURIString (line 54) | public static String makeURIString(String dataDir, String dataLogDir, method makeFileLoggerURL (line 71) | public static URI makeFileLoggerURL(File dataDir, File dataLogDir){ method makeFileLoggerURL (line 75) | public static URI makeFileLoggerURL(File dataDir, File dataLogDir,Stri... method makeLogName (line 85) | public static String makeLogName(long zxid) { method makeSnapshotName (line 95) | public static String makeSnapshotName(long zxid) { method getSnapDir (line 105) | public static File getSnapDir(Properties props){ method getLogDir (line 115) | public static File getLogDir(Properties props){ method getFormatConversionPolicy (line 125) | public static String getFormatConversionPolicy(Properties props){ method getZxidFromName (line 137) | public static long getZxidFromName(String name, String prefix) { method isValidSnapshot (line 159) | public static boolean isValidSnapshot(File f) throws IOException { method readTxnBytes (line 206) | public static byte[] readTxnBytes(InputArchive ia) throws IOException { method marshallTxnEntry (line 231) | public static byte[] marshallTxnEntry(TxnHeader hdr, Record txn) method writeTxnBytes (line 250) | public static void writeTxnBytes(OutputArchive oa, byte[] bytes) class DataDirFileComparator (line 261) | private static class DataDirFileComparator method DataDirFileComparator (line 268) | public DataDirFileComparator(String prefix, boolean ascending) { method compare (line 273) | public int compare(File o1, File o2) { method sortDataDir (line 292) | public static List sortDataDir(File[] files, String prefix, bool... method isLogFileName (line 307) | public static boolean isLogFileName(String fileName) { method isSnapshotFileName (line 317) | public static boolean isSnapshotFileName(String fileName) { FILE: src/java/main/org/apache/zookeeper/server/quorum/AckRequestProcessor.java class AckRequestProcessor (line 32) | class AckRequestProcessor implements RequestProcessor { method AckRequestProcessor (line 36) | AckRequestProcessor(Leader leader) { method processRequest (line 43) | public void processRequest(Request request) { method shutdown (line 51) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/quorum/AuthFastLeaderElection.java class AuthFastLeaderElection (line 53) | @Deprecated class Notification (line 79) | static public class Notification { class ToSend (line 109) | static public class ToSend { type mType (line 110) | static enum mType { method ToSend (line 114) | ToSend(mType type, long tag, long leader, long zxid, long epoch, class Messenger (line 200) | private class Messenger { class WorkerReceiver (line 212) | class WorkerReceiver implements Runnable { method WorkerReceiver (line 217) | WorkerReceiver(DatagramSocket s, Messenger msg) { method saveChallenge (line 222) | boolean saveChallenge(long tag, long challenge) { method run (line 240) | public void run() { class WorkerSender (line 403) | class WorkerSender implements Runnable { method WorkerSender (line 413) | WorkerSender(int attempts) { method genChallenge (line 419) | long genChallenge() { method run (line 445) | public void run() { method process (line 457) | private void process(ToSend m) { method queueEmpty (line 704) | public boolean queueEmpty() { method Messenger (line 709) | Messenger(int threads, DatagramSocket s) { method AuthFastLeaderElection (line 747) | public AuthFastLeaderElection(QuorumPeer self, method AuthFastLeaderElection (line 753) | public AuthFastLeaderElection(QuorumPeer self) { method starter (line 757) | private void starter(QuorumPeer self) { method leaveInstance (line 776) | private void leaveInstance() { method sendNotifications (line 780) | private void sendNotifications() { method totalOrderPredicate (line 792) | private boolean totalOrderPredicate(long id, long zxid) { method termPredicate (line 801) | private boolean termPredicate(HashMap votes, method shutdown (line 827) | public void shutdown(){} method lookForLeader (line 834) | public Vote lookForLeader() throws InterruptedException { FILE: src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java class CommitProcessor (line 38) | public class CommitProcessor extends ZooKeeperCriticalThread implements ... method CommitProcessor (line 61) | public CommitProcessor(RequestProcessor nextProcessor, String id, method run (line 70) | @Override method commit (line 156) | synchronized public void commit(Request request) { method processRequest (line 171) | synchronized public void processRequest(Request request) { method shutdown (line 183) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/quorum/Election.java type Election (line 24) | public interface Election { method lookForLeader (line 25) | public Vote lookForLeader() throws InterruptedException; method shutdown (line 26) | public void shutdown(); FILE: src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java class FastLeaderElection (line 54) | public class FastLeaderElection implements Election { class Notification (line 89) | static public class Notification { method toString (line 127) | @Override method buildMsg (line 138) | static ByteBuffer buildMsg(int state, class ToSend (line 166) | static public class ToSend { type mType (line 167) | static enum mType {crequest, challenge, notification, ack} method ToSend (line 169) | ToSend(mType type, class Messenger (line 226) | protected class Messenger { class WorkerReceiver (line 233) | class WorkerReceiver extends ZooKeeperThread { method WorkerReceiver (line 237) | WorkerReceiver(QuorumCnxManager manager) { method run (line 243) | public void run() { class WorkerSender (line 419) | class WorkerSender extends ZooKeeperThread { method WorkerSender (line 423) | WorkerSender(QuorumCnxManager manager){ method run (line 429) | public void run() { method process (line 448) | void process(ToSend m) { method Messenger (line 467) | Messenger(QuorumCnxManager manager) { method halt (line 487) | void halt(){ method getLogicalClock (line 505) | public long getLogicalClock(){ method FastLeaderElection (line 518) | public FastLeaderElection(QuorumPeer self, QuorumCnxManager manager){ method starter (line 534) | private void starter(QuorumPeer self, QuorumCnxManager manager) { method leaveInstance (line 544) | private void leaveInstance(Vote v) { method getCnxManager (line 554) | public QuorumCnxManager getCnxManager(){ method shutdown (line 559) | public void shutdown(){ method sendNotifications (line 572) | private void sendNotifications() { method printNotification (line 594) | private void printNotification(Notification n){ method totalOrderPredicate (line 606) | protected boolean totalOrderPredicate(long newId, long newZxid, long n... method termPredicate (line 634) | protected boolean termPredicate( method checkLeader (line 664) | protected boolean checkLeader( method ooePredicate (line 698) | protected boolean ooePredicate(HashMap recv, method updateProposal (line 712) | synchronized void updateProposal(long leader, long zxid, long epoch){ method getVote (line 723) | synchronized Vote getVote(){ method learningState (line 734) | private ServerState learningState(){ method getInitId (line 750) | private long getInitId(){ method getInitLastLoggedZxid (line 761) | private long getInitLastLoggedZxid(){ method getPeerEpoch (line 772) | private long getPeerEpoch(){ method lookForLeader (line 789) | public Vote lookForLeader() throws InterruptedException { FILE: src/java/main/org/apache/zookeeper/server/quorum/Follower.java class Follower (line 34) | public class Follower extends Learner{ method Follower (line 40) | Follower(QuorumPeer self,FollowerZooKeeperServer zk) { method toString (line 46) | @Override method followLeader (line 61) | void followLeader() throws InterruptedException { method processPacket (line 110) | protected void processPacket(QuorumPacket qp) throws IOException{ method getZxid (line 148) | public long getZxid() { method getLastQueued (line 163) | protected long getLastQueued() { method shutdown (line 167) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/FollowerBean.java class FollowerBean (line 27) | public class FollowerBean extends ZooKeeperServerBean implements Followe... method FollowerBean (line 30) | public FollowerBean(Follower follower, ZooKeeperServer zks) { method getName (line 35) | public String getName() { method getQuorumAddress (line 39) | public String getQuorumAddress() { method getLastQueuedZxid (line 43) | public String getLastQueuedZxid() { method getPendingRevalidationCount (line 47) | public int getPendingRevalidationCount() { method getElectionTimeTaken (line 51) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/FollowerMXBean.java type FollowerMXBean (line 26) | public interface FollowerMXBean extends ZooKeeperServerMXBean { method getQuorumAddress (line 30) | public String getQuorumAddress(); method getLastQueuedZxid (line 35) | public String getLastQueuedZxid(); method getPendingRevalidationCount (line 40) | public int getPendingRevalidationCount(); method getElectionTimeTaken (line 45) | public long getElectionTimeTaken(); FILE: src/java/main/org/apache/zookeeper/server/quorum/FollowerRequestProcessor.java class FollowerRequestProcessor (line 36) | public class FollowerRequestProcessor extends ZooKeeperCriticalThread im... method FollowerRequestProcessor (line 48) | public FollowerRequestProcessor(FollowerZooKeeperServer zks, method run (line 56) | @Override method processRequest (line 100) | public void processRequest(Request request) { method shutdown (line 106) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/quorum/FollowerZooKeeperServer.java class FollowerZooKeeperServer (line 43) | public class FollowerZooKeeperServer extends LearnerZooKeeperServer { method FollowerZooKeeperServer (line 61) | FollowerZooKeeperServer(FileTxnSnapLog logFactory,QuorumPeer self, method getFollower (line 68) | public Follower getFollower(){ method setupRequestProcessors (line 72) | @Override method logRequest (line 88) | public void logRequest(TxnHeader hdr, Record txn) { method commit (line 106) | public void commit(long zxid) { method sync (line 123) | synchronized public void sync(){ method getGlobalOutstandingLimit (line 133) | @Override method shutdown (line 138) | @Override method getState (line 156) | @Override method getLearner (line 161) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/Leader.java class Leader (line 58) | public class Leader { class Proposal (line 66) | static public class Proposal { method toString (line 73) | @Override method getLearners (line 95) | public List getLearners() { method getForwardingFollowers (line 108) | public List getForwardingFollowers() { method addForwardingFollower (line 114) | private void addForwardingFollower(LearnerHandler lh) { method getObservingLearners (line 126) | public List getObservingLearners() { method addObserverLearnerHandler (line 132) | private void addObserverLearnerHandler(LearnerHandler lh) { method getNumPendingSyncs (line 142) | synchronized public int getNumPendingSyncs() { method addLearnerHandler (line 155) | void addLearnerHandler(LearnerHandler learner) { method removeLearnerHandler (line 166) | void removeLearnerHandler(LearnerHandler peer) { method isLearnerSynced (line 178) | boolean isLearnerSynced(LearnerHandler peer){ method Leader (line 186) | Leader(QuorumPeer self,LeaderZooKeeperServer zk) throws IOException { class LearnerCnxAcceptor (line 308) | class LearnerCnxAcceptor extends ZooKeeperThread{ method LearnerCnxAcceptor (line 311) | public LearnerCnxAcceptor() { method run (line 315) | @Override method halt (line 351) | public void halt() { method lead (line 368) | void lead() throws IOException, InterruptedException { method shutdown (line 511) | void shutdown(String reason) { method processAck (line 557) | synchronized public void processAck(long sid, long zxid, SocketAddress... class ToBeAppliedRequestProcessor (line 628) | static class ToBeAppliedRequestProcessor implements RequestProcessor { method ToBeAppliedRequestProcessor (line 642) | ToBeAppliedRequestProcessor(RequestProcessor next, method processRequest (line 661) | public void processRequest(Request request) throws RequestProcessorE... method shutdown (line 676) | public void shutdown() { method sendPacket (line 688) | void sendPacket(QuorumPacket qp) { method sendObserverPacket (line 699) | void sendObserverPacket(QuorumPacket qp) { method commit (line 712) | public void commit(long zxid) { method inform (line 725) | public void inform(Proposal proposal) { method getEpoch (line 739) | public long getEpoch(){ class XidRolloverException (line 743) | @SuppressWarnings("serial") method XidRolloverException (line 745) | public XidRolloverException(String message) { method propose (line 756) | public Proposal propose(Request request) throws XidRolloverException { method processSync (line 803) | synchronized public void processSync(LearnerSyncRequest r){ method sendSync (line 823) | public void sendSync(LearnerSyncRequest r){ method startForwarding (line 835) | synchronized public long startForwarding(LearnerHandler handler, method getEpochToPropose (line 873) | public long getEpochToPropose(long sid, long lastAcceptedEpoch) throws... method waitForEpochAck (line 906) | public void waitForEpochAck(long id, StateSummary ss) throws IOExcepti... method getSidSetString (line 943) | private String getSidSetString(Set sidSet) { method startZkServer (line 959) | private synchronized void startZkServer() { method waitForNewLeaderAck (line 987) | public void waitForNewLeaderAck(long sid, long zxid, LearnerType learn... method getPacketType (line 1034) | public static String getPacketType(int packetType) { method isRunning (line 1075) | private boolean isRunning() { FILE: src/java/main/org/apache/zookeeper/server/quorum/LeaderBean.java class LeaderBean (line 29) | public class LeaderBean extends ZooKeeperServerBean implements LeaderMXB... method LeaderBean (line 32) | public LeaderBean(Leader leader, ZooKeeperServer zks) { method getName (line 37) | public String getName() { method getCurrentZxid (line 41) | public String getCurrentZxid() { method followerInfo (line 45) | public String followerInfo() { method getElectionTimeTaken (line 53) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/LeaderElection.java class LeaderElection (line 47) | @Deprecated method LeaderElection (line 54) | public LeaderElection(QuorumPeer self) { class ElectionResult (line 58) | protected static class ElectionResult { method countVotes (line 70) | protected ElectionResult countVotes(HashMap v... method shutdown (line 139) | public void shutdown(){} method lookForLeader (line 146) | public Vote lookForLeader() throws InterruptedException { FILE: src/java/main/org/apache/zookeeper/server/quorum/LeaderElectionBean.java class LeaderElectionBean (line 28) | public class LeaderElectionBean implements LeaderElectionMXBean, ZKMBean... method getName (line 31) | public String getName() { method isHidden (line 35) | public boolean isHidden() { method getStartTime (line 39) | public String getStartTime() { FILE: src/java/main/org/apache/zookeeper/server/quorum/LeaderElectionMXBean.java type LeaderElectionMXBean (line 25) | public interface LeaderElectionMXBean { method getStartTime (line 30) | public String getStartTime(); FILE: src/java/main/org/apache/zookeeper/server/quorum/LeaderMXBean.java type LeaderMXBean (line 26) | public interface LeaderMXBean extends ZooKeeperServerMXBean { method getCurrentZxid (line 30) | public String getCurrentZxid(); method followerInfo (line 35) | public String followerInfo(); method getElectionTimeTaken (line 40) | public long getElectionTimeTaken(); FILE: src/java/main/org/apache/zookeeper/server/quorum/LeaderZooKeeperServer.java class LeaderZooKeeperServer (line 41) | public class LeaderZooKeeperServer extends QuorumZooKeeperServer { method LeaderZooKeeperServer (line 49) | LeaderZooKeeperServer(FileTxnSnapLog logFactory, QuorumPeer self, method getLeader (line 55) | public Leader getLeader(){ method setupRequestProcessors (line 59) | @Override method getGlobalOutstandingLimit (line 75) | @Override method createSessionTracker (line 80) | @Override method startSessionTracker (line 87) | @Override method touch (line 93) | public boolean touch(long sess, int to) { method registerJMX (line 97) | @Override method registerJMX (line 109) | public void registerJMX(LeaderBean leaderBean, method unregisterJMX (line 131) | @Override method unregisterJMX (line 144) | protected void unregisterJMX(Leader leader) { method getState (line 156) | @Override method getServerId (line 165) | @Override method revalidateSession (line 170) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/Learner.java class Learner (line 57) | public class Learner { class PacketInFlight (line 58) | static class PacketInFlight { method getSocket (line 73) | public Socket getSocket() { method getPendingRevalidationsCount (line 92) | public int getPendingRevalidationsCount() { method validateSession (line 106) | void validateSession(ServerCnxn cnxn, long clientId, int timeout) method writePacket (line 133) | void writePacket(QuorumPacket pp, boolean flush) throws IOException { method readPacket (line 151) | void readPacket(QuorumPacket pp) throws IOException { method request (line 171) | void request(Request request) throws IOException { method findLeader (line 194) | protected QuorumServer findLeader() { method connectToLeader (line 223) | protected void connectToLeader(InetSocketAddress addr, String hostname) method registerWithLeader (line 261) | protected long registerWithLeader(int pktType) throws IOException{ method syncWithLeader (line 320) | protected void syncWithLeader(long newLeaderZxid) throws IOException, ... method revalidate (line 515) | protected void revalidate(QuorumPacket qp) throws IOException { method ping (line 538) | protected void ping(QuorumPacket qp) throws IOException { method shutdown (line 556) | public void shutdown() { method isRunning (line 567) | boolean isRunning() { FILE: src/java/main/org/apache/zookeeper/server/quorum/LearnerHandler.java class LearnerHandler (line 59) | public class LearnerHandler extends ZooKeeperThread { method getSocket (line 64) | public Socket getSocket() { method getSid (line 81) | long getSid(){ method getVersion (line 87) | int getVersion() { class SyncLimitCheck (line 105) | private class SyncLimitCheck { method start (line 112) | public synchronized void start() { method updateProposal (line 116) | public synchronized void updateProposal(long zxid, long time) { method updateAck (line 129) | public synchronized void updateAck(long zxid) { method check (line 142) | public synchronized boolean check(long time) { method LearnerHandler (line 161) | LearnerHandler(Socket sock, BufferedInputStream bufferedInput, method toString (line 182) | @Override method getLearnerType (line 198) | public LearnerType getLearnerType() { method sendPackets (line 208) | private void sendPackets() throws InterruptedException { method packetToString (line 250) | static public String packetToString(QuorumPacket p) { method run (line 313) | @Override method shutdown (line 668) | public void shutdown() { method tickOfNextAckDeadline (line 686) | public long tickOfNextAckDeadline() { method ping (line 693) | public void ping() { method queuePacket (line 707) | void queuePacket(QuorumPacket p) { method synced (line 711) | public boolean synced() { FILE: src/java/main/org/apache/zookeeper/server/quorum/LearnerSessionTracker.java class LearnerSessionTracker (line 33) | public class LearnerSessionTracker implements SessionTracker { method LearnerSessionTracker (line 42) | public LearnerSessionTracker(SessionExpirer expirer, method removeSession (line 52) | synchronized public void removeSession(long sessionId) { method shutdown (line 57) | public void shutdown() { method addSession (line 60) | synchronized public void addSession(long sessionId, int sessionTimeout) { method touchSession (line 65) | synchronized public boolean touchSession(long sessionId, int sessionTi... method snapshot (line 70) | synchronized HashMap snapshot() { method createSession (line 77) | synchronized public long createSession(int sessionTimeout) { method checkSession (line 81) | public void checkSession(long sessionId, Object owner) { method setOwner (line 85) | public void setOwner(long sessionId, Object owner) { method dumpSessions (line 89) | public void dumpSessions(PrintWriter pwriter) { method setSessionClosing (line 95) | public void setSessionClosing(long sessionId) { FILE: src/java/main/org/apache/zookeeper/server/quorum/LearnerSyncRequest.java class LearnerSyncRequest (line 27) | public class LearnerSyncRequest extends Request { method LearnerSyncRequest (line 29) | public LearnerSyncRequest(LearnerHandler fh, long sessionId, int xid, ... FILE: src/java/main/org/apache/zookeeper/server/quorum/LearnerZooKeeperServer.java class LearnerZooKeeperServer (line 33) | public abstract class LearnerZooKeeperServer extends QuorumZooKeeperServ... method LearnerZooKeeperServer (line 34) | public LearnerZooKeeperServer(FileTxnSnapLog logFactory, int tickTime, method getLearner (line 49) | abstract public Learner getLearner(); method getTouchSnapshot (line 56) | protected HashMap getTouchSnapshot() { method getServerId (line 67) | @Override method createSessionTracker (line 72) | @Override method startSessionTracker (line 79) | @Override method revalidateSession (line 82) | @Override method registerJMX (line 88) | @Override method registerJMX (line 100) | public void registerJMX(ZooKeeperServerBean serverBean, method unregisterJMX (line 122) | @Override method unregisterJMX (line 135) | protected void unregisterJMX(Learner peer) { FILE: src/java/main/org/apache/zookeeper/server/quorum/LocalPeerBean.java class LocalPeerBean (line 25) | public class LocalPeerBean extends ServerBean implements LocalPeerMXBean { method LocalPeerBean (line 28) | public LocalPeerBean(QuorumPeer peer) { method getName (line 32) | public String getName() { method isHidden (line 36) | public boolean isHidden() { method getTickTime (line 40) | public int getTickTime() { method getMaxClientCnxnsPerHost (line 44) | public int getMaxClientCnxnsPerHost() { method getMinSessionTimeout (line 48) | public int getMinSessionTimeout() { method getMaxSessionTimeout (line 52) | public int getMaxSessionTimeout() { method getInitLimit (line 56) | public int getInitLimit() { method getSyncLimit (line 60) | public int getSyncLimit() { method getTick (line 64) | public int getTick() { method getState (line 68) | public String getState() { method getQuorumAddress (line 72) | public String getQuorumAddress() { method getElectionType (line 76) | public int getElectionType() { FILE: src/java/main/org/apache/zookeeper/server/quorum/LocalPeerMXBean.java type LocalPeerMXBean (line 27) | public interface LocalPeerMXBean extends ServerMXBean { method getTickTime (line 32) | public int getTickTime(); method getMaxClientCnxnsPerHost (line 35) | public int getMaxClientCnxnsPerHost(); method getMinSessionTimeout (line 40) | public int getMinSessionTimeout(); method getMaxSessionTimeout (line 45) | public int getMaxSessionTimeout(); method getInitLimit (line 50) | public int getInitLimit(); method getSyncLimit (line 56) | public int getSyncLimit(); method getTick (line 61) | public int getTick(); method getState (line 66) | public String getState(); method getQuorumAddress (line 71) | public String getQuorumAddress(); method getElectionType (line 76) | public int getElectionType(); FILE: src/java/main/org/apache/zookeeper/server/quorum/Observer.java class Observer (line 39) | public class Observer extends Learner{ method Observer (line 41) | Observer(QuorumPeer self,ObserverZooKeeperServer observerZooKeeperServ... method toString (line 46) | @Override method observeLeader (line 60) | void observeLeader() throws InterruptedException { method processPacket (line 97) | protected void processPacket(QuorumPacket qp) throws IOException{ method shutdown (line 136) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/quorum/ObserverMXBean.java type ObserverMXBean (line 27) | public interface ObserverMXBean extends ZooKeeperServerMXBean { method getPendingRevalidationCount (line 31) | public int getPendingRevalidationCount(); method getQuorumAddress (line 36) | public String getQuorumAddress(); FILE: src/java/main/org/apache/zookeeper/server/quorum/ObserverRequestProcessor.java class ObserverRequestProcessor (line 36) | public class ObserverRequestProcessor extends ZooKeeperCriticalThread im... method ObserverRequestProcessor (line 56) | public ObserverRequestProcessor(ObserverZooKeeperServer zks, method run (line 64) | @Override method processRequest (line 111) | public void processRequest(Request request) { method shutdown (line 120) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/quorum/ObserverZooKeeperServer.java class ObserverZooKeeperServer (line 37) | public class ObserverZooKeeperServer extends LearnerZooKeeperServer { method ObserverZooKeeperServer (line 60) | ObserverZooKeeperServer(FileTxnSnapLog logFactory, QuorumPeer self, method getObserver (line 67) | public Observer getObserver() { method getLearner (line 71) | @Override method commitRequest (line 84) | public void commitRequest(Request request) { method setupRequestProcessors (line 96) | @Override method sync (line 126) | synchronized public void sync(){ method getState (line 136) | @Override method shutdown (line 141) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/ProposalRequestProcessor.java class ProposalRequestProcessor (line 32) | public class ProposalRequestProcessor implements RequestProcessor { method ProposalRequestProcessor (line 42) | public ProposalRequestProcessor(LeaderZooKeeperServer zks, method initialize (line 53) | public void initialize() { method processRequest (line 57) | public void processRequest(Request request) throws RequestProcessorExc... method shutdown (line 87) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/quorum/QuorumBean.java class QuorumBean (line 24) | public class QuorumBean implements QuorumMXBean, ZKMBeanInfo { method QuorumBean (line 28) | public QuorumBean(QuorumPeer peer){ method getName (line 33) | public String getName() { method isHidden (line 37) | public boolean isHidden() { method getQuorumSize (line 41) | public int getQuorumSize() { FILE: src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java class QuorumCnxManager (line 74) | public class QuorumCnxManager { class Message (line 155) | static public class Message { method Message (line 157) | Message(ByteBuffer buffer, long sid) { method QuorumCnxManager (line 166) | public QuorumCnxManager(final long mySid, method QuorumCnxManager (line 179) | public QuorumCnxManager(final long mySid, method initializeAuth (line 210) | private void initializeAuth(final long mySid, method testInitiateConnection (line 249) | public void testInitiateConnection(long sid) throws Exception { method initiateConnection (line 264) | public void initiateConnection(final Socket sock, final Long sid) { method initiateConnectionAsync (line 279) | public void initiateConnectionAsync(final Socket sock, final Long sid) { class QuorumConnectionReqThread (line 305) | private class QuorumConnectionReqThread extends ZooKeeperThread { method QuorumConnectionReqThread (line 308) | QuorumConnectionReqThread(final Socket sock, final Long sid) { method run (line 314) | @Override method startConnection (line 324) | private boolean startConnection(Socket sock, Long sid) method receiveConnection (line 380) | public void receiveConnection(final Socket sock) { method receiveConnectionAsync (line 398) | public void receiveConnectionAsync(final Socket sock) { class QuorumConnectionReceiverThread (line 413) | private class QuorumConnectionReceiverThread extends ZooKeeperThread { method QuorumConnectionReceiverThread (line 415) | QuorumConnectionReceiverThread(final Socket sock) { method run (line 420) | @Override method handleConnection (line 426) | private void handleConnection(Socket sock, DataInputStream din) method toSend (line 513) | public void toSend(Long sid, ByteBuffer b) { method connectOne (line 544) | synchronized public void connectOne(long sid){ method connectAll (line 605) | public void connectAll(){ method haveDelivered (line 618) | boolean haveDelivered() { method halt (line 632) | public void halt() { method softHalt (line 650) | public void softHalt() { method setSockOpts (line 663) | private void setSockOpts(Socket sock) throws SocketException { method closeSocket (line 675) | private void closeSocket(Socket sock) { method getThreadCount (line 686) | public long getThreadCount() { method getConnectionThreadCount (line 693) | public long getConnectionThreadCount() { method resetConnectionThreadCount (line 700) | private void resetConnectionThreadCount() { class Listener (line 707) | public class Listener extends ZooKeeperThread { method Listener (line 711) | public Listener() { method run (line 720) | @Override method halt (line 785) | void halt(){ class SendWorker (line 804) | class SendWorker extends ZooKeeperThread { method SendWorker (line 820) | SendWorker(Socket sock, Long sid) { method setRecv (line 835) | synchronized void setRecv(RecvWorker recvWorker) { method getRecvWorker (line 844) | synchronized RecvWorker getRecvWorker(){ method finish (line 848) | synchronized boolean finish() { method send (line 877) | synchronized void send(ByteBuffer b) throws IOException { method run (line 891) | @Override class RecvWorker (line 959) | class RecvWorker extends ZooKeeperThread { method RecvWorker (line 966) | RecvWorker(Socket sock, DataInputStream din, Long sid, SendWorker sw) { method finish (line 987) | synchronized boolean finish() { method run (line 1001) | @Override method addToSendQueue (line 1055) | private void addToSendQueue(ArrayBlockingQueue queue, method isSendQueueEmpty (line 1081) | private boolean isSendQueueEmpty(ArrayBlockingQueue queue) { method pollSendQueue (line 1092) | private ByteBuffer pollSendQueue(ArrayBlockingQueue queue, method addToRecvQueue (line 1117) | public void addToRecvQueue(Message msg) { method pollRecvQueue (line 1144) | public Message pollRecvQueue(long timeout, TimeUnit unit) method connectedToPeer (line 1149) | public boolean connectedToPeer(long peerSid) { FILE: src/java/main/org/apache/zookeeper/server/quorum/QuorumMXBean.java type QuorumMXBean (line 24) | public interface QuorumMXBean { method getName (line 28) | public String getName(); method getQuorumSize (line 33) | public int getQuorumSize(); FILE: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java class QuorumPeer (line 93) | public class QuorumPeer extends ZooKeeperThread implements QuorumStats.P... class QuorumServer (line 115) | public static class QuorumServer { method QuorumServer (line 116) | private QuorumServer(long id, InetSocketAddress addr, method QuorumServer (line 124) | public QuorumServer(long id, InetSocketAddress addr) { method QuorumServer (line 130) | private QuorumServer(long id, InetSocketAddress addr, method QuorumServer (line 138) | public QuorumServer(long id, String hostname, method recreateSocketAddresses (line 164) | public void recreateSocketAddresses() { method getReachableAddress (line 216) | public InetAddress getReachableAddress(String hostname, int timeout) type ServerState (line 247) | public enum ServerState { type LearnerType (line 259) | public enum LearnerType { method getLearnerType (line 281) | public LearnerType getLearnerType() { method setLearnerType (line 288) | public void setLearnerType(LearnerType p) { method getQuorumSize (line 302) | public int getQuorumSize(){ method getId (line 321) | public long getId() { method getCurrentVote (line 335) | public synchronized Vote getCurrentVote(){ method setCurrentVote (line 339) | public synchronized void setCurrentVote(Vote v){ method getBCVote (line 343) | synchronized Vote getBCVote() { method setBCVote (line 351) | synchronized void setBCVote(Vote v) { class ResponderThread (line 467) | @Deprecated method ResponderThread (line 469) | ResponderThread() { method run (line 475) | @Override method setPeerState (line 540) | public synchronized void setPeerState(ServerState newState){ method getPeerState (line 544) | public synchronized ServerState getPeerState(){ method getQuorumAddress (line 552) | public InetSocketAddress getQuorumAddress(){ method testingQuorumPeer (line 565) | public static QuorumPeer testingQuorumPeer() throws SaslException { method QuorumPeer (line 569) | protected QuorumPeer() throws SaslException { method QuorumPeer (line 580) | public QuorumPeer(Map quorumPeers, File dataDir, method QuorumPeer (line 589) | public QuorumPeer(Map quorumPeers, File dataDir, method initialize (line 611) | public void initialize() throws SaslException { method quorumStats (line 629) | QuorumStats quorumStats() { method start (line 633) | @Override method loadDataBase (line 641) | private void loadDataBase() { method stopLeaderElection (line 699) | synchronized public void stopLeaderElection() { method startLeaderElection (line 703) | synchronized public void startLeaderElection() { method countParticipants (line 737) | protected static int countParticipants(Map peers) { method QuorumPeer (line 751) | public QuorumPeer(Map quorumPeers, File snapDir, method QuorumPeer (line 766) | public QuorumPeer(Map quorumPeers, File snapDir, method getLastLoggedZxid (line 783) | public long getLastLoggedZxid() { method makeFollower (line 794) | protected Follower makeFollower(FileTxnSnapLog logFactory) throws IOEx... method makeLeader (line 799) | protected Leader makeLeader(FileTxnSnapLog logFactory) throws IOExcept... method makeObserver (line 804) | protected Observer makeObserver(FileTxnSnapLog logFactory) throws IOEx... method createElectionAlgorithm (line 809) | protected Election createElectionAlgorithm(int electionAlgorithm){ method makeLEStrategy (line 839) | protected Election makeLEStrategy(){ method setLeader (line 847) | synchronized protected void setLeader(Leader newLeader){ method setFollower (line 851) | synchronized protected void setFollower(Follower newFollower){ method setObserver (line 855) | synchronized protected void setObserver(Observer newObserver){ method getActiveServer (line 859) | synchronized public ZooKeeperServer getActiveServer(){ method run (line 869) | @Override method shutdown (line 1020) | public void shutdown() { method getView (line 1048) | public Map getView() { method getVotingView (line 1056) | public Map getVotingView() { method viewToVotingView (line 1060) | static Map viewToVotingView( method getObservingView (line 1075) | public Map getObservingView() { method viewContains (line 1092) | public boolean viewContains(Long sid) { method getQuorumPeers (line 1099) | public String[] getQuorumPeers() { method getServerState (line 1118) | public String getServerState() { method getMyid (line 1136) | public long getMyid() { method setMyid (line 1143) | public void setMyid(long myid) { method getTickTime (line 1150) | public int getTickTime() { method setTickTime (line 1157) | public void setTickTime(int tickTime) { method getMaxClientCnxnsPerHost (line 1163) | public int getMaxClientCnxnsPerHost() { method getMinSessionTimeout (line 1172) | public int getMinSessionTimeout() { method setMinSessionTimeout (line 1177) | public void setMinSessionTimeout(int min) { method getMaxSessionTimeout (line 1183) | public int getMaxSessionTimeout() { method setMaxSessionTimeout (line 1188) | public void setMaxSessionTimeout(int max) { method getInitLimit (line 1196) | public int getInitLimit() { method setInitLimit (line 1203) | public void setInitLimit(int initLimit) { method getTick (line 1211) | public int getTick() { method getQuorumVerifier (line 1219) | public QuorumVerifier getQuorumVerifier(){ method setQuorumVerifier (line 1224) | public void setQuorumVerifier(QuorumVerifier quorumConfig){ method getElectionAlg (line 1232) | public Election getElectionAlg(){ method getSyncLimit (line 1239) | public int getSyncLimit() { method setSyncLimit (line 1246) | public void setSyncLimit(int syncLimit) { method getSyncEnabled (line 1261) | public boolean getSyncEnabled() { method setSyncEnabled (line 1275) | public void setSyncEnabled(boolean syncEnabled) { method getElectionType (line 1282) | public int getElectionType() { method setElectionType (line 1289) | public void setElectionType(int electionType) { method getQuorumListenOnAllIPs (line 1293) | public boolean getQuorumListenOnAllIPs() { method setQuorumListenOnAllIPs (line 1297) | public void setQuorumListenOnAllIPs(boolean quorumListenOnAllIPs) { method getCnxnFactory (line 1301) | public ServerCnxnFactory getCnxnFactory() { method setCnxnFactory (line 1305) | public void setCnxnFactory(ServerCnxnFactory cnxnFactory) { method setQuorumPeers (line 1309) | public void setQuorumPeers(Map quorumPeers) { method getClientPort (line 1313) | public int getClientPort() { method setClientPortAddress (line 1317) | public void setClientPortAddress(InetSocketAddress addr) { method setTxnFactory (line 1320) | public void setTxnFactory(FileTxnSnapLog factory) { method getTxnFactory (line 1324) | public FileTxnSnapLog getTxnFactory() { method setZKDatabase (line 1332) | public void setZKDatabase(ZKDatabase database) { method getZkDb (line 1336) | protected ZKDatabase getZkDb() { method setRunning (line 1340) | public void setRunning(boolean running) { method isRunning (line 1344) | public boolean isRunning() { method getQuorumCnxManager (line 1351) | public QuorumCnxManager getQuorumCnxManager() { method readLongFromFile (line 1354) | private long readLongFromFile(String name) throws IOException { method writeLongToFile (line 1384) | private void writeLongToFile(String name, long value) throws IOExcepti... method getCurrentEpoch (line 1410) | public long getCurrentEpoch() throws IOException { method getAcceptedEpoch (line 1417) | public long getAcceptedEpoch() throws IOException { method setCurrentEpoch (line 1424) | public void setCurrentEpoch(long e) throws IOException { method setAcceptedEpoch (line 1430) | public void setAcceptedEpoch(long e) throws IOException { method updateElectionVote (line 1440) | protected void updateElectionVote(long newEpoch) { method setQuorumServerSaslRequired (line 1452) | void setQuorumServerSaslRequired(boolean serverSaslRequired) { method setQuorumLearnerSaslRequired (line 1458) | void setQuorumLearnerSaslRequired(boolean learnerSaslRequired) { method setQuorumSaslEnabled (line 1464) | void setQuorumSaslEnabled(boolean enableAuth) { method setQuorumServicePrincipal (line 1474) | void setQuorumServicePrincipal(String servicePrincipal) { method setQuorumLearnerLoginContext (line 1480) | void setQuorumLearnerLoginContext(String learnerContext) { method setQuorumServerLoginContext (line 1486) | void setQuorumServerLoginContext(String serverContext) { method setQuorumCnxnThreadsSize (line 1492) | void setQuorumCnxnThreadsSize(int qCnxnThreadsSize) { method isQuorumSaslAuthEnabled (line 1499) | boolean isQuorumSaslAuthEnabled() { method isQuorumServerSaslAuthRequired (line 1503) | private boolean isQuorumServerSaslAuthRequired() { method isQuorumLearnerSaslAuthRequired (line 1507) | private boolean isQuorumLearnerSaslAuthRequired() { method hasAuthInitialized (line 1513) | public boolean hasAuthInitialized(){ method createCnxnManager (line 1517) | public QuorumCnxManager createCnxnManager() { method setElectionTimeTaken (line 1534) | void setElectionTimeTaken(long electionTimeTaken) { method getElectionTimeTaken (line 1541) | long getElectionTimeTaken() { FILE: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java class QuorumPeerConfig (line 47) | @InterfaceAudience.Public class ConfigException (line 97) | @SuppressWarnings("serial") method ConfigException (line 99) | public ConfigException(String msg) { method ConfigException (line 102) | public ConfigException(String msg, Exception e) { method splitWithLeadingHostname (line 107) | private static String[] splitWithLeadingHostname(String s) method parse (line 133) | public void parse(String path) throws ConfigException { method parseProperties (line 166) | public void parseProperties(Properties zkProp) method getClientPortAddress (line 439) | public InetSocketAddress getClientPortAddress() { return clientPortAdd... method getDataDir (line 440) | public String getDataDir() { return dataDir; } method getDataLogDir (line 441) | public String getDataLogDir() { return dataLogDir; } method getTickTime (line 442) | public int getTickTime() { return tickTime; } method getMaxClientCnxns (line 443) | public int getMaxClientCnxns() { return maxClientCnxns; } method getMinSessionTimeout (line 444) | public int getMinSessionTimeout() { return minSessionTimeout; } method getMaxSessionTimeout (line 445) | public int getMaxSessionTimeout() { return maxSessionTimeout; } method getInitLimit (line 447) | public int getInitLimit() { return initLimit; } method getSyncLimit (line 448) | public int getSyncLimit() { return syncLimit; } method getElectionAlg (line 449) | public int getElectionAlg() { return electionAlg; } method getElectionPort (line 450) | public int getElectionPort() { return electionPort; } method getSnapRetainCount (line 452) | public int getSnapRetainCount() { method getPurgeInterval (line 456) | public int getPurgeInterval() { method getSyncEnabled (line 460) | public boolean getSyncEnabled() { method getQuorumVerifier (line 464) | public QuorumVerifier getQuorumVerifier() { method getServers (line 468) | public Map getServers() { method getServerId (line 472) | public long getServerId() { return serverId; } method isDistributed (line 474) | public boolean isDistributed() { return servers.size() > 1; } method getPeerType (line 476) | public LearnerType getPeerType() { method getQuorumListenOnAllIPs (line 480) | public Boolean getQuorumListenOnAllIPs() { FILE: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerMain.java class QuorumPeerMain (line 65) | @InterfaceAudience.Public method main (line 78) | public static void main(String[] args) { method initializeAndRun (line 99) | protected void initializeAndRun(String[] args) method runFromConfig (line 123) | public void runFromConfig(QuorumPeerConfig config) throws IOException { method getQuorumPeer (line 179) | protected QuorumPeer getQuorumPeer() throws SaslException { FILE: src/java/main/org/apache/zookeeper/server/quorum/QuorumStats.java class QuorumStats (line 21) | public class QuorumStats { type Provider (line 24) | public interface Provider { method getQuorumPeers (line 30) | public String[] getQuorumPeers(); method getServerState (line 31) | public String getServerState(); method QuorumStats (line 34) | protected QuorumStats(Provider provider) { method getServerState (line 38) | public String getServerState(){ method getQuorumPeers (line 42) | public String[] getQuorumPeers(){ method toString (line 46) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/QuorumZooKeeperServer.java class QuorumZooKeeperServer (line 30) | public abstract class QuorumZooKeeperServer extends ZooKeeperServer { method QuorumZooKeeperServer (line 33) | protected QuorumZooKeeperServer(FileTxnSnapLog logFactory, int tickTime, method dumpConf (line 42) | @Override method setState (line 61) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/ReadOnlyBean.java class ReadOnlyBean (line 28) | public class ReadOnlyBean extends ZooKeeperServerBean { method ReadOnlyBean (line 30) | public ReadOnlyBean(ZooKeeperServer zks) { method getName (line 34) | public String getName() { FILE: src/java/main/org/apache/zookeeper/server/quorum/ReadOnlyRequestProcessor.java class ReadOnlyRequestProcessor (line 42) | public class ReadOnlyRequestProcessor extends ZooKeeperCriticalThread im... method ReadOnlyRequestProcessor (line 54) | public ReadOnlyRequestProcessor(ZooKeeperServer zks, method run (line 62) | public void run() { method processRequest (line 114) | @Override method shutdown (line 121) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/ReadOnlyZooKeeperServer.java class ReadOnlyZooKeeperServer (line 39) | public class ReadOnlyZooKeeperServer extends QuorumZooKeeperServer { method ReadOnlyZooKeeperServer (line 42) | ReadOnlyZooKeeperServer(FileTxnSnapLog logFactory, QuorumPeer self, method setupRequestProcessors (line 48) | @Override method startup (line 57) | @Override method registerJMX (line 70) | @Override method registerJMX (line 82) | public void registerJMX(ZooKeeperServerBean serverBean, LocalPeerBean ... method setState (line 93) | @Override method unregisterJMX (line 98) | @Override method unregisterJMX (line 111) | protected void unregisterJMX(ZooKeeperServer zks) { method getState (line 123) | @Override method getServerId (line 132) | @Override method shutdown (line 137) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/RemotePeerBean.java class RemotePeerBean (line 28) | public class RemotePeerBean implements RemotePeerMXBean,ZKMBeanInfo { method RemotePeerBean (line 31) | public RemotePeerBean(QuorumPeer.QuorumServer peer){ method getName (line 34) | public String getName() { method isHidden (line 37) | public boolean isHidden() { method getQuorumAddress (line 41) | public String getQuorumAddress() { FILE: src/java/main/org/apache/zookeeper/server/quorum/RemotePeerMXBean.java type RemotePeerMXBean (line 24) | public interface RemotePeerMXBean { method getName (line 28) | public String getName(); method getQuorumAddress (line 32) | public String getQuorumAddress(); FILE: src/java/main/org/apache/zookeeper/server/quorum/SendAckRequestProcessor.java class SendAckRequestProcessor (line 31) | public class SendAckRequestProcessor implements RequestProcessor, Flusha... method SendAckRequestProcessor (line 36) | SendAckRequestProcessor(Learner peer) { method processRequest (line 40) | public void processRequest(Request si) { method flush (line 60) | public void flush() throws IOException { method shutdown (line 76) | public void shutdown() { FILE: src/java/main/org/apache/zookeeper/server/quorum/ServerBean.java class ServerBean (line 28) | public abstract class ServerBean implements ServerMXBean, ZKMBeanInfo { method isHidden (line 31) | public boolean isHidden() { method getStartTime (line 35) | public String getStartTime() { FILE: src/java/main/org/apache/zookeeper/server/quorum/ServerMXBean.java type ServerMXBean (line 24) | public interface ServerMXBean { method getName (line 28) | public String getName(); method getStartTime (line 32) | public String getStartTime(); FILE: src/java/main/org/apache/zookeeper/server/quorum/StateSummary.java class StateSummary (line 25) | public class StateSummary { method StateSummary (line 28) | public StateSummary(long currentEpoch, long lastZxid) { method getCurrentEpoch (line 33) | public long getCurrentEpoch() { method getLastZxid (line 37) | public long getLastZxid() { method isMoreRecentThan (line 41) | public boolean isMoreRecentThan(StateSummary ss) { method equals (line 44) | @Override method hashCode (line 53) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/Vote.java class Vote (line 26) | public class Vote { method Vote (line 29) | public Vote(long id, method Vote (line 39) | public Vote(long id, method Vote (line 50) | public Vote(long id, method Vote (line 62) | public Vote(int version, method Vote (line 76) | public Vote(long id, method getVersion (line 99) | public int getVersion() { method getId (line 103) | public long getId() { method getZxid (line 107) | public long getZxid() { method getElectionEpoch (line 111) | public long getElectionEpoch() { method getPeerEpoch (line 115) | public long getPeerEpoch() { method getState (line 119) | public ServerState getState() { method equals (line 125) | @Override method hashCode (line 158) | @Override method toString (line 163) | public String toString() { FILE: src/java/main/org/apache/zookeeper/server/quorum/auth/NullQuorumAuthLearner.java class NullQuorumAuthLearner (line 27) | public class NullQuorumAuthLearner implements QuorumAuthLearner { method authenticate (line 29) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/auth/NullQuorumAuthServer.java class NullQuorumAuthServer (line 28) | public class NullQuorumAuthServer implements QuorumAuthServer { method authenticate (line 30) | @Override FILE: src/java/main/org/apache/zookeeper/server/quorum/auth/QuorumAuth.java class QuorumAuth (line 30) | public class QuorumAuth { type Status (line 54) | public enum Status { method Status (line 58) | Status(int status) { method getStatus (line 62) | static Status getStatus(int status) { method status (line 77) | int status() { method createPacket (line 82) | public static QuorumAuthPacket createPacket(Status status, byte[] resp... method nextPacketIsAuth (line 87) | public static boolean nextPacketIsAuth(DataInputStream din) FILE: src/java/main/org/apache/zookeeper/server/quorum/auth/QuorumAuthLearner.java type QuorumAuthLearner (line 27) | public interface QuorumAuthLearner { method authenticate (line 39) | public void authenticate(Socket sock, String hostname) throws IOExcept... FILE: src/java/main/org/apache/zookeeper/server/quorum/auth/QuorumAuthServer.java type QuorumAuthServer (line 28) | public interface QuorumAuthServer { method authenticate (line 39) | public void authenticate(Socket sock, DataInputStream din) FILE: src/java/main/org/apache/zookeeper/server/quorum/auth/SaslQuorumAuthLearner.java class SaslQuorumAuthLearner (line 45) | public class SaslQuorumAuthLearner implements QuorumAuthLearner { method SaslQuorumAuthLearner (line 53) | public SaslQuorumAuthLearner(boolean quorumRequireSasl, method authenticate (line 76) | @Override method checkAuthStatus (line 151) | private void checkAuthStatus(Socket sock, QuorumAuth.Status qpStatus) method receive (line 163) | private QuorumAuthPacket receive(DataInputStream din) throws IOExcepti... method send (line 170) | private void send(DataOutputStream dout, byte[] response) method createSaslToken (line 183) | private byte[] createSaslToken(final byte[] saslToken, FILE: src/java/main/org/apache/zookeeper/server/quorum/auth/SaslQuorumAuthServer.java class SaslQuorumAuthServer (line 42) | public class SaslQuorumAuthServer implements QuorumAuthServer { method SaslQuorumAuthServer (line 51) | public SaslQuorumAuthServer(boolean quorumRequireSasl, String loginCon... method authenticate (line 73) | @Override method receive (line 157) | private byte[] receive(DataInputStream din) throws IOException { method send (line 164) | private void send(DataOutputStream dout, byte[] challenge, FILE: src/java/main/org/apache/zookeeper/server/quorum/auth/SaslQuorumServerCallbackHandler.java class SaslQuorumServerCallbackHandler (line 44) | public class SaslQuorumServerCallbackHandler implements CallbackHandler { method SaslQuorumServerCallbackHandler (line 52) | public SaslQuorumServerCallbackHandler(Configuration configuration, method handle (line 79) | public void handle(Callback[] callbacks) throws UnsupportedCallbackExc... method handleNameCallback (line 93) | private void handleNameCallback(NameCallback nc) { method handlePasswordCallback (line 104) | private void handlePasswordCallback(PasswordCallback pc) { method handleRealmCallback (line 112) | private void handleRealmCallback(RealmCallback rc) { method handleAuthorizeCallback (line 117) | private void handleAuthorizeCallback(AuthorizeCallback ac) { FILE: src/java/main/org/apache/zookeeper/server/quorum/flexible/QuorumHierarchical.java class QuorumHierarchical (line 67) | public class QuorumHierarchical implements QuorumVerifier { method QuorumHierarchical (line 81) | public QuorumHierarchical(String filename) method QuorumHierarchical (line 96) | public QuorumHierarchical(Properties qp) method QuorumHierarchical (line 117) | public QuorumHierarchical(int numGroups, method getWeight (line 135) | public long getWeight(long id){ method readConfigFile (line 143) | private void readConfigFile(String filename) method parse (line 176) | private void parse(Properties quorumProp){ method computeGroupWeight (line 208) | private void computeGroupWeight(){ method containsQuorum (line 235) | public boolean containsQuorum(HashSet set){ FILE: src/java/main/org/apache/zookeeper/server/quorum/flexible/QuorumMaj.java class QuorumMaj (line 33) | public class QuorumMaj implements QuorumVerifier { method QuorumMaj (line 43) | public QuorumMaj(int n){ method getWeight (line 52) | public long getWeight(long id){ method containsQuorum (line 59) | public boolean containsQuorum(HashSet set){ FILE: src/java/main/org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.java type QuorumVerifier (line 30) | public interface QuorumVerifier { method getWeight (line 31) | long getWeight(long id); method containsQuorum (line 32) | boolean containsQuorum(HashSet set); FILE: src/java/main/org/apache/zookeeper/server/upgrade/DataNodeV1.java class DataNodeV1 (line 41) | public class DataNodeV1 implements Record { method DataNodeV1 (line 42) | DataNodeV1() { method DataNodeV1 (line 46) | DataNodeV1(DataNodeV1 parent, byte data[], List acl, StatPersiste... method setChildren (line 60) | public void setChildren(HashSet children) { method getChildren (line 68) | public HashSet getChildren() { method copyStat (line 82) | public void copyStat(Stat to) { method deserialize (line 95) | public void deserialize(InputArchive archive, String tag) method serialize (line 115) | synchronized public void serialize(OutputArchive archive, String tag) FILE: src/java/main/org/apache/zookeeper/server/upgrade/DataTreeV1.java class DataTreeV1 (line 62) | public class DataTreeV1 { method getEphemeralsMap (line 84) | public Map> getEphemeralsMap() { method setEphemeralsMap (line 88) | public void setEphemeralsMap(Map> ephemerals) { method getEphemerals (line 92) | @SuppressWarnings("unchecked") method getSessions (line 105) | public Collection getSessions() { method getNode (line 109) | public DataNodeV1 getNode(String path) { method DataTreeV1 (line 119) | public DataTreeV1() { method copyStatPersisted (line 125) | static public void copyStatPersisted(StatPersistedV1 from, StatPersist... method copyStat (line 136) | static public void copyStat(Stat from, Stat to) { method createNode (line 178) | public String createNode(String path, byte data[], List acl, method deleteNode (line 222) | public void deleteNode(String path) throws KeeperException.NoNodeExcep... method setData (line 255) | public Stat setData(String path, byte data[], int version, long zxid, method getData (line 273) | public byte[] getData(String path, Stat stat, Watcher watcher) throws ... method statNode (line 287) | public Stat statNode(String path, Watcher watcher) throws KeeperExcept... method getChildren (line 302) | public ArrayList getChildren(String path, Stat stat, Watcher w... method setACL (line 317) | public Stat setACL(String path, List acl, int version) throws Kee... method getACL (line 331) | @SuppressWarnings("unchecked") class ProcessTxnResult (line 343) | static public class ProcessTxnResult { method equals (line 356) | @Override method hashCode (line 371) | @Override method processTxn (line 380) | @SuppressWarnings("unchecked") method killSession (line 431) | void killSession(long session) { method serializeNode (line 466) | void serializeNode(OutputArchive oa, StringBuilder path) method serialize (line 498) | public void serialize(OutputArchive oa, String tag) throws IOException, method deserialize (line 509) | public void deserialize(InputArchive ia, String tag) throws IOException { method dumpEphemerals (line 538) | public String dumpEphemerals() { method removeCnxn (line 555) | public void removeCnxn(Watcher watcher) { method clear (line 560) | public void clear() { FILE: src/java/main/org/apache/zookeeper/server/upgrade/UpgradeMain.java class UpgradeMain (line 40) | @InterfaceAudience.Public method UpgradeMain (line 65) | public UpgradeMain(File dataDir, File snapShotDir) { method createAllDirs (line 79) | private void createAllDirs() throws IOException { method copyFiles (line 117) | void copyFiles(File srcDir, File dstDir, String filter) throws IOExcep... method runUpgrade (line 139) | public void runUpgrade() throws IOException { method main (line 172) | public static void main(String[] argv) { FILE: src/java/main/org/apache/zookeeper/server/upgrade/UpgradeSnapShot.java type UpgradeSnapShot (line 30) | public interface UpgradeSnapShot { method getNewDataTree (line 31) | public DataTree getNewDataTree() throws IOException; method getSessionWithTimeOuts (line 32) | public ConcurrentHashMap getSessionWithTimeOuts(); FILE: src/java/main/org/apache/zookeeper/server/upgrade/UpgradeSnapShotV1.java class UpgradeSnapShotV1 (line 58) | public class UpgradeSnapShotV1 implements UpgradeSnapShot { method UpgradeSnapShotV1 (line 72) | public UpgradeSnapShotV1(File dataDir, File snapShotDir) { method deserializeSnapshot (line 85) | private void deserializeSnapshot(DataTreeV1 oldTree, InputArchive ia, method playLog (line 108) | public long playLog(InputArchive logStream) throws IOException { method processLogFiles (line 179) | private long processLogFiles(DataTreeV1 oldTree, method loadThisSnapShot (line 198) | private void loadThisSnapShot() throws IOException { method findMostRecentSnapshot (line 228) | private File findMostRecentSnapshot() throws IOException { method convertStat (line 247) | private StatPersisted convertStat(StatPersistedV1 oldStat) { method convertDataNode (line 267) | private DataNode convertDataNode(DataTree dt, DataNode parent, method recurseThroughDataTree (line 282) | private void recurseThroughDataTree(DataTree dataTree, String path) { method convertThisSnapShot (line 309) | private DataTree convertThisSnapShot() throws IOException { method getNewDataTree (line 323) | public DataTree getNewDataTree() throws IOException { method getSessionWithTimeOuts (line 329) | public ConcurrentHashMap getSessionWithTimeOuts() { FILE: src/java/main/org/apache/zookeeper/server/util/KerberosUtil.java class KerberosUtil (line 24) | public class KerberosUtil { method getDefaultRealm (line 26) | public static String getDefaultRealm() FILE: src/java/main/org/apache/zookeeper/server/util/OSMXBean.java class OSMXBean (line 40) | public class OSMXBean method OSMXBean (line 56) | public OSMXBean () { method getUnix (line 66) | public boolean getUnix() { method getOSUnixMXBeanMethod (line 79) | private Long getOSUnixMXBeanMethod (String mBeanMethodName) method getOpenFileDescriptorCount (line 104) | public long getOpenFileDescriptorCount() method getMaxFileDescriptorCount (line 149) | public long getMaxFileDescriptorCount() FILE: src/java/main/org/apache/zookeeper/server/util/Profiler.java class Profiler (line 24) | public class Profiler { type Operation (line 27) | public interface Operation { method execute (line 28) | public T execute() throws Exception; method profile (line 31) | public static T profile(Operation op, long timeout, String mess... FILE: src/java/main/org/apache/zookeeper/server/util/SerializeUtils.java class SerializeUtils (line 48) | public class SerializeUtils { method deserializeTxn (line 51) | public static Record deserializeTxn(byte txnBytes[], TxnHeader hdr) method deserializeSnapshot (line 113) | public static void deserializeSnapshot(DataTree dt,InputArchive ia, method serializeSnapshot (line 130) | public static void serializeSnapshot(DataTree dt,OutputArchive oa, FILE: src/java/main/org/apache/zookeeper/server/util/ZxidUtils.java class ZxidUtils (line 21) | public class ZxidUtils { method getEpochFromZxid (line 22) | static public long getEpochFromZxid(long zxid) { method getCounterFromZxid (line 25) | static public long getCounterFromZxid(long zxid) { method makeZxid (line 28) | static public long makeZxid(long epoch, long counter) { method zxidToString (line 31) | static public String zxidToString(long zxid) { FILE: src/java/main/org/apache/zookeeper/util/SecurityUtils.java class SecurityUtils (line 42) | public final class SecurityUtils { method createSaslClient (line 59) | public static SaslClient createSaslClient(final Subject subject, method createSaslServer (line 153) | public static SaslServer createSaslServer(final Subject subject, method getServerPrincipal (line 278) | public static String getServerPrincipal(String principalConfig, method getComponents (line 289) | private static String[] getComponents(String principalConfig) { method replacePattern (line 295) | private static String replacePattern(String[] components, String hostn... FILE: src/java/main/org/apache/zookeeper/version/util/VerGen.java class VerGen (line 27) | public class VerGen { method printUsage (line 31) | static void printUsage() { method generateFile (line 37) | public static void generateFile(File outputDir, Version version, Strin... class Version (line 106) | public static class Version { method parseVersionString (line 113) | public static Version parseVersionString(String input) { method main (line 150) | public static void main(String[] args) { FILE: src/java/systest/org/apache/zookeeper/test/system/BaseSysTest.java class BaseSysTest (line 39) | @Ignore("No tests in this class.") method setUp (line 55) | @Override method tearDown (line 63) | @Override method getHostPort (line 81) | public String getHostPort() { method getServerCount (line 84) | public int getServerCount() { method getClientCount (line 87) | public int getClientCount() { method startServers (line 91) | public void startServers() throws IOException { method stopServers (line 96) | public void stopServers() throws IOException { method startClients (line 101) | public void startClients() throws IOException { method stopClients (line 106) | public void stopClients() throws IOException { method configureServers (line 114) | public void configureServers(int count) throws Exception { method distributedConfigureServers (line 123) | private void distributedConfigureServers(int count) throws IOException { method fakeConfigureServers (line 148) | private void fakeConfigureServers(int count) throws IOException { method startServer (line 176) | public void startServer(int index) throws IOException { method stopServer (line 191) | public void stopServer(int index) throws IOException { method configureClients (line 205) | public void configureClients(int count, Class claz... method distributedConfigureClients (line 215) | private void distributedConfigureClients(int count, Class... method startClient (line 242) | public void startClient(int index) throws IOException { method distributedStartClient (line 249) | private void distributedStartClient(int index) throws IOException { method fakeStartClient (line 256) | private void fakeStartClient(int index) { method stopClient (line 259) | public void stopClient(int index) throws IOException { method distributedStopClient (line 266) | private void distributedStopClient(int index) throws IOException { method fakeStopClient (line 273) | private void fakeStopClient(int index) { method main (line 277) | static public void main(String args[]) { FILE: src/java/systest/org/apache/zookeeper/test/system/DuplicateNameException.java class DuplicateNameException (line 21) | public class DuplicateNameException extends Exception { method DuplicateNameException (line 23) | public DuplicateNameException(String mess) { FILE: src/java/systest/org/apache/zookeeper/test/system/GenerateLoad.java class GenerateLoad (line 58) | public class GenerateLoad { method add (line 84) | synchronized static void add(long time, int count, Socket s) { method remove (line 101) | synchronized static long remove(long interval) { class SlaveThread (line 106) | static class SlaveThread extends Thread { method SlaveThread (line 109) | SlaveThread(Socket s) { method run (line 115) | public void run() { method send (line 144) | void send(int percentage) { method close (line 152) | void close() { class AcceptorThread (line 163) | static class AcceptorThread extends Thread { method AcceptorThread (line 164) | AcceptorThread() { method run (line 169) | public void run() { class ReporterThread (line 188) | static class ReporterThread extends Thread { method ReporterThread (line 191) | ReporterThread() { method run (line 196) | public void run() { method sendChange (line 252) | synchronized static void sendChange(int percentage) { class GeneratorInstance (line 267) | static public class GeneratorInstance implements Instance { class ZooKeeperThread (line 291) | class ZooKeeperThread extends Thread implements Watcher, DataCallback, method ZooKeeperThread (line 295) | ZooKeeperThread(String host) { method incOutstanding (line 304) | synchronized void incOutstanding() throws InterruptedException { method decOutstanding (line 311) | synchronized void decOutstanding() { method run (line 324) | public void run() { method process (line 369) | public void process(WatchedEvent event) { method processResult (line 379) | public void processResult(int rc, String path, Object ctx, byte[] ... method processResult (line 397) | public void processResult(int rc, String path, Object ctx, Stat st... class SenderThread (line 412) | class SenderThread extends Thread { method SenderThread (line 415) | SenderThread(Socket s) { method run (line 421) | public void run() { method configure (line 460) | public void configure(final String params) { method setReporter (line 493) | public void setReporter(Reporter r) { method start (line 497) | public void start() { method stop (line 505) | public void stop() { class StatusWatcher (line 533) | private static class StatusWatcher implements Watcher { method process (line 536) | public void process(WatchedEvent event) { method isConnected (line 545) | public boolean isConnected() { method waitConnected (line 549) | synchronized public boolean waitConnected(long timeout) method processOptions (line 562) | private static String []processOptions(String args[]) { method main (line 585) | public static void main(String[] args) throws InterruptedException, method getMode (line 697) | private static String getMode(String hostPort) throws NumberFormatExce... method doUsage (line 715) | private static void doUsage() { FILE: src/java/systest/org/apache/zookeeper/test/system/Instance.java type Instance (line 28) | public interface Instance { type Reporter (line 32) | interface Reporter { method report (line 33) | void report(String report) throws KeeperException, InterruptedExcept... method setReporter (line 42) | void setReporter(Reporter r); method configure (line 50) | void configure(String params); method start (line 54) | void start(); method stop (line 58) | void stop(); FILE: src/java/systest/org/apache/zookeeper/test/system/InstanceContainer.java class InstanceContainer (line 47) | public class InstanceContainer implements Watcher, AsyncCallback.Childre... class MyWatcher (line 48) | private final class MyWatcher implements Watcher { method MyWatcher (line 51) | MyWatcher(String myNode, DataCallback dc) { method process (line 55) | public void process(WatchedEvent event) { class MyDataCallback (line 61) | private final class MyDataCallback implements DataCallback { method MyDataCallback (line 66) | MyDataCallback(String myNode, Instance myInstance, int ver) { method processResult (line 71) | public void processResult(int rc, String path, class MyReporter (line 88) | private final class MyReporter implements Reporter { method MyReporter (line 91) | public MyReporter(String child) { method report (line 95) | public void report(String report) throws KeeperException, Interrupte... method InstanceContainer (line 119) | public InstanceContainer(String name, String zkHostPort, String prefix... method rmnod (line 131) | private void rmnod(String path) throws InterruptedException, KeeperExc... method mknod_inner (line 149) | private void mknod_inner(String path, CreateMode mode) throws KeeperEx... method mknod (line 172) | private void mknod(String path, CreateMode mode) throws KeeperExceptio... method run (line 187) | public void run() throws IOException, InterruptedException, KeeperExce... method main (line 205) | public static void main(String[] args) throws UnknownHostException, IO... method process (line 216) | public void process(WatchedEvent event) { method processResult (line 229) | public void processResult(int rc, String path, Object ctx, FILE: src/java/systest/org/apache/zookeeper/test/system/InstanceManager.java class InstanceManager (line 54) | public class InstanceManager implements AsyncCallback.ChildrenCallback, ... class Assigned (line 63) | private static final class Assigned { method Assigned (line 67) | Assigned(String container, String instance, int weight) { method InstanceManager (line 85) | public InstanceManager(ZooKeeper zk, String prefix) throws KeeperExcep... method setupNodes (line 113) | private void setupNodes(ZooKeeper zk) throws KeeperException, method processResult (line 132) | synchronized public void processResult(int rc, String path, Object ctx, method removeAssignmentNode (line 162) | private void removeAssignmentNode(String dead) throws KeeperException,... method process (line 173) | public void process(WatchedEvent event) { method assignInstance (line 178) | synchronized public String assignInstance(String name, Class klass) throws InitializationError { class LoggedInvokeMethod (line 41) | public class LoggedInvokeMethod extends InvokeMethod { method LoggedInvokeMethod (line 45) | public LoggedInvokeMethod(FrameworkMethod method, Object target) { method evaluate (line 51) | @Override method methodInvoker (line 82) | @Override FILE: src/java/test/org/apache/zookeeper/JaasConfiguration.java class JaasConfiguration (line 37) | public class JaasConfiguration extends javax.security.auth.login.Configu... method JaasConfiguration (line 41) | public JaasConfiguration() { method addSection (line 50) | public void addSection(String name, String loginModuleName, String... ... method addSection (line 65) | public void addSection(String name, String loginModuleName, final Map<... method getAppConfigurationEntry (line 71) | @Override FILE: src/java/test/org/apache/zookeeper/MockPacket.java class MockPacket (line 27) | public class MockPacket extends ClientCnxn.Packet { method MockPacket (line 29) | public MockPacket(RequestHeader requestHeader, ReplyHeader replyHeader, method MockPacket (line 35) | public MockPacket(RequestHeader requestHeader, ReplyHeader replyHeader, method createAndReturnBB (line 41) | public ByteBuffer createAndReturnBB() { FILE: src/java/test/org/apache/zookeeper/MultiResponseTest.java class MultiResponseTest (line 31) | public class MultiResponseTest extends TestCase { method testRoundTrip (line 32) | public void testRoundTrip() throws IOException { method testEmptyRoundTrip (line 49) | @Test method codeDecode (line 58) | private MultiResponse codeDecode(MultiResponse request) throws IOExcep... FILE: src/java/test/org/apache/zookeeper/MultiTransactionRecordTest.java class MultiTransactionRecordTest (line 31) | public class MultiTransactionRecordTest extends TestCase { method testRoundTrip (line 32) | @Test method testEmptyRoundTrip (line 46) | @Test method codeDecode (line 55) | private MultiTransactionRecord codeDecode(MultiTransactionRecord reque... FILE: src/java/test/org/apache/zookeeper/PortAssignment.java class PortAssignment (line 25) | public class PortAssignment { method unique (line 31) | public synchronized static int unique() { FILE: src/java/test/org/apache/zookeeper/SaslAuthTest.java class SaslAuthTest (line 42) | public class SaslAuthTest extends ClientBase { method init (line 43) | @BeforeClass method getJaasFileContent (line 61) | private static String getJaasFileContent() { method clean (line 85) | @AfterClass method createClient (line 93) | @Override class MyWatcher (line 101) | private class MyWatcher extends CountdownWatcher { method process (line 102) | @Override method testAuth (line 113) | @Test method testValidSaslIds (line 124) | @Test method testInvalidSaslIds (line 144) | @Test method testZKOperationsAfterClientSaslAuthFailure (line 170) | @Test method setSaslFailureFlag (line 201) | private void setSaslFailureFlag(ZooKeeper zk) throws Exception { FILE: src/java/test/org/apache/zookeeper/ServerConfigTest.java class ServerConfigTest (line 31) | public class ServerConfigTest { method setUp (line 35) | @Before method testFewArguments (line 40) | @Test(expected=IllegalArgumentException.class) method testValidArguments (line 46) | @Test method testTooManyArguments (line 57) | @Test(expected=IllegalArgumentException.class) method checkEquality (line 63) | boolean checkEquality(String a, String b) { method checkEquality (line 69) | boolean checkEquality(String a, File b) { FILE: src/java/test/org/apache/zookeeper/TestableZooKeeper.java class TestableZooKeeper (line 31) | public class TestableZooKeeper extends ZooKeeper { method TestableZooKeeper (line 33) | public TestableZooKeeper(String host, int sessionTimeout, method getChildWatches (line 38) | @Override method getDataWatches (line 44) | @Override method getExistWatches (line 50) | @Override method testableConnloss (line 59) | public void testableConnloss() throws IOException { method pauseCnxn (line 71) | public boolean pauseCnxn(final long ms) { method testableWaitForShutdown (line 99) | public boolean testableWaitForShutdown(int wait) method testableLocalSocketAddress (line 105) | public SocketAddress testableLocalSocketAddress() { method testableRemoteSocketAddress (line 109) | public SocketAddress testableRemoteSocketAddress() { method testableLastZxid (line 116) | public long testableLastZxid() { method submitRequest (line 120) | public ReplyHeader submitRequest(RequestHeader h, Record request, FILE: src/java/test/org/apache/zookeeper/VerGenTest.java class VerGenTest (line 38) | @RunWith(Parameterized.class) method data (line 40) | @Parameters method VerGenTest (line 57) | public VerGenTest(String input, Object[] expected) { method testParser (line 62) | @Test method testGenFile (line 71) | @Test FILE: src/java/test/org/apache/zookeeper/ZKTestCase.java class ZKTestCase (line 40) | @RunWith(JUnit4ZKTestRunner.class) method getTestName (line 46) | protected String getTestName() { method starting (line 52) | @Override method finished (line 62) | @Override method succeeded (line 67) | @Override method failed (line 72) | @Override method assumeIPv6Available (line 79) | protected void assumeIPv6Available() { FILE: src/java/test/org/apache/zookeeper/ZooKeeperTest.java class ZooKeeperTest (line 39) | public class ZooKeeperTest extends ClientBase { method testDeleteRecursive (line 41) | @Test method testDeleteRecursiveAsync (line 76) | @Test method testStatWhenPathDoesNotExist (line 130) | @Test method testParseWithExtraSpaces (line 145) | @Test method testCheckInvalidAcls (line 156) | @Test method testDeleteWithInvalidVersionNo (line 168) | @Test method testCliCommandsNotEchoingUsage (line 183) | @Test method testParseWithQuotes (line 204) | @Test method testParseWithMixedQuotes (line 218) | @Test method testParseWithEmptyQuotes (line 234) | @Test method testParseWithMultipleQuotes (line 246) | @Test method testRedoWithNegativeCmdNumber (line 260) | @Test FILE: src/java/test/org/apache/zookeeper/common/TimeTest.java class TimeTest (line 49) | public class TimeTest extends ClientBase { method main (line 56) | public static void main(String[] args) throws Exception { method createWatcher (line 72) | private static Watcher createWatcher() { method waitByYielding (line 84) | private static void waitByYielding(long delay) { method discrepancy (line 91) | private static long discrepancy() { method testElapsedTimeToDate (line 95) | @Test FILE: src/java/test/org/apache/zookeeper/server/CRCTest.java class CRCTest (line 55) | public class CRCTest extends ZKTestCase implements Watcher { method corruptFile (line 68) | private void corruptFile(File file) throws IOException { method getCheckSum (line 80) | private boolean getCheckSum(FileSnap snap, File snapFile) throws IOExc... method testChecksums (line 112) | @Test method process (line 182) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/server/DataNodeTest.java class DataNodeTest (line 26) | public class DataNodeTest { method testGetChildrenShouldReturnEmptySetWhenThereAreNoChidren (line 28) | @Test method testGetChildrenReturnsImmutableEmptySet (line 54) | @Test FILE: src/java/test/org/apache/zookeeper/server/DataTreeTest.java class DataTreeTest (line 52) | public class DataTreeTest extends ZKTestCase { method setUp (line 57) | @Before method tearDown (line 62) | @After method testDumpEphemerals (line 71) | @Test(timeout = 60000) method killZkClientSession (line 104) | private void killZkClientSession(long session, long zxid, method createEphemeralNode (line 111) | private void createEphemeralNode(long session, final DataTree dataTree, method testRootWatchTriggered (line 119) | @Test(timeout = 60000) method testIncrementCversion (line 139) | @Test(timeout = 60000) method testPathTrieClearOnDeserialize (line 154) | @Test(timeout = 60000) method testSerializeDoesntLockDataNodeWhileWriting (line 193) | @Test(timeout = 60000) FILE: src/java/test/org/apache/zookeeper/server/DataTreeUnitTest.java class DataTreeUnitTest (line 30) | public class DataTreeUnitTest extends ZKTestCase { method setUp (line 33) | @Before method tearDown (line 38) | @After method testRootWatchTriggered (line 43) | @Test FILE: src/java/test/org/apache/zookeeper/server/DatadirCleanupManagerTest.java class DatadirCleanupManagerTest (line 34) | public class DatadirCleanupManagerTest { method setUp (line 40) | @Before method testPurgeTask (line 47) | @Test method testWithZeroPurgeInterval (line 63) | @Test method testWithNegativePurgeInterval (line 74) | @Test method tearDown (line 85) | @After FILE: src/java/test/org/apache/zookeeper/server/DeserializationPerfTest.java class DeserializationPerfTest (line 34) | public class DeserializationPerfTest extends ZKTestCase { method deserializeTree (line 37) | private static void deserializeTree(int depth, int width, int len) method testSingleDeserialize (line 71) | @Test method testWideDeserialize (line 77) | @Test method testDeepDeserialize (line 83) | @Test method test10Wide5DeepDeserialize (line 89) | @Test method test15Wide5DeepDeserialize (line 95) | @Test method test25Wide4DeepDeserialize (line 101) | @Test method test40Wide4DeepDeserialize (line 107) | @Test method test300Wide3DeepDeserialize (line 113) | @Test FILE: src/java/test/org/apache/zookeeper/server/InvalidSnapCountTest.java class InvalidSnapCountTest (line 41) | public class InvalidSnapCountTest extends ZKTestCase implements Watcher { class MainThread (line 45) | public static class MainThread extends Thread { method MainThread (line 49) | public MainThread(int clientPort) throws IOException { method run (line 80) | public void run() { method shutdown (line 91) | public void shutdown() { class TestMain (line 96) | public static class TestMain extends ZooKeeperServerMain { method shutdown (line 97) | public void shutdown() { method testInvalidSnapCount (line 105) | @Test method process (line 123) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/server/InvalidSnapshotTest.java class InvalidSnapshotTest (line 39) | public class InvalidSnapshotTest extends ClientBase { method InvalidSnapshotTest (line 43) | public InvalidSnapshotTest() { method testInvalidSnapshot (line 51) | @Test FILE: src/java/test/org/apache/zookeeper/server/MockNIOServerCnxn.java class MockNIOServerCnxn (line 25) | public class MockNIOServerCnxn extends NIOServerCnxn { method MockNIOServerCnxn (line 27) | public MockNIOServerCnxn(ZooKeeperServer zk, SocketChannel sock, method doIO (line 36) | public void doIO(SelectionKey k) throws InterruptedException { method isSocketOpen (line 40) | @Override FILE: src/java/test/org/apache/zookeeper/server/NIOServerCnxnTest.java class NIOServerCnxnTest (line 34) | public class NIOServerCnxnTest extends ClientBase { method testOperationsAfterCnxnClose (line 40) | @Test(timeout = 60000) class MockNIOServerCnxn (line 77) | private static class MockNIOServerCnxn extends NIOServerCnxn { method MockNIOServerCnxn (line 78) | public MockNIOServerCnxn(NIOServerCnxn cnxn) method mockSendBuffer (line 83) | public void mockSendBuffer(ByteBuffer bb) throws Exception { method testValidSelectionKey (line 88) | @Test(timeout = 30000) FILE: src/java/test/org/apache/zookeeper/server/NettyServerCnxnTest.java class NettyServerCnxnTest (line 41) | public class NettyServerCnxnTest extends ClientBase { method setUp (line 45) | @Override method testSendCloseSession (line 60) | @Test(timeout = 30000) FILE: src/java/test/org/apache/zookeeper/server/PrepRequestProcessorTest.java class PrepRequestProcessorTest (line 53) | public class PrepRequestProcessorTest extends ClientBase { method setup (line 64) | @Before method teardown (line 79) | @After method testPRequest (line 89) | @Test method createRequest (line 101) | private Request createRequest(Record record, int opCode) throws IOExce... method process (line 114) | private void process(List ops) throws Exception { method testMultiOutstandingChange (line 129) | @Test method testMultiRollbackNoLastChange (line 165) | @Test method testInvalidPath (line 187) | @Test class MyRequestProcessor (line 200) | private class MyRequestProcessor implements RequestProcessor { method processRequest (line 201) | @Override method shutdown (line 208) | @Override class MySessionTracker (line 214) | private class MySessionTracker implements SessionTracker { method addSession (line 215) | @Override method checkSession (line 220) | @Override method createSession (line 226) | @Override method dumpSessions (line 231) | @Override method removeSession (line 236) | @Override method setOwner (line 241) | @Override method shutdown (line 247) | @Override method touchSession (line 252) | @Override method setSessionClosing (line 257) | @Override FILE: src/java/test/org/apache/zookeeper/server/PurgeTxnTest.java class PurgeTxnTest (line 54) | public class PurgeTxnTest extends ZKTestCase implements Watcher { method teardown (line 61) | @After method testPurge (line 72) | @Test method testPurgeWhenLogRollingInProgress (line 119) | @Test method testFindNRecentSnapshots (line 174) | @Test method testSnapFilesGreaterThanToRetain (line 234) | @Test method testSnapFilesEqualsToRetain (line 278) | @Test method testSnapFilesEqualsToRetainWithPrecedingLog (line 287) | @Test method internalTestSnapFilesEqualsToRetain (line 292) | public void internalTestSnapFilesEqualsToRetain(boolean testWithPreced... method testSnapFilesLessThanToRetain (line 314) | @Test method testPurgeTxnLogWithDataDir (line 351) | @Test method testPurgeTxnLogWithoutDataDir (line 397) | @Test method testPurgeDoesNotDeleteOverlappingLogFile (line 440) | @Test method createDataDirLogFile (line 521) | private File createDataDirLogFile(File version_2, int Zxid) throws IOE... method createDataDirFiles (line 528) | private void createDataDirFiles(AtomicInteger offset, int limit, boole... method verifyFilesAfterPurge (line 551) | private void verifyFilesAfterPurge(List logs, boolean exists) { method manyClientOps (line 558) | private List manyClientOps(final ZooKeeper zk, method process (line 600) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/server/ReferenceCountedACLCacheTest.java class ReferenceCountedACLCacheTest (line 36) | public class ReferenceCountedACLCacheTest { method testSameACLGivesSameID (line 37) | @Test method testWhetherOrderingMatters (line 49) | @Test method testBidirectionality (line 65) | @Test method testCacheSize (line 75) | @Test method testAddThenRemove (line 95) | @Test method testMultipleAddsAndRemove (line 107) | @Test method testAddUsage (line 130) | @Test method testAddNonExistentUsage (line 147) | @Test method testSerializeDeserialize (line 163) | @Test method assertCachesEqual (line 195) | private void assertCachesEqual(ReferenceCountedACLCache expected, Refe... method testPurgeUnused (line 202) | @Test method callAddUsageNTimes (line 237) | private void callAddUsageNTimes(ReferenceCountedACLCache deserializedC... method convertACLsNTimes (line 243) | private Long convertACLsNTimes(ReferenceCountedACLCache cache, List createACL(String id) { FILE: src/java/test/org/apache/zookeeper/server/SerializationPerfTest.java class SerializationPerfTest (line 31) | public class SerializationPerfTest extends ZKTestCase { class NullOutputStream (line 34) | private static class NullOutputStream extends OutputStream { method write (line 35) | public void write(int b) { method createNodes (line 40) | static int createNodes(DataTree tree, String path, int depth, method serializeTree (line 59) | private static void serializeTree(int depth, int width, int len) method testSingleSerialize (line 78) | @Test method testWideSerialize (line 84) | @Test method testDeepSerialize (line 90) | @Test method test10Wide5DeepSerialize (line 96) | @Test method test15Wide5DeepSerialize (line 102) | @Test method test25Wide4DeepSerialize (line 108) | @Test method test40Wide4DeepSerialize (line 114) | @Test method test300Wide3DeepSerialize (line 120) | @Test FILE: src/java/test/org/apache/zookeeper/server/ServerCnxnFactoryAccessor.java class ServerCnxnFactoryAccessor (line 20) | public class ServerCnxnFactoryAccessor { method getZkServer (line 21) | public static ZooKeeperServer getZkServer(ServerCnxnFactory fac) { FILE: src/java/test/org/apache/zookeeper/server/SessionTrackerTest.java class SessionTrackerTest (line 38) | public class SessionTrackerTest extends ZKTestCase { method testAddSessionAfterSessionExpiry (line 49) | @Test(timeout = 20000) method testCloseSessionRequestAfterSessionExpiry (line 91) | @Test(timeout = 20000) method setupSessionTracker (line 119) | private ZooKeeperServer setupSessionTracker() throws IOException { class FirstProcessor (line 134) | private class FirstProcessor extends PrepRequestProcessor { method FirstProcessor (line 137) | public FirstProcessor(ZooKeeperServer zks, method processRequest (line 142) | @Override method getCountOfCloseSessionReq (line 152) | int getCountOfCloseSessionReq() { FILE: src/java/test/org/apache/zookeeper/server/ToStringTest.java class ToStringTest (line 30) | public class ToStringTest extends ZKTestCase { method testJuteToString (line 33) | @Test FILE: src/java/test/org/apache/zookeeper/server/ZooKeeperServerMainTest.java class ZooKeeperServerMainTest (line 57) | public class ZooKeeperServerMainTest extends ZKTestCase implements Watch... class MainThread (line 61) | public static class MainThread extends Thread { method MainThread (line 68) | public MainThread(int clientPort, boolean preCreateDirs) throws IOEx... method MainThread (line 72) | public MainThread(int clientPort, boolean preCreateDirs, File tmpDir... method run (line 111) | public void run() { method shutdown (line 122) | public void shutdown() throws IOException { method deleteDirs (line 126) | void deleteDirs() throws IOException{ method delete (line 130) | void delete(File f) throws IOException { method getCnxnFactory (line 142) | ServerCnxnFactory getCnxnFactory() { class TestZKSMain (line 147) | public static class TestZKSMain extends ZooKeeperServerMain { method shutdown (line 148) | public void shutdown() { method testNonRecoverableError (line 158) | @Test(timeout = 30000) method testReadOnlySnapshotDir (line 216) | @Test(timeout = 30000) method testReadOnlyTxnLogDir (line 256) | @Test(timeout = 30000) method testStandalone (line 293) | @Test method testAutoCreateDataLogDir (line 327) | @Test(timeout = 30000) method testJMXRegistrationWithNIO (line 359) | @Test method testJMXRegistrationWithNetty (line 374) | @Test method testRaceBetweenSyncFlushAndZKShutdown (line 411) | @Test(timeout = 30000) class SimpleZooKeeperServer (line 452) | private class SimpleZooKeeperServer extends ZooKeeperServer { method SimpleZooKeeperServer (line 456) | SimpleZooKeeperServer(FileTxnSnapLog ftsl) throws IOException { method setupRequestProcessors (line 460) | @Override method addRequestToSyncProcessor (line 473) | private void addRequestToSyncProcessor() { method waitForFinalProcessRequest (line 496) | void waitForFinalProcessRequest() throws InterruptedException { method waitForSyncReqProcessorShutdown (line 501) | void waitForSyncReqProcessorShutdown() throws InterruptedException { method resumeFinalProcessRequest (line 506) | void resumeFinalProcessRequest() throws InterruptedException { class MockNettyServerCnxn (line 511) | private class MockNettyServerCnxn extends NettyServerCnxn { method MockNettyServerCnxn (line 512) | public MockNettyServerCnxn(Channel channel, ZooKeeperServer zks, method updateStatsForResponse (line 517) | @Override method sendResponse (line 523) | @Override class SimpleFinalRequestProcessor (line 530) | private class SimpleFinalRequestProcessor extends FinalRequestProcessor { method SimpleFinalRequestProcessor (line 534) | public SimpleFinalRequestProcessor(ZooKeeperServer zks) { method processRequest (line 538) | @Override method waitForProcessRequestToBeCalled (line 553) | boolean waitForProcessRequestToBeCalled() throws InterruptedException { method resumeProcessRequest (line 558) | void resumeProcessRequest() throws InterruptedException { class SimpleSyncRequestProcessor (line 567) | private class SimpleSyncRequestProcessor extends SyncRequestProcessor { method SimpleSyncRequestProcessor (line 570) | public SimpleSyncRequestProcessor(ZooKeeperServer zks, method shutdown (line 575) | @Override method waitForShutdownToBeCalled (line 581) | boolean waitForShutdownToBeCalled() throws InterruptedException { method deleteFile (line 587) | private void deleteFile(File f) throws IOException { method startServer (line 599) | private ServerCnxnFactory startServer(File tmpDir) throws IOException, method process (line 612) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/server/ZooKeeperServerStartupTest.java class ZooKeeperServerStartupTest (line 41) | public class ZooKeeperServerStartupTest extends ZKTestCase { method teardown (line 54) | @After method testClientConnectionRequestDuringStartupWithNIOServerCnxn (line 78) | @Test(timeout = 30000) method testClientConnectionRequestDuringStartupWithNettyServerCnxn (line 116) | @Test(timeout = 30000) method testFourLetterWordsWithNIOServerCnxn (line 170) | @Test(timeout = 30000) method testFourLetterWordsWithNettyServerCnxn (line 188) | @Test(timeout = 30000) method verify (line 216) | private void verify(String cmd, String expected) method sendRequest (line 224) | private String sendRequest(String cmd) method startSimpleZKServer (line 229) | private void startSimpleZKServer(CountDownLatch startupDelayLatch) class SimpleZooKeeperServer (line 256) | private static class SimpleZooKeeperServer extends ZooKeeperServer { method SimpleZooKeeperServer (line 262) | public SimpleZooKeeperServer(File snapDir, File logDir, int tickTime, method startup (line 268) | @Override method createSession (line 286) | @Override method waitForStartupInvocation (line 292) | boolean waitForStartupInvocation(long timeout) method waitForSessionCreation (line 297) | boolean waitForSessionCreation(long timeout) FILE: src/java/test/org/apache/zookeeper/server/ZooKeeperServerTest.java class ZooKeeperServerTest (line 32) | public class ZooKeeperServerTest extends ZKTestCase { method testSortDataDirAscending (line 33) | @Test method testSortDataDirDescending (line 54) | @Test method testGetLogFiles (line 75) | @Test method testForceSyncDefaultEnabled (line 97) | @Test method testForceSyncDefaultDisabled (line 104) | @Test method testInvalidSnapshot (line 118) | @Test FILE: src/java/test/org/apache/zookeeper/server/ZooKeeperThreadTest.java class ZooKeeperThreadTest (line 27) | public class ZooKeeperThreadTest { class MyThread (line 30) | public class MyThread extends ZooKeeperThread { method MyThread (line 32) | public MyThread(String threadName) { method run (line 36) | public void run() { method handleException (line 40) | @Override class MyCriticalThread (line 46) | public class MyCriticalThread extends ZooKeeperCriticalThread { method MyCriticalThread (line 48) | public MyCriticalThread(String threadName) { method run (line 58) | public void run() { method handleException (line 62) | @Override method testUncaughtException (line 71) | @Test(timeout = 30000) FILE: src/java/test/org/apache/zookeeper/server/ZxidRolloverTest.java class ZxidRolloverTest (line 41) | public class ZxidRolloverTest extends TestCase { method getClient (line 51) | private ZooKeeper getClient(int idx) { method setUp (line 55) | @Override method waitForClientsConnected (line 76) | private void waitForClientsConnected() throws Exception { method checkClientsConnected (line 86) | private void checkClientsConnected() throws Exception { method checkClientConnected (line 97) | private void checkClientConnected(int idx) throws Exception { method checkClientsDisconnected (line 124) | private void checkClientsDisconnected() throws Exception { method checkClientDisconnected (line 135) | private void checkClientDisconnected(int idx) throws Exception { method startAll (line 148) | private void startAll() throws Exception { method start (line 154) | private void start(int idx) throws Exception { method checkLeader (line 166) | private void checkLeader() { method shutdownAll (line 176) | private void shutdownAll() throws Exception { method shutdown (line 182) | private void shutdown(int idx) throws Exception { method adjustEpochNearEnd (line 207) | private void adjustEpochNearEnd() { method tearDown (line 211) | @Override method createNodes (line 224) | private int createNodes(ZooKeeper zk, int start, int count) throws Exc... method checkNodes (line 243) | private void checkNodes(ZooKeeper zk, int start, int count) throws Exc... method testSimpleRolloverFollower (line 256) | @Test method testRolloverThenRestart (line 270) | @Test method testRolloverThenFollowerRestart (line 315) | @Test method testRolloverThenLeaderRestart (line 357) | @Test method testMultipleRollover (line 402) | @Test FILE: src/java/test/org/apache/zookeeper/server/persistence/FileTxnLogTest.java class FileTxnLogTest (line 34) | public class FileTxnLogTest extends ZKTestCase { method testInvalidPreallocSize (line 39) | @Test method testCalculateFileSizeWithPaddingWhenNotToCurrentSize (line 47) | @Test method testCalculateFileSizeWithPaddingWhenCloseToCurrentSize (line 53) | @Test method testFileSizeGreaterThanPosition (line 59) | @Test method testPreAllocSizeSmallerThanTxnData (line 65) | @Test FILE: src/java/test/org/apache/zookeeper/server/persistence/FileTxnSnapLogTest.java class FileTxnSnapLogTest (line 31) | public class FileTxnSnapLogTest { method setUp (line 43) | @Before method tearDown (line 50) | @After method createVersionDir (line 62) | private File createVersionDir(File parentDir) { method createLogFile (line 68) | private void createLogFile(File dir, long zxid) throws IOException { method createSnapshotFile (line 73) | private void createSnapshotFile(File dir, long zxid) throws IOException { method twoDirSetupWithCorrectFiles (line 78) | private void twoDirSetupWithCorrectFiles() throws IOException { method singleDirSetupWithCorrectFiles (line 91) | private void singleDirSetupWithCorrectFiles() throws IOException { method testDirCheckWithCorrectFiles (line 101) | @Test method testDirCheckWithSingleDirSetup (line 114) | @Test method testDirCheckWithSnapFilesInLogDir (line 127) | @Test(expected = FileTxnSnapLog.LogDirContentCheckException.class) method testDirCheckWithLogFilesInSnapDir (line 138) | @Test(expected = FileTxnSnapLog.SnapDirContentCheckException.class) FILE: src/java/test/org/apache/zookeeper/server/quorum/CnxManagerTest.java class CnxManagerTest (line 47) | public class CnxManagerTest extends ZKTestCase { method setUp (line 56) | @Before method createMsg (line 76) | ByteBuffer createMsg(int state, long leader, long zxid, long epoch){ class CnxManagerThread (line 80) | class CnxManagerThread extends Thread { method CnxManagerThread (line 83) | CnxManagerThread(){ method run (line 87) | public void run(){ method testCnxManager (line 127) | @Test method testCnxManagerTimeout (line 163) | @Test method testCnxManagerSpinLock (line 202) | @Test class TestCnxManager (line 258) | class TestCnxManager extends QuorumCnxManager { method TestCnxManager (line 260) | TestCnxManager(QuorumPeer self) { method senderWorkerMapContains (line 267) | boolean senderWorkerMapContains(Long l){ method getSid (line 271) | long getSid(Message m){ method getMsgString (line 275) | String getMsgString(Message m){ method testCnxFromFutureVersion (line 292) | @Test method testSocketTimeout (line 362) | @Test method testWorkerThreads (line 389) | @Test method verifyThreadCount (line 436) | public String verifyThreadCount(ArrayList peerList, long e... method _verifyThreadCount (line 450) | public String _verifyThreadCount(ArrayList peerList, long ... FILE: src/java/test/org/apache/zookeeper/server/quorum/EphemeralNodeDeletionTest.java class EphemeralNodeDeletionTest (line 42) | public class EphemeralNodeDeletionTest extends QuorumPeerTestBase { method testEphemeralNodeDeletion (line 52) | @Test(timeout = 120000) method tearDown (line 152) | @After method getByServerState (line 164) | private QuorumPeer getByServerState(MainThread[] mt, ServerState state) { class CustomQuorumPeer (line 174) | static class CustomQuorumPeer extends QuorumPeer { method CustomQuorumPeer (line 177) | public CustomQuorumPeer() throws SaslException { method makeFollower (line 180) | @Override method setInjectError (line 207) | public void setInjectError(boolean injectError) { class MockTestQPMain (line 213) | static class MockTestQPMain extends TestQPMain { method getQuorumPeer (line 214) | @Override FILE: src/java/test/org/apache/zookeeper/server/quorum/FLEBackwardElectionRoundTest.java class FLEBackwardElectionRoundTest (line 42) | public class FLEBackwardElectionRoundTest extends ZKTestCase { method setUp (line 52) | @Before method tearDown (line 62) | @After method testBackwardElectionRound (line 90) | @Test method getMsg (line 156) | private ByteBuffer getMsg() { FILE: src/java/test/org/apache/zookeeper/server/quorum/FLECompatibilityTest.java class FLECompatibilityTest (line 52) | public class FLECompatibilityTest extends ZKTestCase { method setUp (line 60) | @Before method tearDown (line 68) | @After class MockFLEMessengerBackward (line 73) | class MockFLEMessengerBackward { method MockFLEMessengerBackward (line 82) | MockFLEMessengerBackward(QuorumPeer self, QuorumCnxManager manager){ method halt (line 94) | void halt() { class WorkerReceiver (line 103) | class WorkerReceiver implements Runnable { method WorkerReceiver (line 110) | WorkerReceiver(QuorumCnxManager manager) { method getVote (line 118) | Vote getVote(){ method run (line 122) | public void run() { class MockFLEMessengerForward (line 261) | class MockFLEMessengerForward extends FastLeaderElection { method MockFLEMessengerForward (line 263) | MockFLEMessengerForward(QuorumPeer self, QuorumCnxManager manager){ method halt (line 267) | void halt() { method populate (line 272) | void populate() method testBackwardCompatibility (line 284) | @Test(timeout=20000) method testForwardCompatibility (line 321) | @Test(timeout=20000) FILE: src/java/test/org/apache/zookeeper/server/quorum/FLEDontCareTest.java class FLEDontCareTest (line 42) | public class FLEDontCareTest { class MockFLE (line 45) | class MockFLE extends FastLeaderElection { method MockFLE (line 46) | MockFLE(QuorumPeer peer, QuorumCnxManager cnxManager) { method termPredicate (line 50) | public boolean termPredicate(HashMap votes, Vote vote) { method checkLeader (line 54) | public boolean checkLeader(HashMap votes, long leader, lo... method ooePredicate (line 58) | public boolean ooePredicate(HashMap recv, method setUp (line 70) | @Before method tearDown (line 86) | @After method testDontCare (line 91) | @Test method testDontCareVersion (line 105) | @Test method testLookingNormal (line 119) | @Test method testLookingDiffRounds (line 133) | @Test method genNotification (line 162) | FastLeaderElection.Notification genNotification(int version, method testOutofElection (line 189) | @Test FILE: src/java/test/org/apache/zookeeper/server/quorum/FLELostMessageTest.java class FLELostMessageTest (line 41) | public class FLELostMessageTest extends ZKTestCase { method setUp (line 52) | @Before method tearDown (line 61) | @After method testLostMessage (line 66) | @Test method mockServer (line 99) | void mockServer() throws InterruptedException, IOException { FILE: src/java/test/org/apache/zookeeper/server/quorum/FLETestUtils.java class FLETestUtils (line 32) | public class FLETestUtils { class LEThread (line 40) | static class LEThread extends Thread { method LEThread (line 44) | LEThread(QuorumPeer peer, int i) { method run (line 51) | public void run(){ method createMsg (line 82) | static ByteBuffer createMsg(int state, long leader, long zxid, long ep... FILE: src/java/test/org/apache/zookeeper/server/quorum/LearnerTest.java class LearnerTest (line 49) | public class LearnerTest extends ZKTestCase { class SimpleLearnerZooKeeperServer (line 53) | class SimpleLearnerZooKeeperServer extends LearnerZooKeeperServer { method SimpleLearnerZooKeeperServer (line 56) | public SimpleLearnerZooKeeperServer(FileTxnSnapLog ftsl, QuorumPeer ... method getLearner (line 60) | @Override method startup (line 65) | @Override class SimpleLearner (line 70) | class SimpleLearner extends Learner { method SimpleLearner (line 71) | SimpleLearner(FileTxnSnapLog ftsl) throws IOException { method recursiveDelete (line 77) | static private void recursiveDelete(File dir) { method syncTest (line 88) | @Test FILE: src/java/test/org/apache/zookeeper/server/quorum/QuorumCnxManagerTest.java class QuorumCnxManagerTest (line 80) | public class QuorumCnxManagerTest extends ZKTestCase { method setupSasl (line 97) | @BeforeClass method cleanupSasl (line 123) | @AfterClass method setUp (line 130) | @Before method tearDown (line 149) | @After method testNoAuthConnection (line 156) | @Test(timeout = 30000) method testAuthConnection (line 165) | @Test(timeout = 30000) method testClientAuthAgainstNoAuthServerWithLowerSid (line 181) | @Test(timeout = 30000) method testClientAuthAgainstNoAuthServerWithHigherSid (line 199) | @Test(timeout = 30000) method testNoAuthLearnerConnectToAuthRequiredServerWithLowerSid (line 215) | @Test(timeout = 30000) method testNoAuthLearnerConnectToAuthRequiredServerWithHigherSid (line 240) | @Test(timeout = 30000) method testAuthLearnerBadCredToAuthRequiredServerWithLowerSid (line 265) | @Test(timeout = 30000) method testAuthLearnerBadCredToAuthRequiredServerWithHigherSid (line 283) | @Test(timeout = 30000) method testAuthLearnerBadCredToNoAuthServerWithHigherSid (line 300) | @Test(timeout = 30000) method testAuthLearnerBadCredToNoAuthServerWithLowerSid (line 316) | @Test(timeout = 30000) method testLearnerHandlerAuthFailed (line 332) | @Test(timeout = 30000) method testAuthLearnerConnectsToServerWithAuthRequired (line 363) | @Test(timeout = 30000) method getLeaderHostname (line 401) | private String getLeaderHostname(QuorumPeer peer) { method testAuthLearnerConnectsToServerWithAuthNotRequired (line 418) | @Test(timeout = 30000) method startLearnerCnxAcceptorThread (line 456) | private void startLearnerCnxAcceptorThread(Leader leader) method testAuthLearnerConnectsToNullAuthServer (line 479) | @Test(timeout = 30000) method testNoAuthLearnerConnectsToServerWithAuthNotRequired (line 526) | @Test(timeout = 30000) method testNoAuthLearnerConnectsToServerWithAuthRequired (line 566) | @Test(timeout = 30000) method testNoAuthLearnerConnectsToNullAuthServer (line 605) | @Test(timeout = 30000) method testSaslQuorumAuthServerWithInvalidQuorumAuthPacket (line 643) | @Test(timeout = 30000) method testNullQuorumAuthServerShouldReturnTrue (line 672) | @Test(timeout = 30000) method testNullQuorumAuthServerWithValidQuorumAuthPacket (line 688) | @Test(timeout = 30000) method createAndStartManager (line 708) | private QuorumCnxManager createAndStartManager(long sid) { method createAndStartManager (line 712) | private QuorumCnxManager createAndStartManager(long sid, ConcurrentHas... method createAndStartManager (line 723) | private QuorumCnxManager createAndStartManager(long sid, method createAndStartManager (line 732) | private QuorumCnxManager createAndStartManager(long sid, method waitForElectionAddrBinding (line 751) | private void waitForElectionAddrBinding(InetSocketAddress electionAddr, method cleanup (line 776) | private void cleanup(Socket sock) { method assertEventuallyConnected (line 784) | private void assertEventuallyConnected(QuorumCnxManager peer, long sid) method assertEventuallyNotConnected (line 792) | private void assertEventuallyNotConnected(QuorumCnxManager peer, long ... method createQuorumPeer (line 801) | private QuorumPeer createQuorumPeer(File tmpDir, class NullServerCnxnFactory (line 837) | private static final class NullServerCnxnFactory extends ServerCnxnFac... method startup (line 838) | public void startup(ZooKeeperServer zkServer) method start (line 842) | public void start() { method shutdown (line 845) | public void shutdown() { method setMaxClientCnxnsPerHost (line 848) | public void setMaxClientCnxnsPerHost(int max) { method join (line 851) | public void join() throws InterruptedException { method getMaxClientCnxnsPerHost (line 854) | public int getMaxClientCnxnsPerHost() { method getLocalPort (line 858) | public int getLocalPort() { method getLocalAddress (line 862) | public InetSocketAddress getLocalAddress() { method getConnections (line 866) | public Iterable getConnections() { method configure (line 870) | public void configure(InetSocketAddress addr, int maxClientCnxns) method closeSession (line 874) | public void closeSession(long sessionId) { method closeAll (line 877) | public void closeAll() { method getNumAliveConnections (line 880) | @Override method getSocketPair (line 886) | private static Socket getSocketPair() throws IOException { method createLeader (line 896) | private Leader createLeader(File tmpDir, QuorumPeer peer) throws IOExc... method createSimpleLeader (line 902) | private Leader createSimpleLeader(File tmpDir, QuorumPeer peer, class SimpleLeader (line 909) | class SimpleLeader extends Leader { method SimpleLeader (line 912) | SimpleLeader(QuorumPeer self, LeaderZooKeeperServer zk, method addLearnerHandler (line 918) | @Override method prepareLeader (line 925) | private LeaderZooKeeperServer prepareLeader(File tmpDir, QuorumPeer peer) class SimpleLearnerZooKeeperServer (line 938) | class SimpleLearnerZooKeeperServer extends LearnerZooKeeperServer { method SimpleLearnerZooKeeperServer (line 941) | public SimpleLearnerZooKeeperServer(FileTxnSnapLog ftsl, method getLearner (line 948) | @Override method startup (line 953) | @Override class SimpleLearner (line 959) | class SimpleLearner extends Learner { method SimpleLearner (line 960) | SimpleLearner(FileTxnSnapLog ftsl, QuorumPeer learner) FILE: src/java/test/org/apache/zookeeper/server/quorum/QuorumPeerMainTest.java class QuorumPeerMainTest (line 73) | public class QuorumPeerMainTest extends QuorumPeerTestBase { method tearDown (line 80) | @After method testQuorum (line 96) | @Test method testEarlyLeaderAbandonment (line 152) | @Test method testHighestZxidJoinLate (line 253) | @Test method testElectionFraud (line 346) | @Test method waitForOne (line 428) | private void waitForOne(ZooKeeper zk, States state) throws Interrupted... method waitForAll (line 438) | private void waitForAll(Servers servers, States state) throws Interrup... method waitForAll (line 442) | private void waitForAll(ZooKeeper[] zks, States state) throws Interrup... class Servers (line 463) | private class Servers { method shutDownAllServers (line 468) | public void shutDownAllServers() throws InterruptedException { method restartAllServersAndClients (line 474) | public void restartAllServersAndClients(Watcher watcher) throws IOEx... method restartClient (line 485) | public void restartClient(int clientIndex, Watcher watcher) throws I... method findLeader (line 489) | public int findLeader() { method LaunchServers (line 499) | private Servers LaunchServers(int numServers) throws IOException, Inte... method LaunchServers (line 512) | private Servers LaunchServers(int numServers, Integer tickTime) throws... method testBadPeerAddressInQuorum (line 544) | @Test method testValidIpv6AddressInQuorum (line 600) | @Test method testInvalidIpv6AddressInQuorum (line 670) | @Test method testInconsistentPeerType (line 732) | @Test method testBadPackets (line 822) | @Test method testQuorumDefaults (line 876) | @Test method testQuorumPeerExitTime (line 943) | @Test method readLongFromFile (line 965) | static long readLongFromFile(File file) throws IOException { method writeLongToFile (line 978) | static void writeLongToFile(File file, long value) throws IOException { method testUpdatingEpoch (line 997) | @Test method testNewFollowerRestartAfterNewEpoch (line 1067) | @Test method testDataDirAndDataLogDir (line 1118) | @Test class InjectableQuorumPeerMain (line 1140) | private class InjectableQuorumPeerMain extends QuorumPeerMain { method InjectableQuorumPeerMain (line 1143) | InjectableQuorumPeerMain(QuorumPeer qp) { method getQuorumPeer (line 1147) | @Override method testFailedTxnAsPartOfQuorumLoss (line 1153) | @Test FILE: src/java/test/org/apache/zookeeper/server/quorum/QuorumPeerTestBase.java class QuorumPeerTestBase (line 45) | public class QuorumPeerTestBase extends ZKTestCase implements Watcher { method process (line 51) | public void process(WatchedEvent event) { class TestQPMain (line 55) | public static class TestQPMain extends QuorumPeerMain { method shutdown (line 56) | public void shutdown() { class MainThread (line 64) | public static class MainThread implements Runnable { method MainThread (line 85) | public MainThread(int myid, int clientPort, String quorumCfgSection, method MainThread (line 133) | public MainThread(int myid, int clientPort, String quorumCfgSection) method MainThread (line 139) | public MainThread(int myid, int clientPort, String quorumCfgSection, method start (line 146) | synchronized public void start() { method run (line 153) | public void run() { method shutdown (line 168) | public void shutdown() throws InterruptedException { method join (line 176) | public void join(long timeout) throws InterruptedException { method isAlive (line 183) | public boolean isAlive() { method clean (line 188) | public void clean() { method getQuorumPeer (line 193) | public QuorumPeer getQuorumPeer() { method deleteBaseDir (line 197) | public void deleteBaseDir() { method getMyid (line 201) | public int getMyid() { method getClientPort (line 205) | public int getClientPort() { method getQuorumCfgSection (line 209) | public String getQuorumCfgSection() { method getOtherConfigs (line 213) | public Map getOtherConfigs() { method getConfFile (line 217) | public File getConfFile() { method getTestQPMain (line 221) | public TestQPMain getTestQPMain() { FILE: src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java class WatchLeakTest (line 66) | public class WatchLeakTest { method testWatchesWithClientSessionTimeout (line 76) | @Test class MyFollower (line 127) | public static class MyFollower extends Follower { method MyFollower (line 134) | MyFollower(QuorumPeer self, FollowerZooKeeperServer zk) { class FakeSK (line 145) | private static class FakeSK extends SelectionKey { method channel (line 147) | @Override method selector (line 152) | @Override method isValid (line 157) | @Override method cancel (line 162) | @Override method interestOps (line 166) | @Override method interestOps (line 173) | @Override method readyOps (line 179) | @Override method createWatchesMessage (line 191) | private ByteBuffer createWatchesMessage() { method createConnRequest (line 216) | private ByteBuffer createConnRequest() { method createClientSocketChannel (line 232) | private SocketChannel createClientSocketChannel() throws IOException { method createInvalidSessionPacket (line 271) | private QuorumPacket createInvalidSessionPacket() throws Exception { method createValidateSessionQuorumPacket (line 291) | private QuorumPacket createValidateSessionQuorumPacket() throws Except... FILE: src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java class Zab1_0Test (line 82) | public class Zab1_0Test { class LeadThread (line 90) | private static final class LeadThread extends Thread { method LeadThread (line 93) | private LeadThread(Leader leader) { method run (line 97) | public void run() { class MockLeader (line 110) | private static final class MockLeader extends Leader { method MockLeader (line 112) | MockLeader(QuorumPeer qp, LeaderZooKeeperServer zk) method getCurrentEpochToPropose (line 124) | public long getCurrentEpochToPropose() { class FollowerMockThread (line 129) | public static final class FollowerMockThread extends Thread { method FollowerMockThread (line 136) | private FollowerMockThread(long followerSid, Leader leader, boolean ... method run (line 142) | public void run() { method testLeaderInConnectingFollowers (line 157) | @Test method testLastAcceptedEpoch (line 211) | @Test method testLeaderInElectingFollowers (line 249) | @Test class NullServerCnxnFactory (line 286) | private static final class NullServerCnxnFactory extends ServerCnxnFac... method startup (line 287) | public void startup(ZooKeeperServer zkServer) throws IOException, method start (line 290) | public void start() { method shutdown (line 292) | public void shutdown() { method setMaxClientCnxnsPerHost (line 294) | public void setMaxClientCnxnsPerHost(int max) { method join (line 296) | public void join() throws InterruptedException { method getMaxClientCnxnsPerHost (line 298) | public int getMaxClientCnxnsPerHost() { method getLocalPort (line 301) | public int getLocalPort() { method getLocalAddress (line 304) | public InetSocketAddress getLocalAddress() { method getConnections (line 307) | public Iterable getConnections() { method configure (line 310) | public void configure(InetSocketAddress addr, int maxClientCnxns) method closeSession (line 313) | public void closeSession(long sessionId) { method closeAll (line 315) | public void closeAll() { method getNumAliveConnections (line 317) | @Override method getSocketPair (line 322) | static Socket[] getSocketPair() throws IOException { method readPacketSkippingPing (line 329) | static void readPacketSkippingPing(InputArchive ia, QuorumPacket qp) t... type LeaderConversation (line 338) | static public interface LeaderConversation { method converseWithLeader (line 339) | void converseWithLeader(InputArchive ia, OutputArchive oa, Leader l)... type PopulatedLeaderConversation (line 342) | static public interface PopulatedLeaderConversation { method converseWithLeader (line 343) | void converseWithLeader(InputArchive ia, OutputArchive oa, Leader l,... type FollowerConversation (line 346) | static public interface FollowerConversation { method converseWithFollower (line 347) | void converseWithFollower(InputArchive ia, OutputArchive oa, Followe... type ObserverConversation (line 350) | static public interface ObserverConversation { method converseWithObserver (line 351) | void converseWithObserver(InputArchive ia, OutputArchive oa, Observe... method testLeaderConversation (line 354) | public void testLeaderConversation(LeaderConversation conversation) th... method testPopulatedLeaderConversation (line 398) | public void testPopulatedLeaderConversation(PopulatedLeaderConversatio... method testFollowerConversation (line 469) | public void testFollowerConversation(FollowerConversation conversation... method testObserverConversation (line 523) | public void testObserverConversation(ObserverConversation conversation... method testUnnecessarySnap (line 576) | @Test class TrackerWatcher (line 617) | class TrackerWatcher implements Watcher { method waitForChange (line 619) | synchronized void waitForChange() throws InterruptedException { method process (line 625) | @Override method changed (line 634) | synchronized public boolean changed() { method testNormalFollowerRun (line 640) | @Test method testNormalFollowerRunWithDiff (line 775) | @Test method testNormalRun (line 896) | @Test method testTxnTimeout (line 942) | @Test method deserializeSnapshot (line 1022) | private void deserializeSnapshot(InputArchive ia) method testNormalObserverRun (line 1030) | @Test method testLeaderBehind (line 1185) | @Test method testAbandonBeforeACKEpoch (line 1227) | @Test method testDirtySnapshot (line 1259) | @Test method recursiveDelete (line 1331) | private void recursiveDelete(File file) { method createLeader (line 1346) | private Leader createLeader(File tmpDir, QuorumPeer peer) method createMockLeader (line 1352) | private Leader createMockLeader(File tmpDir, QuorumPeer peer) method prepareLeader (line 1358) | private LeaderZooKeeperServer prepareLeader(File tmpDir, QuorumPeer peer) class ConversableFollower (line 1370) | static class ConversableFollower extends Follower { method ConversableFollower (line 1372) | ConversableFollower(QuorumPeer self, FollowerZooKeeperServer zk) { method setLeaderQuorumServer (line 1377) | public void setLeaderQuorumServer(QuorumServer quorumServer) { method findLeader (line 1381) | @Override method createFollower (line 1386) | private ConversableFollower createFollower(File tmpDir, QuorumPeer peer) class ConversableObserver (line 1396) | static class ConversableObserver extends Observer { method ConversableObserver (line 1398) | ConversableObserver(QuorumPeer self, ObserverZooKeeperServer zk) { method setLeaderQuorumServer (line 1403) | public void setLeaderQuorumServer(QuorumServer quorumServer) { method findLeader (line 1407) | @Override method createObserver (line 1413) | private ConversableObserver createObserver(File tmpDir, QuorumPeer peer) method createQuorumPeer (line 1425) | private QuorumPeer createQuorumPeer(File tmpDir) throws IOException, method readContentsOfFile (line 1448) | private String readContentsOfFile(File f) throws IOException { method testInitialAcceptedCurrent (line 1452) | @Test FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/KerberosSecurityTestcase.java class KerberosSecurityTestcase (line 49) | public class KerberosSecurityTestcase extends QuorumAuthTestBase { method setUpSasl (line 54) | @BeforeClass method tearDownSasl (line 59) | @AfterClass method startMiniKdc (line 65) | public static void startMiniKdc() throws Exception { method createTestDir (line 80) | public static void createTestDir() throws IOException { method createTmpDir (line 85) | static File createTmpDir(File parentDir) throws IOException { method createMiniKdcConf (line 99) | public static void createMiniKdcConf() { method stopMiniKdc (line 103) | public static void stopMiniKdc() { method getKdc (line 109) | public static MiniKdc getKdc() { method getWorkDir (line 113) | public static File getWorkDir() { method getConf (line 117) | public static Properties getConf() { FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/KerberosTestUtils.java class KerberosTestUtils (line 26) | public class KerberosTestUtils { method getRealm (line 30) | public static String getRealm() { method getLearnerPrincipal (line 34) | public static String getLearnerPrincipal() { method getServerPrincipal (line 38) | public static String getServerPrincipal() { method getHostLearnerPrincipal (line 42) | public static String getHostLearnerPrincipal() { method getHostServerPrincipal (line 46) | public static String getHostServerPrincipal() { method getHostNamedLearnerPrincipal (line 50) | public static String getHostNamedLearnerPrincipal(String myHostname) { method getKeytabFile (line 54) | public static String getKeytabFile() { method replaceHostPattern (line 58) | public static String replaceHostPattern(String principal) { method replacePattern (line 68) | public static String replacePattern(String[] components, String hostna... FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/MiniKdc.java class MiniKdc (line 120) | public class MiniKdc { method main (line 129) | public static void main(String[] args) throws Exception { method createConf (line 237) | public static Properties createConf() { method MiniKdc (line 258) | public MiniKdc(Properties conf, File workDir) throws Exception { method getPort (line 294) | public int getPort() { method getHost (line 303) | public String getHost() { method getRealm (line 312) | public String getRealm() { method getKrb5conf (line 316) | public File getKrb5conf() { method start (line 325) | public synchronized void start() throws Exception { method initDirectoryService (line 333) | private void initDirectoryService() throws Exception { method initKDCServer (line 398) | private void initKDCServer() throws Exception { method getMinikdcResourceAsStream (line 485) | private InputStream getMinikdcResourceAsStream(String resourceName) method stop (line 494) | public synchronized void stop() { method delete (line 508) | private void delete(File f) { method createPrincipal (line 530) | public synchronized void createPrincipal(String principal, String pass... method createPrincipal (line 554) | public synchronized void createPrincipal(File keytabFile, FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/MiniKdcTest.java class MiniKdcTest (line 46) | public class MiniKdcTest extends KerberosSecurityTestcase { method testMiniKdcStart (line 50) | @Test(timeout = 60000) method testKeytabGen (line 56) | @Test(timeout = 60000) class KerberosConfiguration (line 76) | private static class KerberosConfiguration extends Configuration { method KerberosConfiguration (line 81) | private KerberosConfiguration(String principal, File keytab, method createClientConfig (line 88) | public static Configuration createClientConfig(String principal, method createServerConfig (line 93) | public static Configuration createServerConfig(String principal, method getKrb5LoginModuleName (line 98) | private static String getKrb5LoginModuleName() { method getAppConfigurationEntry (line 104) | @Override method testKerberosLogin (line 134) | @Test(timeout = 60000) FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumAuthTestBase.java class QuorumAuthTestBase (line 41) | public class QuorumAuthTestBase extends ZKTestCase { method setupJaasConfig (line 46) | public static void setupJaasConfig(String jaasEntries) { method cleanupJaasConfig (line 62) | public static void cleanupJaasConfig() { method startQuorum (line 68) | protected String startQuorum(final int serverCount, method startQuorum (line 97) | protected String startQuorum(final int serverCount, int observerCount, method startQuorum (line 131) | protected int[] startQuorum(final int serverCount, int observerCount, method startServer (line 179) | private void startServer(Map authConfigs, method addDelayBeforeStartingNextServer (line 196) | private void addDelayBeforeStartingNextServer(MainThread mThread) { method startServer (line 222) | protected void startServer(MainThread restartPeer, method shutdownAll (line 231) | void shutdownAll() { method shutdown (line 237) | MainThread shutdown(int index) { FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumAuthUpgradeTest.java class QuorumAuthUpgradeTest (line 54) | public class QuorumAuthUpgradeTest extends QuorumAuthTestBase { method tearDown (line 66) | @After method cleanup (line 71) | @AfterClass method testNullAuthLearnerServer (line 81) | @Test(timeout = 30000) method testAuthLearnerAgainstNullAuthServer (line 101) | @Test(timeout = 30000) method testAuthLearnerAgainstNoAuthRequiredServer (line 121) | @Test(timeout = 30000) method testAuthLearnerServer (line 141) | @Test(timeout = 30000) method testRollingUpgrade (line 173) | @Test(timeout = 90000) method restartServer (line 226) | private void restartServer(Map authConfigs, int index, FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumDigestAuthTest.java class QuorumDigestAuthTest (line 45) | public class QuorumDigestAuthTest extends QuorumAuthTestBase { method tearDown (line 64) | @After method cleanup (line 75) | @AfterClass method testValidCredentials (line 83) | @Test(timeout = 30000) method testSaslNotRequiredWithInvalidCredentials (line 105) | @Test(timeout = 30000) method testSaslRequiredInvalidCredentials (line 126) | @Test(timeout = 30000) method testEnableQuorumServerRequireSaslWithoutQuorumLearnerRequireSasl (line 149) | @Test(timeout = 10000) method testEnableQuorumAuthenticationConfigurations (line 182) | @Test(timeout = 10000) method testObserverWithValidCredentials (line 230) | @Test(timeout = 30000) method testNonAuthEnabledObserverJoiningAuthEnabledQuorum (line 254) | @Test(timeout = 30000) method testRelectionWithValidCredentials (line 306) | @Test(timeout = 30000) method waitForLeader (line 335) | private QuorumPeer waitForLeader() throws InterruptedException { method shutdownQP (line 351) | private void shutdownQP(QuorumPeer qp) throws InterruptedException { method getLeaderQuorumPeer (line 370) | private QuorumPeer getLeaderQuorumPeer(List mtList) { FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumKerberosAuthTest.java class QuorumKerberosAuthTest (line 38) | public class QuorumKerberosAuthTest extends KerberosSecurityTestcase { method setUp (line 67) | @Before method tearDown (line 78) | @After method cleanup (line 86) | @AfterClass method testValidCredentials (line 97) | @Test(timeout = 120000) FILE: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumKerberosHostBasedAuthTest.java class QuorumKerberosHostBasedAuthTest (line 42) | public class QuorumKerberosHostBasedAuthTest extends KerberosSecurityTes... method setupJaasConfigEntries (line 51) | private static void setupJaasConfigEntries(String hostServerPrincipal, method setUp (line 90) | @BeforeClass method tearDown (line 106) | @After method cleanup (line 114) | @AfterClass method testValidCredentials (line 125) | @Test(timeout = 120000) method testConnectBadServer (line 146) | @Test(timeout = 120000) FILE: src/java/test/org/apache/zookeeper/server/util/PortForwarder.java class PortForwarder (line 88) | public class PortForwarder extends Thread { class PortForwardWorker (line 92) | private static class PortForwardWorker implements Runnable { method PortForwardWorker (line 99) | PortForwardWorker(Socket toClose, Socket toClose2, InputStream in, method run (line 108) | public void run() { method PortForwarder (line 168) | public PortForwarder(int from, int to) throws IOException { method run (line 175) | @Override method shutdown (line 242) | public void shutdown() throws Exception { FILE: src/java/test/org/apache/zookeeper/test/ACLCountTest.java class ACLCountTest (line 47) | public class ACLCountTest extends ZKTestCase implements Watcher { method testAclCount (line 66) | @Test method process (line 123) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/ACLRootTest.java class ACLRootTest (line 30) | public class ACLRootTest extends ClientBase { method testRootAcl (line 33) | @Test FILE: src/java/test/org/apache/zookeeper/test/ACLTest.java class ACLTest (line 46) | public class ACLTest extends ZKTestCase implements Watcher { method testDisconnectedAddAuth (line 52) | @Test method testAcls (line 86) | @Test method process (line 174) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/AsyncHammerTest.java class AsyncHammerTest (line 42) | public class AsyncHammerTest extends ZKTestCase method setUp (line 51) | public void setUp(boolean withObservers) throws Exception { method restart (line 55) | protected void restart() throws Exception { method tearDown (line 64) | public void tearDown() throws Exception { class HammerThread (line 72) | class HammerThread extends Thread implements StringCallback, VoidCallb... method HammerThread (line 80) | public HammerThread(String name) { method run (line 84) | public void run() { method incOutstanding (line 118) | private synchronized void incOutstanding() throws InterruptedExcepti... method decOutstanding (line 125) | private synchronized void decOutstanding() { method process (line 131) | public void process(WatchedEvent event) { method processResult (line 135) | public void processResult(int rc, String path, Object ctx, String na... method processResult (line 157) | public void processResult(int rc, String path, Object ctx) { method testHammer (line 169) | @Test method testObserversHammer (line 201) | @Test method processResult (line 221) | @SuppressWarnings("unchecked") method processResult (line 229) | @SuppressWarnings("unchecked") method processResult (line 237) | @SuppressWarnings("unchecked") FILE: src/java/test/org/apache/zookeeper/test/AsyncOps.java class AsyncOps (line 43) | public class AsyncOps { class AsyncCB (line 64) | public static abstract class AsyncCB { method AsyncCB (line 75) | public AsyncCB(ZooKeeper zk, CountDownLatch latch) { method setRC (line 80) | public void setRC(Code rc) { method setPath (line 84) | public void setPath(String path) { method processResult (line 88) | public void processResult(Code rc, String path, Object ctx) method toString (line 98) | @Override method verify (line 103) | protected void verify() { class StringCB (line 118) | public static class StringCB extends AsyncCB implements StringCallback { method StringCB (line 124) | StringCB(ZooKeeper zk) { method StringCB (line 128) | StringCB(ZooKeeper zk, CountDownLatch latch) { method setPath (line 132) | public void setPath(String path) { method nodeName (line 137) | public String nodeName() { method processResult (line 141) | public void processResult(int rc, String path, Object ctx, String name) method create (line 147) | public AsyncCB create() { method createEphemeral (line 152) | public AsyncCB createEphemeral() { method verifyCreate (line 157) | public void verifyCreate() { method verifyCreateEphemeral (line 162) | public void verifyCreateEphemeral() { method verifyCreateFailure_NodeExists (line 167) | public void verifyCreateFailure_NodeExists() { method verifyCreateFailure_NoNode (line 176) | public void verifyCreateFailure_NoNode() { method verifyCreateFailure_NoChildForEphemeral (line 186) | public void verifyCreateFailure_NoChildForEphemeral() { method toString (line 197) | @Override class ACLCB (line 203) | public static class ACLCB extends AsyncCB implements ACLCallback { method ACLCB (line 209) | ACLCB(ZooKeeper zk) { method ACLCB (line 213) | ACLCB(ZooKeeper zk, CountDownLatch latch) { method processResult (line 221) | public void processResult(int rc, String path, Object ctx, method verifyGetACL (line 229) | public void verifyGetACL() { method verifyGetACLFailure_NoNode (line 236) | public void verifyGetACLFailure_NoNode(){ method toString (line 245) | public String toString(List acls) { method toString (line 257) | @Override class ChildrenCB (line 267) | public static class ChildrenCB extends AsyncCB implements ChildrenCall... method ChildrenCB (line 270) | ChildrenCB(ZooKeeper zk) { method ChildrenCB (line 274) | ChildrenCB(ZooKeeper zk, CountDownLatch latch) { method processResult (line 278) | public void processResult(int rc, String path, Object ctx, method createNode (line 287) | public StringCB createNode() { method createNode (line 294) | public StringCB createNode(StringCB parent) { method createNode (line 300) | public StringCB createNode(StringCB parent, String childName) { method verifyGetChildrenEmpty (line 308) | public void verifyGetChildrenEmpty() { method verifyGetChildrenSingle (line 314) | public void verifyGetChildrenSingle() { method verifyGetChildrenTwo (line 324) | public void verifyGetChildrenTwo() { method verifyGetChildrenFailure_NoNode (line 336) | public void verifyGetChildrenFailure_NoNode() { method verify (line 341) | @Override method toString (line 347) | @Override class Children2CB (line 353) | public static class Children2CB extends AsyncCB implements Children2Ca... method Children2CB (line 356) | Children2CB(ZooKeeper zk) { method Children2CB (line 360) | Children2CB(ZooKeeper zk, CountDownLatch latch) { method processResult (line 364) | public void processResult(int rc, String path, Object ctx, method createNode (line 373) | public StringCB createNode() { method createNode (line 380) | public StringCB createNode(StringCB parent) { method createNode (line 386) | public StringCB createNode(StringCB parent, String childName) { method verifyGetChildrenEmpty (line 394) | public void verifyGetChildrenEmpty() { method verifyGetChildrenSingle (line 400) | public void verifyGetChildrenSingle() { method verifyGetChildrenTwo (line 410) | public void verifyGetChildrenTwo() { method verifyGetChildrenFailure_NoNode (line 422) | public void verifyGetChildrenFailure_NoNode() { method verify (line 427) | @Override method toString (line 433) | @Override class DataCB (line 439) | public static class DataCB extends AsyncCB implements DataCallback { method DataCB (line 443) | DataCB(ZooKeeper zk) { method DataCB (line 447) | DataCB(ZooKeeper zk, CountDownLatch latch) { method processResult (line 455) | public void processResult(int rc, String path, Object ctx, byte[] data, method verifyGetData (line 463) | public void verifyGetData() { method verifyGetDataFailure_NoNode (line 470) | public void verifyGetDataFailure_NoNode() { method toString (line 478) | @Override class StatCB (line 488) | public static class StatCB extends AsyncCB implements StatCallback { method StatCB (line 494) | StatCB(ZooKeeper zk) { method StatCB (line 498) | StatCB(ZooKeeper zk, CountDownLatch latch) { method processResult (line 506) | public void processResult(int rc, String path, Object ctx, Stat stat) { method verifySetACL (line 511) | public void verifySetACL() { method verifySetACLFailure_NoNode (line 519) | public void verifySetACLFailure_NoNode() { method verifySetACLFailure_BadVersion (line 526) | public void verifySetACLFailure_BadVersion() { method setData (line 536) | public void setData() { method verifySetData (line 540) | public void verifySetData() { method verifySetDataFailure_NoNode (line 548) | public void verifySetDataFailure_NoNode() { method verifySetDataFailure_BadVersion (line 555) | public void verifySetDataFailure_BadVersion() { method verifyExists (line 565) | public void verifyExists() { method verifyExistsFailure_NoNode (line 572) | public void verifyExistsFailure_NoNode() { method toString (line 579) | @Override class VoidCB (line 589) | public static class VoidCB extends AsyncCB implements VoidCallback { method VoidCB (line 592) | VoidCB(ZooKeeper zk) { method VoidCB (line 596) | VoidCB(ZooKeeper zk, CountDownLatch latch) { method processResult (line 600) | public void processResult(int rc, String path, Object ctx) { method delete (line 604) | public void delete() { method verifyDelete (line 608) | public void verifyDelete() { method verifyDeleteFailure_NoNode (line 615) | public void verifyDeleteFailure_NoNode() { method verifyDeleteFailure_BadVersion (line 621) | public void verifyDeleteFailure_BadVersion() { method verifyDeleteFailure_NotEmpty (line 628) | public void verifyDeleteFailure_NotEmpty() { method sync (line 639) | public void sync() { method verifySync (line 643) | public void verifySync() { method toString (line 648) | @Override FILE: src/java/test/org/apache/zookeeper/test/AsyncOpsTest.java class AsyncOpsTest (line 37) | public class AsyncOpsTest extends ClientBase { method setUp (line 42) | @Before method tearDown (line 53) | @After method testAsyncCreate (line 63) | @Test method testAsyncCreateThree (line 68) | @Test method testAsyncCreateFailure_NodeExists (line 88) | @Test method testAsyncCreateFailure_NoNode (line 93) | @Test method testAsyncCreateFailure_NoChildForEphemeral (line 98) | @Test method testAsyncDelete (line 103) | @Test method testAsyncDeleteFailure_NoNode (line 108) | @Test method testAsyncDeleteFailure_BadVersion (line 113) | @Test method testAsyncDeleteFailure_NotEmpty (line 118) | @Test method testAsyncSync (line 123) | @Test method testAsyncSetACL (line 128) | @Test method testAsyncSetACLFailure_NoNode (line 133) | @Test method testAsyncSetACLFailure_BadVersion (line 138) | @Test method testAsyncSetData (line 143) | @Test method testAsyncSetDataFailure_NoNode (line 148) | @Test method testAsyncSetDataFailure_BadVersion (line 153) | @Test method testAsyncExists (line 158) | @Test method testAsyncExistsFailure_NoNode (line 163) | @Test method testAsyncGetACL (line 168) | @Test method testAsyncGetACLFailure_NoNode (line 173) | @Test method testAsyncGetChildrenEmpty (line 178) | @Test method testAsyncGetChildrenSingle (line 183) | @Test method testAsyncGetChildrenTwo (line 188) | @Test method testAsyncGetChildrenFailure_NoNode (line 193) | @Test method testAsyncGetChildren2Empty (line 198) | @Test method testAsyncGetChildren2Single (line 203) | @Test method testAsyncGetChildren2Two (line 208) | @Test method testAsyncGetChildren2Failure_NoNode (line 213) | @Test method testAsyncGetData (line 218) | @Test method testAsyncGetDataFailure_NoNode (line 223) | @Test FILE: src/java/test/org/apache/zookeeper/test/AsyncTest.java class AsyncTest (line 48) | public class AsyncTest extends ZKTestCase method setUp (line 55) | @Before method restart (line 60) | public void restart() throws Exception { method tearDown (line 65) | @After class CountdownWatcher (line 71) | private static class CountdownWatcher implements Watcher { method process (line 74) | public void process(WatchedEvent event) { method createClient (line 81) | private ZooKeeper createClient() throws IOException,InterruptedExcepti... method createClient (line 85) | private ZooKeeper createClient(String hp) method testAsync (line 99) | @Test method processResult (line 148) | @SuppressWarnings("unchecked") method processResult (line 156) | @SuppressWarnings("unchecked") method processResult (line 164) | @SuppressWarnings("unchecked") FILE: src/java/test/org/apache/zookeeper/test/AtomicFileOutputStreamTest.java class AtomicFileOutputStreamTest (line 37) | public class AtomicFileOutputStreamTest extends ZKTestCase { method setupTestDir (line 44) | @Before method cleanupTestDir (line 49) | @After method testWriteNewFile (line 57) | @Test method testOverwriteFile (line 74) | @Test method testFailToFlush (line 98) | @Test method createFailingStream (line 124) | private OutputStream createFailingStream() throws FileNotFoundException { method testAbortNewFile (line 137) | @Test method testAbortNewFileAfterFlush (line 150) | @Test method testAbortExistingFile (line 165) | @Test method testAbortExistingFileAfterFlush (line 184) | @Test FILE: src/java/test/org/apache/zookeeper/test/AuthTest.java class AuthTest (line 35) | public class AuthTest extends ClientBase { method createClient (line 45) | @Override class MyWatcher (line 53) | private class MyWatcher extends CountdownWatcher { method process (line 54) | @Override method testBadAuthNotifiesWatch (line 65) | @Test method testBadAuthThenSendOtherCommands (line 84) | @Test method testSuper (line 105) | @Test method testSuperACL (line 151) | @Test FILE: src/java/test/org/apache/zookeeper/test/BufferSizeTest.java class BufferSizeTest (line 35) | public class BufferSizeTest extends ClientBase { method setMaxBuffer (line 43) | @Before method testCreatesReqs (line 50) | @Test method testSetReqs (line 60) | @Test method testRequests (line 73) | private void testRequests(ClientOp clientOp) throws Exception { type ClientOp (line 86) | private interface ClientOp { method execute (line 87) | void execute(byte[] data) throws Exception; method testStartup (line 90) | @Test method testStartupFailureCreate (line 100) | @Test method testStartupFailureSet (line 107) | @Test method testStartupFailureSnapshot (line 114) | @Test method testStartupFailure (line 121) | private void testStartupFailure(File testDir, String failureMsg) throw... FILE: src/java/test/org/apache/zookeeper/test/ChrootAsyncTest.java class ChrootAsyncTest (line 27) | public class ChrootAsyncTest extends AsyncOpsTest { method setUp (line 30) | @Override FILE: src/java/test/org/apache/zookeeper/test/ChrootClientTest.java class ChrootClientTest (line 28) | public class ChrootClientTest extends ClientTest { method setUp (line 31) | @Override method testPing (line 50) | @Test FILE: src/java/test/org/apache/zookeeper/test/ChrootTest.java class ChrootTest (line 35) | public class ChrootTest extends ClientBase { class MyWatcher (line 36) | private class MyWatcher implements Watcher { method MyWatcher (line 41) | public MyWatcher(String path) { method process (line 44) | public void process(WatchedEvent event) { method matches (line 49) | public boolean matches() throws InterruptedException { method testChrootSynchronous (line 57) | @Test FILE: src/java/test/org/apache/zookeeper/test/ClientBase.java class ClientBase (line 68) | public abstract class ClientBase extends ZKTestCase { method ClientBase (line 84) | public ClientBase() { class NullWatcher (line 94) | protected class NullWatcher implements Watcher { method process (line 95) | public void process(WatchedEvent event) { /* nada */ } class CountdownWatcher (line 98) | public static class CountdownWatcher implements Watcher { method CountdownWatcher (line 108) | public CountdownWatcher() { method reset (line 111) | synchronized public void reset() { method process (line 117) | synchronized public void process(WatchedEvent event) { method isConnected (line 138) | synchronized public boolean isConnected() { method waitForConnected (line 141) | synchronized public void waitForConnected(long timeout) method waitForSyncConnected (line 155) | synchronized public void waitForSyncConnected(long timeout) method waitForReadOnlyConnected (line 168) | synchronized public void waitForReadOnlyConnected(long timeout) method waitForDisconnected (line 181) | synchronized public void waitForDisconnected(long timeout) method createClient (line 197) | protected TestableZooKeeper createClient() method createClient (line 203) | protected TestableZooKeeper createClient(String hp) method createClient (line 210) | protected TestableZooKeeper createClient(CountdownWatcher watcher) method createClient (line 219) | protected TestableZooKeeper createClient(CountdownWatcher watcher, Str... method createClient (line 225) | protected TestableZooKeeper createClient(CountdownWatcher watcher, class HostPort (line 252) | public static class HostPort { method HostPort (line 255) | public HostPort(String host, int port) { method parseHostPortList (line 260) | public static List parseHostPortList(String hplist) { method waitForServerUp (line 276) | public static boolean waitForServerUp(String hp, long timeout) { method waitForServerDown (line 303) | public static boolean waitForServerDown(String hp, long timeout) { method waitForServerState (line 325) | public static boolean waitForServerState(QuorumPeer qp, int timeout, method verifyThreadTerminated (line 342) | static void verifyThreadTerminated(Thread thread, long millis) method createEmptyTestDir (line 354) | public static File createEmptyTestDir() throws IOException { method createTmpDir (line 358) | public static File createTmpDir() throws IOException { method createTmpDir (line 362) | static File createTmpDir(File parentDir, boolean createInitFile) throw... method createInitializeFile (line 378) | public static void createInitializeFile(File dir) throws IOException { method getPort (line 385) | private static int getPort(String hostPort) { method startServerInstance (line 398) | public static void startServerInstance(File dataDir, method createNewServerInstance (line 423) | public static ServerCnxnFactory createNewServerInstance( method shutdownServerInstance (line 434) | static void shutdownServerInstance(ServerCnxnFactory factory, method setupTestEnv (line 464) | public static void setupTestEnv() { method setUpAll (line 473) | protected void setUpAll() throws Exception { method setUp (line 478) | @Before method startServer (line 505) | protected void startServer() throws Exception { method verifyUnexpectedBeans (line 520) | private void verifyUnexpectedBeans(Set children) { method getHexSessionId (line 548) | protected static String getHexSessionId(long sessionId) { method stopServer (line 552) | protected void stopServer() throws Exception { method getServer (line 561) | protected static ZooKeeperServer getServer(ServerCnxnFactory fac) { method tearDownAll (line 567) | protected void tearDownAll() throws Exception { method tearDown (line 581) | @After method jmxConn (line 617) | public static MBeanServerConnection jmxConn() throws IOException { method recursiveDelete (line 621) | public static boolean recursiveDelete(File d) { method logAllStackTraces (line 631) | public static void logAllStackTraces() { method verifyRootOfAllServersMatch (line 649) | void verifyRootOfAllServersMatch(String hostPort) method readFile (line 705) | public static String readFile(File file) throws IOException { method join (line 716) | public static String join(String separator, Object[] parts) { method createZKClient (line 729) | public static ZooKeeper createZKClient(String cxnString) throws Except... method createZKClient (line 743) | public static ZooKeeper createZKClient(String cxnString, int sessionTi... FILE: src/java/test/org/apache/zookeeper/test/ClientHammerTest.java class ClientHammerTest (line 35) | public class ClientHammerTest extends ClientBase { class HammerThread (line 40) | private static abstract class HammerThread extends Thread { method HammerThread (line 44) | HammerThread(String name, int count) { class BasicHammerThread (line 50) | private static class BasicHammerThread extends HammerThread { method BasicHammerThread (line 54) | BasicHammerThread(String name, ZooKeeper zk, String prefix, int coun... method run (line 60) | public void run() { class SuperHammerThread (line 80) | private static class SuperHammerThread extends HammerThread { method SuperHammerThread (line 84) | SuperHammerThread(String name, ClientHammerTest parent, String prefix, method run (line 92) | public void run() { method testHammerBasic (line 118) | @Test method runHammer (line 123) | public void runHammer(final int threadCount, final int childCount) method testHammerSuper (line 154) | @Test method verifyHammer (line 188) | public void verifyHammer(long start, HammerThread[] threads, int child... FILE: src/java/test/org/apache/zookeeper/test/ClientPortBindTest.java class ClientPortBindTest (line 45) | public class ClientPortBindTest extends ZKTestCase implements Watcher { method testBindByAddress (line 54) | @Test method process (line 119) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/ClientRetry.java class ClientRetry (line 28) | public class ClientRetry extends ClientBase { method setUp (line 30) | @Override method testClientRetry (line 47) | @Test FILE: src/java/test/org/apache/zookeeper/test/ClientTest.java class ClientTest (line 55) | public class ClientTest extends ClientBase { method testPing (line 59) | @Test method testClientwithoutWatcherObj (line 92) | @Test method testClientWithWatcherObj (line 99) | @Test method testClientWithIPv6Address (line 106) | @Test method testTestability (line 115) | @Test method testACLs (line 131) | @Test class MyWatcher (line 187) | private class MyWatcher extends CountdownWatcher { method process (line 191) | public void process(WatchedEvent event) { method testMutipleWatcherObjs (line 207) | @Test method performClientTest (line 321) | private void performClientTest(boolean withWatcherObj, String hostPort) method testSequentialNodeNames (line 457) | @Test method testSequentialNodeData (line 503) | @Test method testLargeNodeData (line 542) | @Test method verifyCreateFails (line 559) | private void verifyCreateFails(String path, ZooKeeper zk) throws Excep... method testPathValidation (line 570) | @Test method testDeleteWithChildren (line 678) | @Test class VerifyClientCleanup (line 694) | private class VerifyClientCleanup extends Thread { method VerifyClientCleanup (line 698) | VerifyClientCleanup(String name, int count) { method run (line 703) | public void run() { method testClientCleanup (line 726) | @Test method testNonExistingOpCode (line 775) | @Test FILE: src/java/test/org/apache/zookeeper/test/ConnectStringParserTest.java class ConnectStringParserTest (line 26) | public class ConnectStringParserTest extends ZKTestCase{ method testSingleServerChrootPath (line 28) | @Test method testMultipleServersChrootPath (line 36) | @Test method testParseServersWithoutPort (line 44) | @Test method testParseServersWithPort (line 53) | @Test method assertChrootPath (line 65) | private void assertChrootPath(String expected, ConnectStringParser par... FILE: src/java/test/org/apache/zookeeper/test/CreateModeTest.java class CreateModeTest (line 30) | public class CreateModeTest extends ZKTestCase { method testBasicCreateMode (line 32) | @Test method testFlagConversion (line 55) | @Test method testInvalidFlagConversion (line 65) | @Test FILE: src/java/test/org/apache/zookeeper/test/DisconnectableZooKeeper.java class DisconnectableZooKeeper (line 26) | public class DisconnectableZooKeeper extends ZooKeeper { method DisconnectableZooKeeper (line 27) | public DisconnectableZooKeeper(String host, int sessionTimeout, Watche... method DisconnectableZooKeeper (line 33) | public DisconnectableZooKeeper(String host, int sessionTimeout, Watche... method disconnect (line 45) | public void disconnect() throws IOException { method dontReconnect (line 53) | public void dontReconnect() throws Exception { FILE: src/java/test/org/apache/zookeeper/test/DisconnectedWatcherTest.java class DisconnectedWatcherTest (line 36) | public class DisconnectedWatcherTest extends ClientBase { class MyWatcher (line 40) | private class MyWatcher extends CountdownWatcher { method process (line 44) | public void process(WatchedEvent event) { method testChildWatcherAutoResetWithChroot (line 58) | @Test method testDefaultWatcherAutoResetWithChroot (line 98) | @Test method testDeepChildWatcherAutoResetWithChroot (line 137) | @Test method testManyChildWatchersAutoReset (line 181) | @Test FILE: src/java/test/org/apache/zookeeper/test/EventTypeTest.java class EventTypeTest (line 28) | public class EventTypeTest extends ZKTestCase { method testIntConversion (line 30) | @Test method testInvalidIntConversion (line 40) | @Test FILE: src/java/test/org/apache/zookeeper/test/FLENewEpochTest.java class FLENewEpochTest (line 41) | public class FLENewEpochTest extends ZKTestCase { method setUp (line 54) | @Before method tearDown (line 73) | @After class LEThread (line 81) | class LEThread extends Thread { method LEThread (line 85) | LEThread(QuorumPeer peer, int i) { method run (line 92) | public void run(){ method testLENewEpoch (line 152) | @Test FILE: src/java/test/org/apache/zookeeper/test/FLEPredicateTest.java class FLEPredicateTest (line 38) | public class FLEPredicateTest extends ZKTestCase { class MockFLE (line 42) | class MockFLE extends FastLeaderElection { method MockFLE (line 43) | MockFLE(QuorumPeer peer){ method predicate (line 47) | boolean predicate(long newId, long newZxid, long newEpoch, long curI... method testPredicate (line 55) | @Test FILE: src/java/test/org/apache/zookeeper/test/FLERestartTest.java class FLERestartTest (line 43) | public class FLERestartTest extends ZKTestCase { class TestVote (line 46) | static class TestVote { method TestVote (line 47) | TestVote(int id, long leader) { method countVotes (line 54) | int countVotes(HashSet hs, long id) { method setUp (line 80) | @Before method tearDown (line 94) | @After class FLERestartThread (line 101) | class FLERestartThread extends Thread { method FLERestartThread (line 106) | FLERestartThread(QuorumPeer peer, int i) { method run (line 111) | public void run() { method testLERestart (line 171) | @Test FILE: src/java/test/org/apache/zookeeper/test/FLETest.java class FLETest (line 43) | public class FLETest extends ZKTestCase { class TestVote (line 47) | static class TestVote { method TestVote (line 48) | TestVote(int id, long leader) { method countVotes (line 55) | int countVotes(HashSet hs, long id) { method setUp (line 80) | @Before method tearDown (line 95) | @After class LEThread (line 103) | class LEThread extends Thread { method LEThread (line 108) | LEThread(QuorumPeer peer, int i) { method run (line 113) | public void run() { method testLE (line 262) | @Test class VerifyState (line 326) | class VerifyState extends Thread { method VerifyState (line 329) | public VerifyState(QuorumPeer peer) { method run (line 332) | public void run() { method isSuccess (line 351) | public boolean isSuccess() { method testJoin (line 360) | @Test method testJoinInconsistentEnsemble (line 416) | @Test FILE: src/java/test/org/apache/zookeeper/test/FLEZeroWeightTest.java class FLEZeroWeightTest (line 43) | public class FLEZeroWeightTest extends ZKTestCase { method setUp (line 61) | @Before method tearDown (line 90) | @After class LEThread (line 101) | class LEThread extends Thread { method LEThread (line 106) | LEThread(QuorumPeer peer, int i) { method run (line 112) | public void run() { method testZeroWeightQuorum (line 149) | @Test FILE: src/java/test/org/apache/zookeeper/test/FollowerResyncConcurrencyTest.java class FollowerResyncConcurrencyTest (line 54) | public class FollowerResyncConcurrencyTest extends ZKTestCase { method testLaggingFollowerResyncsUnderNewEpoch (line 72) | @Test method testResyncBySnapThenDiffAfterFollowerCrashes (line 151) | @Test method testResyncByDiffAfterFollowerCrashes (line 315) | @Test method createClient (line 461) | private static DisconnectableZooKeeper createClient(int port, method createTestableClient (line 472) | private static TestableZooKeeper createTestableClient(String hp) method createTestableClient (line 479) | private static TestableZooKeeper createTestableClient( method verifyState (line 490) | private void verifyState(QuorumUtil qu, int index, Leader leader) { method testFollowerSendsLastZxid (line 530) | @Test class MyWatcher (line 551) | private class MyWatcher extends CountdownWatcher { method process (line 555) | public void process(WatchedEvent event) { method testFollowerWatcherResync (line 571) | @Test FILE: src/java/test/org/apache/zookeeper/test/FollowerTest.java class FollowerTest (line 52) | public class FollowerTest extends ZKTestCase { method testFollowersStartAfterLeader (line 62) | @Test method testMultiToFollower (line 109) | @Test FILE: src/java/test/org/apache/zookeeper/test/FourLetterWordsQuorumTest.java class FourLetterWordsQuorumTest (line 30) | public class FourLetterWordsQuorumTest extends QuorumBase { method testFourLetterWords (line 35) | @Test method verify (line 99) | private void verify(String hp, String cmd, String expected) FILE: src/java/test/org/apache/zookeeper/test/FourLetterWordsTest.java class FourLetterWordsTest (line 39) | public class FourLetterWordsTest extends ClientBase { method testFourLetterWords (line 47) | @Test method sendRequest (line 110) | private String sendRequest(String cmd) throws IOException { method sendRequest (line 114) | private String sendRequest(String cmd, int timeout) throws IOException { method verify (line 119) | private void verify(String cmd, String expected) throws IOException { method testValidateStatOutput (line 125) | @Test method testValidateConsOutput (line 168) | @Test method testValidateSocketTimeout (line 189) | @Test(timeout=60000) method testSetTraceMask (line 199) | @Test method buildSetTraceMaskRequest (line 223) | private String buildSetTraceMaskRequest(long mask) throws IOException { FILE: src/java/test/org/apache/zookeeper/test/FourLetterWordsWhiteListTest.java class FourLetterWordsWhiteListTest (line 33) | public class FourLetterWordsWhiteListTest extends ClientBase { method testFourLetterWordsAllDisabledByDefault (line 46) | @Test(timeout=30000) method testFourLetterWordsEnableSomeCommands (line 70) | @Test(timeout=30000) method testISROEnabledWhenReadOnlyModeEnabled (line 96) | @Test(timeout=30000) method testFourLetterWordsInvalidConfiguration (line 107) | @Test(timeout=30000) method testFourLetterWordsEnableAllCommandsThroughAsterisk (line 122) | @Test(timeout=30000) method testFourLetterWordsEnableAllCommandsThroughExplicitList (line 131) | @Test(timeout=30000) method verifyAllCommandsSuccess (line 143) | private void verifyAllCommandsSuccess() throws Exception { method verifyAllCommandsFail (line 207) | private void verifyAllCommandsFail() throws Exception { method verifyFuzzyMatch (line 227) | private void verifyFuzzyMatch(String cmd, String expected) throws IOEx... method generateExpectedMessage (line 233) | private String generateExpectedMessage(String command) { method verifyExactMatch (line 237) | private void verifyExactMatch(String cmd, String expected) throws IOEx... method sendRequest (line 243) | private String sendRequest(String cmd) throws IOException { method sendRequest (line 248) | private String sendRequest(String cmd, int timeout) throws IOException { FILE: src/java/test/org/apache/zookeeper/test/GetChildren2Test.java class GetChildren2Test (line 34) | public class GetChildren2Test extends ClientBase { method setUp (line 37) | @Override method tearDown (line 44) | @Override method testChild (line 51) | @Test method testChildren (line 91) | @Test FILE: src/java/test/org/apache/zookeeper/test/HierarchicalQuorumTest.java class HierarchicalQuorumTest (line 43) | public class HierarchicalQuorumTest extends ClientBase { method setUp (line 63) | @Override method startServers (line 120) | void startServers() throws Exception { method startServers (line 130) | void startServers(boolean withObservers) throws Exception { method tearDown (line 235) | @Override method shutdown (line 261) | protected void shutdown(QuorumPeer qp) { method createClient (line 265) | protected TestableZooKeeper createClient() method createClient (line 271) | protected TestableZooKeeper createClient(String hp) method verifyElectionTimeTakenJMXAttribute (line 278) | private void verifyElectionTimeTakenJMXAttribute(List peers) method testHierarchicalQuorum (line 305) | @Test FILE: src/java/test/org/apache/zookeeper/test/IntegrityCheck.java class IntegrityCheck (line 51) | public class IntegrityCheck implements Watcher, StatCallback, DataCallba... method incOutstanding (line 68) | synchronized void incOutstanding() { method decOutstanding (line 72) | synchronized void decOutstanding() { method waitOutstanding (line 77) | synchronized void waitOutstanding() throws InterruptedException { method IntegrityCheck (line 83) | IntegrityCheck(String hostPort, String path, int count) throws method run (line 90) | public void run() throws InterruptedException, KeeperException { method readAll (line 108) | void readAll() { method doCreate (line 117) | void doCreate() throws InterruptedException, KeeperException { method doPopulate (line 140) | void doPopulate() { method process (line 151) | public void process(WatchedEvent event) { method ensureConnected (line 159) | synchronized void ensureConnected(){ method main (line 172) | public static void main(String[] args) { method processResult (line 206) | public void processResult(int rc, String path, Object ctx, Stat stat) { method processResult (line 213) | public void processResult(int rc, String path, Object ctx, byte[] data, FILE: src/java/test/org/apache/zookeeper/test/InvalidSnapshotTest.java class InvalidSnapshotTest (line 42) | public class InvalidSnapshotTest extends ZKTestCase implements Watcher { method testLogFormatter (line 54) | @Test method testSnapshotFormatter (line 66) | @Test method testSnapshotFormatterWithNull (line 77) | @Test method testSnapshot (line 89) | @Test method process (line 117) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/JMXEnv.java class JMXEnv (line 44) | public class JMXEnv { method setUp (line 50) | public static void setUp() throws IOException { method tearDown (line 62) | public static void tearDown() { method conn (line 83) | public static MBeanServerConnection conn() throws IOException { method ensureAll (line 99) | public static Set ensureAll(String... expectedNames) method ensureOnly (line 144) | public static Set ensureOnly(String... expectedNames) method ensureNone (line 156) | public static void ensureNone(String... expectedNames) method dump (line 198) | public static void dump() throws IOException { method ensureParent (line 228) | public static Set ensureParent(String... expectedNames) method compare (line 271) | private static boolean compare(String bean, String name) { method ensureBeanAttribute (line 293) | public static Object ensureBeanAttribute(String expectedName, FILE: src/java/test/org/apache/zookeeper/test/KeeperStateTest.java class KeeperStateTest (line 29) | public class KeeperStateTest extends ZKTestCase { method testIntConversion (line 31) | @Test method testInvalidIntConversion (line 41) | @Test method testDeprecatedCodeOkInSwitch (line 55) | @Test method testCodeOKInSwitch (line 67) | @Test FILE: src/java/test/org/apache/zookeeper/test/LENonTerminateTest.java class LENonTerminateTest (line 53) | public class LENonTerminateTest extends ZKTestCase { class MockLeaderElection (line 54) | public class MockLeaderElection extends LeaderElection { method MockLeaderElection (line 55) | public MockLeaderElection(QuorumPeer self) { method lookForLeader (line 69) | public Vote lookForLeader() throws InterruptedException { class MockQuorumPeer (line 213) | public class MockQuorumPeer extends QuorumPeer { method MockQuorumPeer (line 214) | public MockQuorumPeer(Map quorumPeers, File snapDir, method createElectionAlgorithm (line 225) | protected Election createElectionAlgorithm(int electionAlgorithm){ method setUp (line 239) | @Before class LEThread (line 251) | class LEThread extends Thread { method LEThread (line 256) | LEThread(QuorumPeer peer, int i) { method run (line 263) | public void run(){ method testNonTermination (line 297) | @Test method mockServer (line 354) | void mockServer() throws InterruptedException, IOException { FILE: src/java/test/org/apache/zookeeper/test/LETest.java class LETest (line 38) | public class LETest extends ZKTestCase { class LEThread (line 44) | class LEThread extends Thread { method LEThread (line 48) | LEThread(LeaderElection le, QuorumPeer peer, int i) { method run (line 53) | public void run() { method testLE (line 91) | @Test FILE: src/java/test/org/apache/zookeeper/test/LoadFromLogNoServerTest.java class LoadFromLogNoServerTest (line 49) | public class LoadFromLogNoServerTest extends ZKTestCase { method testTxnFailure (line 56) | @Test method doOp (line 95) | private void doOp(FileTxnSnapLog logFile, int type, String path, method testPad (line 157) | @Test FILE: src/java/test/org/apache/zookeeper/test/LoadFromLogTest.java class LoadFromLogTest (line 40) | public class LoadFromLogTest extends ClientBase { method setUp (line 48) | @Before method testLoad (line 58) | @Test method testRestore (line 96) | @Test method testRestoreWithTransactionErrors (line 161) | @Test method testReloadSnapshotWithMissingParent (line 199) | @Test FILE: src/java/test/org/apache/zookeeper/test/MaxCnxnsTest.java class MaxCnxnsTest (line 33) | public class MaxCnxnsTest extends ClientBase { method setUp (line 39) | @Override class CnxnThread (line 45) | class CnxnThread extends Thread { method CnxnThread (line 48) | public CnxnThread(int i) { method run (line 53) | public void run() { method testMaxCnxns (line 118) | @Test FILE: src/java/test/org/apache/zookeeper/test/MultiTransactionTest.java class MultiTransactionTest (line 55) | @RunWith(Parameterized.class) method MultiTransactionTest (line 64) | public MultiTransactionTest(boolean useAsync) { method configs (line 68) | @Parameters method setUp (line 75) | @Before class MultiResult (line 82) | static class MultiResult { method multi (line 88) | private List multi(ZooKeeper zk, Iterable ops) method multiHavingErrors (line 119) | private void multiHavingErrors(ZooKeeper zk, Iterable ops, method commit (line 163) | private List commit(Transaction txn) method testInvalidPath (line 197) | @Test(timeout = 90000) method testBlankPath (line 259) | @Test(timeout = 90000) method testInvalidCreateModeFlag (line 281) | @Test(timeout = 90000) method testMultiRollback (line 312) | @Test method testChRootCreateDelete (line 356) | @Test method testChRootSetData (line 382) | @Test method testChRootCheck (line 405) | @Test method testChRootTransaction (line 423) | @Test method createNameSpace (line 457) | private String createNameSpace() throws InterruptedException, method testCreate (line 467) | @Test method testCreateDelete (line 479) | @Test method testInvalidVersion (line 491) | @Test method testNestedCreate (line 505) | @Test method testSetData (line 526) | @Test method testUpdateConflict (line 544) | @Test method TestDeleteUpdateConflict (line 573) | @Test method TestGetResults (line 592) | @Test method testOpResultEquals (line 649) | @Test method opEquals (line 676) | private void opEquals(OpResult expected, OpResult value, OpResult near) { method testWatchesTriggered (line 685) | @Test method testNoWatchesTriggeredForFailedMultiRequest (line 696) | @Test method testTransactionBuilder (line 717) | @Test class HasTriggeredWatcher (line 789) | private static class HasTriggeredWatcher implements Watcher { method process (line 792) | @Override class SyncCallback (line 797) | private static class SyncCallback implements AsyncCallback.VoidCallback { method processResult (line 800) | @Override FILE: src/java/test/org/apache/zookeeper/test/NioNettySuiteBase.java class NioNettySuiteBase (line 31) | @RunWith(Suite.class) method setUp (line 33) | @BeforeClass method tearDown (line 39) | @AfterClass FILE: src/java/test/org/apache/zookeeper/test/NioNettySuiteHammerTest.java class NioNettySuiteHammerTest (line 26) | @Suite.SuiteClasses({ FILE: src/java/test/org/apache/zookeeper/test/NioNettySuiteTest.java class NioNettySuiteTest (line 26) | @Suite.SuiteClasses({ FILE: src/java/test/org/apache/zookeeper/test/NonRecoverableErrorTest.java class NonRecoverableErrorTest (line 44) | public class NonRecoverableErrorTest extends QuorumPeerTestBase { method testZooKeeperServiceAvailableOnLeader (line 52) | @Test(timeout = 30000) method waitForNewLeaderElection (line 153) | private void waitForNewLeaderElection(QuorumPeer peer, method getLeaderQuorumPeer (line 167) | private QuorumPeer getLeaderQuorumPeer(MainThread[] mt) { method uniqueZnode (line 178) | private String uniqueZnode() { FILE: src/java/test/org/apache/zookeeper/test/NullDataTest.java class NullDataTest (line 34) | public class NullDataTest extends ClientBase implements StatCallback { method setUp (line 38) | @Override method tearDown (line 46) | @Override method testNullData (line 52) | @Test method processResult (line 72) | public void processResult(int rc, String path, Object ctx, Stat stat) { FILE: src/java/test/org/apache/zookeeper/test/OOMTest.java class OOMTest (line 41) | public class OOMTest extends ZKTestCase implements Watcher { method testOOM (line 42) | @Test method utestExists (line 107) | private void utestExists(int port) method utestPrep (line 118) | private void utestPrep(int port) method utestGet (line 129) | private void utestGet(int port) method utestChildren (line 141) | private void utestChildren(int port) method process (line 157) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/OSMXBeanTest.java class OSMXBeanTest (line 29) | public class OSMXBeanTest { method initialize (line 36) | @Before method testGetUnix (line 42) | @Test method testGetOpenFileDescriptorCount (line 52) | @Test method testGetMaxFileDescriptorCount (line 61) | @Test FILE: src/java/test/org/apache/zookeeper/test/ObserverHierarchicalQuorumTest.java class ObserverHierarchicalQuorumTest (line 25) | public class ObserverHierarchicalQuorumTest extends HierarchicalQuorumTe... method startServers (line 31) | void startServers() throws Exception { method shutdown (line 35) | protected void shutdown(QuorumPeer qp) { method testHierarchicalQuorum (line 39) | @Test FILE: src/java/test/org/apache/zookeeper/test/ObserverLETest.java class ObserverLETest (line 31) | public class ObserverLETest extends ZKTestCase { method establishThreeParticipantOneObserverEnsemble (line 35) | @Before method shutdownQuorum (line 43) | @After method testLEWithObserver (line 55) | @Test FILE: src/java/test/org/apache/zookeeper/test/ObserverQuorumHammerTest.java class ObserverQuorumHammerTest (line 23) | public class ObserverQuorumHammerTest extends QuorumHammerTest { method setUp (line 27) | @Before method testHammerBasic (line 35) | @Test FILE: src/java/test/org/apache/zookeeper/test/ObserverTest.java class ObserverTest (line 40) | public class ObserverTest extends QuorumPeerTestBase implements Watcher{ method testObserver (line 56) | @Test method process (line 186) | public void process(WatchedEvent event) { method testObserverOnly (line 197) | @Test method testObserverWithStandlone (line 216) | @Test FILE: src/java/test/org/apache/zookeeper/test/QuorumBase.java class QuorumBase (line 41) | public class QuorumBase extends ClientBase { method testNull (line 58) | @Test method setUp (line 63) | @Override method setUp (line 68) | protected void setUp(boolean withObservers) throws Exception { method startServers (line 112) | void startServers() throws Exception { method startServers (line 116) | void startServers(boolean withObservers) throws Exception { method setupServers (line 213) | public void setupServers() throws IOException { method setupServer (line 222) | public void setupServer(int i) throws IOException { method tearDown (line 275) | @Override method shutdownServers (line 296) | public void shutdownServers() { method shutdown (line 304) | public static void shutdown(QuorumPeer qp) { method createClient (line 329) | protected TestableZooKeeper createClient() method createClient (line 335) | protected TestableZooKeeper createClient(String hp) FILE: src/java/test/org/apache/zookeeper/test/QuorumHammerTest.java class QuorumHammerTest (line 27) | public class QuorumHammerTest extends ZKTestCase { method setUp (line 34) | @Before method tearDown (line 41) | @After method testHammerBasic (line 47) | @Test FILE: src/java/test/org/apache/zookeeper/test/QuorumQuotaTest.java class QuorumQuotaTest (line 33) | public class QuorumQuotaTest extends QuorumBase { method testQuotaWithQuorum (line 37) | @Test FILE: src/java/test/org/apache/zookeeper/test/QuorumTest.java class QuorumTest (line 52) | public class QuorumTest extends ZKTestCase { method setUp (line 59) | @Before method tearDown (line 66) | @After method testDeleteWithChildren (line 72) | @Test method testPing (line 77) | @Test method testSequentialNodeNames (line 82) | @Test method testACLs (line 89) | @Test method testClientwithoutWatcherObj (line 94) | @Test method testClientWithWatcherObj (line 101) | @Test method testGetView (line 108) | @Test method testViewContains (line 117) | @Test method testLeaderShutdown (line 131) | @Test method testMultipleWatcherObjs (line 178) | @Test method testSessionMoved (line 193) | @Test class DiscoWatcher (line 237) | private static class DiscoWatcher implements Watcher { method process (line 239) | public void process(WatchedEvent event) { method testSessionMove (line 250) | @Test FILE: src/java/test/org/apache/zookeeper/test/QuorumUtil.java class QuorumUtil (line 43) | public class QuorumUtil { class PeerStruct (line 51) | public class PeerStruct { method QuorumUtil (line 82) | public QuorumUtil(int n, int syncLimit) throws RuntimeException { method QuorumUtil (line 120) | public QuorumUtil(int n) throws RuntimeException { method getPeer (line 124) | public PeerStruct getPeer(int id) { method startAll (line 128) | public void startAll() throws IOException { method startQuorum (line 173) | public void startQuorum() throws IOException { method start (line 184) | public void start(int id) throws IOException { method restart (line 194) | public void restart(int id) throws IOException { method startThenShutdown (line 200) | public void startThenShutdown(int id) throws IOException { method shutdownAll (line 213) | public void shutdownAll() { method shutdown (line 224) | public void shutdown(int id) { method getConnString (line 246) | public String getConnString() { method tearDown (line 250) | public void tearDown() throws Exception { FILE: src/java/test/org/apache/zookeeper/test/QuorumZxidSyncTest.java class QuorumZxidSyncTest (line 34) | public class QuorumZxidSyncTest extends ZKTestCase { method setUp (line 37) | @Before method testBehindLeader (line 45) | @Test method deleteFiles (line 94) | private void deleteFiles(File f) { method testLateLogs (line 105) | @Test method deleteLogs (line 158) | private void deleteLogs(File f) { method tearDown (line 167) | @After FILE: src/java/test/org/apache/zookeeper/test/ReadOnlyModeTest.java class ReadOnlyModeTest (line 52) | public class ReadOnlyModeTest extends ZKTestCase { method setUp (line 58) | @Before method tearDown (line 64) | @After method testMultiTransaction (line 73) | @Test(timeout = 90000) method testReadOnlyClient (line 116) | @Test(timeout = 90000) method testConnectionEvents (line 157) | @Test(timeout = 90000) method testSessionEstablishment (line 196) | @Test(timeout = 90000) method testSeekForRwServer (line 237) | @SuppressWarnings("deprecation") FILE: src/java/test/org/apache/zookeeper/test/RecoveryTest.java class RecoveryTest (line 44) | public class RecoveryTest extends ZKTestCase implements Watcher { method testRecovery (line 64) | @Test method process (line 201) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/RepeatStartupTest.java class RepeatStartupTest (line 30) | public class RepeatStartupTest extends ZKTestCase { method testFail (line 37) | @Test FILE: src/java/test/org/apache/zookeeper/test/RestoreCommittedLogTest.java class RestoreCommittedLogTest (line 44) | public class RestoreCommittedLogTest extends ZKTestCase implements Watc... method testRestoreCommittedLog (line 52) | @Test method process (line 87) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/SaslAuthDesignatedClientTest.java class SaslAuthDesignatedClientTest (line 33) | public class SaslAuthDesignatedClientTest extends ClientBase { method testAuth (line 68) | @Test method testSaslConfig (line 82) | @Test FILE: src/java/test/org/apache/zookeeper/test/SaslAuthDesignatedServerTest.java class SaslAuthDesignatedServerTest (line 39) | public class SaslAuthDesignatedServerTest extends ClientBase { class MyWatcher (line 66) | private class MyWatcher extends CountdownWatcher { method reset (line 69) | @Override method process (line 75) | @Override method testAuth (line 88) | @Test FILE: src/java/test/org/apache/zookeeper/test/SaslAuthFailDesignatedClientTest.java class SaslAuthFailDesignatedClientTest (line 38) | public class SaslAuthFailDesignatedClientTest extends ClientBase { class MyWatcher (line 75) | private class MyWatcher extends CountdownWatcher { method process (line 76) | @Override method testAuth (line 87) | @Test FILE: src/java/test/org/apache/zookeeper/test/SaslAuthFailNotifyTest.java class SaslAuthFailNotifyTest (line 35) | public class SaslAuthFailNotifyTest extends ClientBase { method createClient (line 65) | @Override class MyWatcher (line 73) | private class MyWatcher extends CountdownWatcher { method process (line 74) | @Override method testBadSaslAuthNotifiesWatch (line 88) | @Test FILE: src/java/test/org/apache/zookeeper/test/SaslAuthFailTest.java class SaslAuthFailTest (line 35) | public class SaslAuthFailTest extends ClientBase { method testAuthFail (line 63) | @Test FILE: src/java/test/org/apache/zookeeper/test/SaslAuthMissingClientConfigTest.java class SaslAuthMissingClientConfigTest (line 36) | public class SaslAuthMissingClientConfigTest extends ClientBase { class MyWatcher (line 71) | private class MyWatcher extends CountdownWatcher { method process (line 72) | @Override method testAuth (line 83) | @Test FILE: src/java/test/org/apache/zookeeper/test/SaslClientTest.java class SaslClientTest (line 30) | public class SaslClientTest extends ZKTestCase { method setUp (line 34) | @Before method tearDown (line 39) | @After method testSaslClientDisabled (line 47) | @Test FILE: src/java/test/org/apache/zookeeper/test/SessionInvalidationTest.java class SessionInvalidationTest (line 38) | public class SessionInvalidationTest extends ClientBase { method testCreateAfterCloseShouldFail (line 49) | @Test FILE: src/java/test/org/apache/zookeeper/test/SessionTest.java class SessionTest (line 53) | public class SessionTest extends ZKTestCase { method setUp (line 68) | @Before method tearDown (line 86) | @After class CountdownWatcher (line 95) | private static class CountdownWatcher implements Watcher { method process (line 98) | public void process(WatchedEvent event) { method createClient (line 105) | private DisconnectableZooKeeper createClient() method createClient (line 112) | private DisconnectableZooKeeper createClient(int timeout) method createClient (line 119) | private DisconnectableZooKeeper createClient(int timeout, class MyWatcher (line 164) | private class MyWatcher implements Watcher { method MyWatcher (line 166) | public MyWatcher(String name) { method process (line 169) | public void process(WatchedEvent event) { method testSession (line 185) | @Test method findThreads (line 239) | private List findThreads(String name) { method testSessionTimeout (line 255) | @Test method testSessionMove (line 312) | @Test method testSessionStateNoDupStateReporting (line 362) | @Test method testSessionTimeoutAccess (line 391) | @Test class DupWatcher (line 416) | private class DupWatcher extends CountdownWatcher { method process (line 418) | public void process(WatchedEvent event) { method testMinMaxSessionTimeout (line 426) | @Test FILE: src/java/test/org/apache/zookeeper/test/SledgeHammer.java class SledgeHammer (line 33) | public class SledgeHammer extends Thread implements Watcher { method SledgeHammer (line 40) | public SledgeHammer(String hosts, int count, int readsPerWrite) method run (line 47) | public void run() { method main (line 96) | public static void main(String[] args) throws NumberFormatException, method process (line 109) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/StandaloneTest.java class StandaloneTest (line 34) | public class StandaloneTest extends QuorumPeerTestBase implements Watcher{ method testStandaloneQuorum (line 45) | @Test FILE: src/java/test/org/apache/zookeeper/test/StatTest.java class StatTest (line 31) | public class StatTest extends ClientBase { method setUp (line 34) | @Override method tearDown (line 41) | @Override method newStat (line 54) | private Stat newStat() { method testBasic (line 72) | @Test method testChild (line 96) | @Test method testChildren (line 137) | @Test method testDataSizeChange (line 167) | @Test FILE: src/java/test/org/apache/zookeeper/test/StaticHostProviderTest.java class StaticHostProviderTest (line 42) | public class StaticHostProviderTest extends ZKTestCase { method testNextGoesRound (line 45) | @Test method testNextGoesRoundAndSleeps (line 54) | @Test method testNextDoesNotSleepForZero (line 68) | @Test method testTwoConsequitiveCallsToNextReturnDifferentElement (line 82) | @Test method testOnConnectDoesNotReset (line 89) | @Test method testLiteralIPNoReverseNS (line 98) | @Test method testTwoInvalidHostAddresses (line 114) | @Test(expected = IllegalArgumentException.class) method testOneInvalidHostAddresses (line 122) | public void testOneInvalidHostAddresses() { method getHostProviderUnresolved (line 133) | private StaticHostProvider getHostProviderUnresolved(byte size) { method getUnresolvedServerAddresses (line 137) | private Collection getUnresolvedServerAddresses(byt... method getHostProvider (line 146) | private StaticHostProvider getHostProvider(byte size) { FILE: src/java/test/org/apache/zookeeper/test/SyncCallTest.java class SyncCallTest (line 39) | public class SyncCallTest extends ClientBase method testSync (line 47) | @Test method processResult (line 81) | @SuppressWarnings("unchecked") method processResult (line 88) | @SuppressWarnings("unchecked") method processResult (line 95) | @SuppressWarnings("unchecked") method processResult (line 102) | @SuppressWarnings("unchecked") FILE: src/java/test/org/apache/zookeeper/test/TestHammer.java class TestHammer (line 29) | public class TestHammer implements VoidCallback { method main (line 35) | public static void main(String[] args) { method processResult (line 58) | public void processResult(int rc, String path, Object ctx) { FILE: src/java/test/org/apache/zookeeper/test/TestUtils.java class TestUtils (line 27) | public class TestUtils { method deleteFileRecursively (line 37) | public static boolean deleteFileRecursively(File file, method deleteFileRecursively (line 57) | public static boolean deleteFileRecursively(File file) { FILE: src/java/test/org/apache/zookeeper/test/TruncateTest.java class TruncateTest (line 55) | public class TruncateTest extends ZKTestCase { method setUp (line 60) | @Before method tearDown (line 67) | @After method process (line 76) | @Override method testTruncationStreamReset (line 82) | @Test method append (line 118) | private void append(ZKDatabase zkdb, int i) throws IOException { method testTruncationNullLog (line 130) | @Test method testTruncate (line 159) | @Test FILE: src/java/test/org/apache/zookeeper/test/UpgradeTest.java class UpgradeTest (line 46) | public class UpgradeTest extends ZKTestCase implements Watcher { method testUpgrade (line 58) | @Test method process (line 97) | public void process(WatchedEvent event) { FILE: src/java/test/org/apache/zookeeper/test/WatchEventWhenAutoReset.java class WatchEventWhenAutoReset (line 39) | public class WatchEventWhenAutoReset extends TestCase { class EventsWatcher (line 46) | static public class EventsWatcher extends CountdownWatcher { method process (line 49) | @Override method assertEvent (line 61) | public void assertEvent(long timeout, EventType eventType) { method createClient (line 73) | private ZooKeeper createClient(QuorumUtil qu, int id, EventsWatcher wa... method createClient (line 87) | private ZooKeeper createClient(QuorumUtil qu, int id) throws IOExcepti... method testNodeDataChanged (line 91) | @Test method testNodeCreated (line 125) | @Test method testNodeDeleted (line 147) | @Test method testNodeChildrenChanged (line 188) | @Test FILE: src/java/test/org/apache/zookeeper/test/WatchedEventTest.java class WatchedEventTest (line 31) | public class WatchedEventTest extends ZKTestCase { method testCreatingWatchedEvent (line 33) | @Test method testCreatingWatchedEventFromWrapper (line 53) | @Test method testCreatingWatchedEventFromInvalidWrapper (line 73) | @Test method testConvertingToEventWrapper (line 86) | @Test FILE: src/java/test/org/apache/zookeeper/test/WatcherFuncTest.java class WatcherFuncTest (line 39) | public class WatcherFuncTest extends ClientBase { class SimpleWatcher (line 40) | private static class SimpleWatcher implements Watcher { method SimpleWatcher (line 45) | public SimpleWatcher(CountDownLatch latch) { method process (line 49) | public void process(WatchedEvent event) { method verify (line 65) | public void verify(List expected) throws InterruptedExcep... method setUp (line 87) | @Override method tearDown (line 102) | @Override method createClient (line 109) | protected ZooKeeper createClient(Watcher watcher, CountDownLatch latch) method verify (line 119) | private void verify() throws InterruptedException { method testExistsSync (line 124) | @Test method testGetDataSync (line 177) | @Test method testGetChildrenSync (line 219) | @Test method testExistsSyncWObj (line 264) | @Test method testGetDataSyncWObj (line 341) | @Test method testGetChildrenSyncWObj (line 410) | @Test FILE: src/java/test/org/apache/zookeeper/test/WatcherTest.java class WatcherTest (line 45) | public class WatcherTest extends ClientBase { class MyStatCallback (line 50) | private final class MyStatCallback implements StatCallback { method processResult (line 52) | public void processResult(int rc, String path, Object ctx, Stat stat) { class MyWatcher (line 58) | private class MyWatcher extends CountdownWatcher { method process (line 62) | public void process(WatchedEvent event) { method setUp (line 75) | @Before method testWatcherCorrectness (line 93) | @Test method testWatcherCount (line 145) | @Test method testWatchAutoResetWithPending (line 185) | @Test method waitForAllWatchers (line 232) | private void waitForAllWatchers() throws Exception { method testWatcherAutoResetWithGlobal (line 241) | @Test method testWatcherAutoResetWithLocal (line 250) | @Test method testWatcherAutoResetDisabledWithGlobal (line 259) | @Test method testWatcherAutoResetDisabledWithLocal (line 265) | @Test method testWatcherAutoReset (line 271) | private void testWatcherAutoReset(ZooKeeper zk, MyWatcher globalWatcher, FILE: src/java/test/org/apache/zookeeper/test/ZkDatabaseCorruptionTest.java class ZkDatabaseCorruptionTest (line 44) | public class ZkDatabaseCorruptionTest extends ZKTestCase { method setUp (line 50) | @Before method tearDown (line 56) | @After method corruptFile (line 61) | private void corruptFile(File f) throws IOException { method corruptAllSnapshots (line 67) | private void corruptAllSnapshots(File snapDir) throws IOException { class NoopStringCallback (line 76) | private class NoopStringCallback implements AsyncCallback.StringCallba... method processResult (line 77) | @Override method testCorruption (line 83) | @Test FILE: src/java/test/org/apache/zookeeper/test/ZooKeeperQuotaTest.java class ZooKeeperQuotaTest (line 37) | public class ZooKeeperQuotaTest extends ClientBase { method testQuota (line 43) | @Test FILE: src/java/test/org/apache/zookeeper/test/ZooKeeperTestClient.java class ZooKeeperTestClient (line 39) | public class ZooKeeperTestClient extends ZKTestCase implements Watcher { method getEvent (line 48) | private WatchedEvent getEvent(int numTries) throws InterruptedException { method deleteZKDir (line 62) | private void deleteZKDir(ZooKeeper zk, String nodeName) method checkRoot (line 90) | private void checkRoot() throws IOException, method enode_test_1 (line 115) | private void enode_test_1() throws IOException, method enode_test_2 (line 168) | private void enode_test_2() throws IOException, method delete_create_get_set_test_1 (line 333) | private void delete_create_get_set_test_1() throws method my_test_1 (line 398) | public void my_test_1() throws IOException, method process (line 405) | synchronized public void process(WatchedEvent event) { method main (line 414) | public static void main(String[] args) { FILE: src/recipes/election/src/java/org/apache/zookeeper/recipes/leader/LeaderElectionAware.java type LeaderElectionAware (line 25) | public interface LeaderElectionAware { method onElectionEvent (line 35) | public void onElectionEvent(EventType eventType); FILE: src/recipes/election/src/java/org/apache/zookeeper/recipes/leader/LeaderElectionSupport.java class LeaderElectionSupport (line 96) | public class LeaderElectionSupport implements Watcher { method LeaderElectionSupport (line 110) | public LeaderElectionSupport() { method start (line 127) | public synchronized void start() { method stop (line 159) | public synchronized void stop() { method makeOffer (line 179) | private void makeOffer() throws KeeperException, InterruptedException { method determineElectionStatus (line 195) | private void determineElectionStatus() throws KeeperException, method becomeReady (line 236) | private void becomeReady(LeaderOffer neighborLeaderOffer) method becomeLeader (line 269) | private void becomeLeader() { method becomeFailed (line 278) | private void becomeFailed(Exception e) { method getLeaderHostName (line 297) | public String getLeaderHostName() throws KeeperException, method toLeaderOffers (line 310) | private List toLeaderOffers(List strings) method process (line 336) | @Override method dispatchEvent (line 355) | private void dispatchEvent(EventType eventType) { method addListener (line 372) | public void addListener(LeaderElectionAware listener) { method removeListener (line 381) | public void removeListener(LeaderElectionAware listener) { method toString (line 385) | @Override method getRootNodeName (line 405) | public String getRootNodeName() { method setRootNodeName (line 420) | public void setRootNodeName(String rootNodeName) { method getZooKeeper (line 428) | public ZooKeeper getZooKeeper() { method setZooKeeper (line 432) | public void setZooKeeper(ZooKeeper zooKeeper) { method getHostName (line 440) | public String getHostName() { method setHostName (line 444) | public void setHostName(String hostName) { type EventType (line 451) | public static enum EventType { type State (line 458) | public static enum State { FILE: src/recipes/election/src/java/org/apache/zookeeper/recipes/leader/LeaderOffer.java class LeaderOffer (line 25) | public class LeaderOffer { method LeaderOffer (line 31) | public LeaderOffer() { method LeaderOffer (line 35) | public LeaderOffer(Integer id, String nodePath, String hostName) { method toString (line 41) | @Override method getId (line 47) | public Integer getId() { method setId (line 51) | public void setId(Integer id) { method getNodePath (line 55) | public String getNodePath() { method setNodePath (line 59) | public void setNodePath(String nodePath) { method getHostName (line 63) | public String getHostName() { method setHostName (line 67) | public void setHostName(String hostName) { class IdComparator (line 75) | public static class IdComparator implements Comparator { method compare (line 77) | @Override FILE: src/recipes/election/test/org/apache/zookeeper/recipes/leader/LeaderElectionSupportTest.java class LeaderElectionSupportTest (line 39) | public class LeaderElectionSupportTest extends ClientBase { method setUp (line 48) | @Before method tearDown (line 58) | @After method testNode (line 67) | @Test method testNodes3 (line 78) | @Test method testNodes9 (line 100) | @Test method testNodes20 (line 122) | @Test method testNodes100 (line 144) | @Test method testOfferShuffle (line 166) | @Test method testGetLeaderHostName (line 186) | @Test method createLeaderElectionSupport (line 205) | private LeaderElectionSupport createLeaderElectionSupport() { method runElectionSupportThread (line 216) | private Thread runElectionSupportThread(final CountDownLatch latch, method runElectionSupportThread (line 221) | private Thread runElectionSupportThread(final CountDownLatch latch, FILE: src/recipes/lock/src/c/include/zoo_lock.h type zkr_lock_mutex (line 46) | struct zkr_lock_mutex { type zkr_lock_mutex_t (line 58) | typedef struct zkr_lock_mutex zkr_lock_mutex_t; type ACL_vector (line 72) | struct ACL_vector type ACL_vector (line 91) | struct ACL_vector FILE: src/recipes/lock/src/c/src/zoo_lock.c function ZOOAPI (line 48) | ZOOAPI int zkr_lock_init(zkr_lock_mutex_t* mutex, zhandle_t* zh, function ZOOAPI (line 62) | ZOOAPI int zkr_lock_init_cb(zkr_lock_mutex_t *mutex, zhandle_t* zh, function ZOOAPI (line 80) | ZOOAPI int zkr_lock_unlock(zkr_lock_mutex_t *mutex) { function free_String_vector (line 120) | static void free_String_vector(struct String_vector *v) { function vstrcmp (line 131) | static int vstrcmp(const void* str1, const void* str2) { function sort_children (line 137) | static void sort_children(struct String_vector *vector) { function lock_watcher_fn (line 152) | static void lock_watcher_fn(zhandle_t* zh, int type, int state, function retry_getchildren (line 172) | static int retry_getchildren(zhandle_t *zh, char* path, struct String_ve... type String_vector (line 191) | struct String_vector function retry_zoowexists (line 208) | static int retry_zoowexists(zhandle_t *zh, char* path, watcher_fn watche... function zkr_lock_operation (line 230) | static int zkr_lock_operation(zkr_lock_mutex_t *mutex, struct timespec *... function ZOOAPI (line 333) | ZOOAPI int zkr_lock_lock(zkr_lock_mutex_t *mutex) { function ZOOAPI (line 371) | ZOOAPI char* zkr_lock_getpath(zkr_lock_mutex_t *mutex) { function ZOOAPI (line 375) | ZOOAPI int zkr_lock_isowner(zkr_lock_mutex_t *mutex) { function ZOOAPI (line 380) | ZOOAPI char* zkr_lock_getid(zkr_lock_mutex_t *mutex) { function ZOOAPI (line 384) | ZOOAPI int zkr_lock_destroy(zkr_lock_mutex_t* mutex) { FILE: src/recipes/lock/src/c/tests/TestClient.cc function yield (line 34) | static void yield(zhandle_t *zh, int i) type evt (line 39) | struct evt { type watchCtx (line 44) | struct watchCtx { method watchCtx (line 51) | watchCtx() { method evt_t (line 62) | evt_t getEvent() { method countEvents (line 69) | int countEvents() { method putEvent (line 75) | void putEvent(evt_t evt) { method waitForConnected (line 79) | bool waitForConnected(zhandle_t *zh) { method waitForDisconnected (line 86) | bool waitForDisconnected(zhandle_t *zh) { class Zookeeper_locktest (line 95) | class Zookeeper_locktest : public CPPUNIT_NS::TestFixture method watcher (line 101) | static void watcher(zhandle_t *, int type, int state, const char *path... method zhandle_t (line 123) | zhandle_t *createClient(watchctx_t *ctx) { method setUp (line 135) | void setUp() method startServer (line 143) | void startServer() { method stopServer (line 149) | void stopServer() { method tearDown (line 153) | void tearDown() method testlock (line 161) | void testlock() FILE: src/recipes/lock/src/c/tests/TestDriver.cc function CPPUNIT_NS_BEGIN (line 37) | CPPUNIT_NS_BEGIN function CPPUNIT_NS_END (line 66) | CPPUNIT_NS_END FILE: src/recipes/lock/src/c/tests/Util.cc function millisleep (line 25) | void millisleep(int ms){ FILE: src/recipes/lock/src/c/tests/Util.h type T (line 47) | typedef T BareT; type T (line 48) | typedef T ArgT; type typename (line 55) | typedef typename TypeOp::BareT BareT; type typename (line 62) | typedef typename TypeOp::BareT BareT; type std (line 70) | typedef std::map Map; function class (line 107) | class TestConfig{ FILE: src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/LockListener.java type LockListener (line 26) | public interface LockListener { method lockAcquired (line 31) | public void lockAcquired(); method lockReleased (line 37) | public void lockReleased(); FILE: src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/ProtocolSupport.java class ProtocolSupport (line 40) | class ProtocolSupport { method ProtocolSupport (line 49) | public ProtocolSupport(ZooKeeper zookeeper) { method close (line 57) | public void close() { method getZookeeper (line 67) | public ZooKeeper getZookeeper() { method getAcl (line 75) | public List getAcl() { method setAcl (line 83) | public void setAcl(List acl) { method getRetryDelay (line 91) | public long getRetryDelay() { method setRetryDelay (line 99) | public void setRetryDelay(long retryDelay) { method doClose (line 107) | protected void doClose() { method retryOperation (line 116) | protected Object retryOperation(ZooKeeperOperation operation) method ensurePathExists (line 142) | protected void ensurePathExists(String path) { method ensureExists (line 152) | protected void ensureExists(final String path, final byte[] data, method isClosed (line 176) | protected boolean isClosed() { method retryDelay (line 184) | protected void retryDelay(int attemptCount) { FILE: src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/WriteLock.java class WriteLock (line 43) | public class WriteLock extends ProtocolSupport { method WriteLock (line 62) | public WriteLock(ZooKeeper zookeeper, String dir, List acl) { method WriteLock (line 78) | public WriteLock(ZooKeeper zookeeper, String dir, List acl, method getLockListener (line 88) | public LockListener getLockListener() { method setLockListener (line 96) | public void setLockListener(LockListener callback) { method unlock (line 108) | public synchronized void unlock() throws RuntimeException { class LockWatcher (line 149) | private class LockWatcher implements Watcher { method process (line 150) | public void process(WatchedEvent event) { class LockZooKeeperOperation (line 166) | private class LockZooKeeperOperation implements ZooKeeperOperation { method findPrefixInChildren (line 176) | private void findPrefixInChildren(String prefix, ZooKeeper zookeeper... method execute (line 204) | public boolean execute() throws KeeperException, InterruptedException { method lock (line 263) | public synchronized boolean lock() throws KeeperException, Interrupted... method getDir (line 276) | public String getDir() { method isOwner (line 284) | public boolean isOwner() { method getId (line 292) | public String getId() { FILE: src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/ZNodeName.java class ZNodeName (line 28) | class ZNodeName implements Comparable { method ZNodeName (line 34) | public ZNodeName(String name) { method toString (line 55) | @Override method equals (line 60) | @Override method hashCode (line 72) | @Override method compareTo (line 84) | public int compareTo(ZNodeName that) { method getName (line 95) | public String getName() { method getZNodeName (line 102) | public int getZNodeName() { method getPrefix (line 109) | public String getPrefix() { FILE: src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/ZooKeeperOperation.java type ZooKeeperOperation (line 27) | public interface ZooKeeperOperation { method execute (line 37) | public boolean execute() throws KeeperException, InterruptedException; FILE: src/recipes/lock/test/org/apache/zookeeper/recipes/lock/WriteLockTest.java class WriteLockTest (line 33) | public class WriteLockTest extends ClientBase { method testRun (line 42) | @Test class LockCallback (line 47) | class LockCallback implements LockListener { method lockAcquired (line 48) | public void lockAcquired() { method lockReleased (line 52) | public void lockReleased() { method runTest (line 57) | protected void runTest(int count) throws Exception { method dumpNodes (line 126) | protected void dumpNodes(int count) { method tearDown (line 134) | @After FILE: src/recipes/lock/test/org/apache/zookeeper/recipes/lock/ZNodeNameTest.java class ZNodeNameTest (line 30) | public class ZNodeNameTest extends TestCase { method testOrderWithSamePrefix (line 31) | @Test method testOrderWithDifferentPrefixes (line 37) | @Test method testOrderWithDifferentPrefixIncludingSessionId (line 43) | @Test method testOrderWithExtraPrefixes (line 49) | @Test method assertOrderedNodeNames (line 56) | protected void assertOrderedNodeNames(String[] names, String[] expecte... FILE: src/recipes/queue/src/c/include/zoo_queue.h type zkr_queue (line 36) | struct zkr_queue { type zkr_queue_t (line 46) | typedef struct zkr_queue zkr_queue_t; type ACL_vector (line 59) | struct ACL_vector FILE: src/recipes/queue/src/c/src/zoo_queue.c function free_String_vector (line 48) | static void free_String_vector(struct String_vector *v) { function vstrcmp (line 60) | static int vstrcmp(const void* str1, const void* str2) { function sort_children (line 66) | static void sort_children(struct String_vector *vector) { function concat_path_nodename_n (line 71) | static void concat_path_nodename_n(char *buffer, int len, const char *pa... function zkr_queue_cache_create_path (line 83) | static void zkr_queue_cache_create_path(zkr_queue_t *queue){ function ZOOAPI (line 90) | ZOOAPI int zkr_queue_init(zkr_queue_t *queue, zhandle_t* zh, char* path,... function ZOOAPI (line 102) | static ZOOAPI int create_queue_root(zkr_queue_t *queue){ function valid_child_name (line 106) | static int valid_child_name(zkr_queue_t *queue, const char *child_name){ function ZOOAPI (line 110) | ZOOAPI int zkr_queue_offer(zkr_queue_t *queue, const char *data, int buf... function ZOOAPI (line 132) | ZOOAPI int zkr_queue_element(zkr_queue_t *queue, char *buffer, int *buff... function ZOOAPI (line 178) | ZOOAPI int zkr_queue_remove(zkr_queue_t *queue, char *buffer, int *buffe... type take_latch (line 255) | struct take_latch { type take_latch_t (line 262) | typedef struct take_latch take_latch_t; function take_latch_init (line 265) | static void take_latch_init( take_latch_t *latch, zkr_queue_t *queue){ function take_latch_t (line 273) | static take_latch_t *create_take_latch(zkr_queue_t *queue){ function take_latch_destroy_unsafe (line 281) | static void take_latch_destroy_unsafe(take_latch_t *latch){ function take_latch_destroy_synchronized (line 288) | static void take_latch_destroy_synchronized(take_latch_t *latch){ function take_latch_setter_trigger_latch (line 295) | static void take_latch_setter_trigger_latch(take_latch_t *latch){ function take_latch_waiter_await (line 315) | static void take_latch_waiter_await(take_latch_t *latch){ function take_latch_waiter_mark_unneeded (line 338) | static void take_latch_waiter_mark_unneeded(take_latch_t *latch){ function take_watcher (line 358) | static void take_watcher(zhandle_t *zh, int type, int state, const char ... function ZOOAPI (line 365) | ZOOAPI int zkr_queue_take(zkr_queue_t *queue, char *buffer, int *buffer_... function ZOOAPI (line 437) | ZOOAPI void zkr_queue_destroy(zkr_queue_t *queue){ FILE: src/recipes/queue/src/c/tests/TestClient.cc function yield (line 36) | static void yield(zhandle_t *zh, int i) type evt (line 41) | struct evt { type watchCtx (line 46) | struct watchCtx { method watchCtx (line 53) | watchCtx() { method evt_t (line 64) | evt_t getEvent() { method countEvents (line 71) | int countEvents() { method putEvent (line 77) | void putEvent(evt_t evt) { method waitForConnected (line 81) | bool waitForConnected(zhandle_t *zh) { method waitForDisconnected (line 88) | bool waitForDisconnected(zhandle_t *zh) { function valid_test_string (line 127) | int valid_test_string(void *result){ class Zookeeper_queuetest (line 133) | class Zookeeper_queuetest : public CPPUNIT_NS::TestFixture method watcher (line 152) | static void watcher(zhandle_t *, int type, int state, const char *path... method zhandle_t (line 174) | zhandle_t *createClient(watchctx_t *ctx) { method setUp (line 186) | void setUp() method startServer (line 194) | void startServer() { method stopServer (line 200) | void stopServer() { method tearDown (line 204) | void tearDown() method initializeQueuesAndHandles (line 211) | void initializeQueuesAndHandles(int num_clients, zhandle_t *zoohandles[], method cleanUpQueues (line 220) | void cleanUpQueues(int num_clients, zkr_queue_t queues[]){ method testInitDestroy (line 227) | void testInitDestroy(){ method testOffer1 (line 246) | void testOffer1(){ method create_n_remove_m (line 272) | void create_n_remove_m(char *path, int n, int m){ method testOfferRemove1 (line 308) | void testOfferRemove1(){ method testOfferRemove2 (line 312) | void testOfferRemove2(){ method testOfferRemove3 (line 316) | void testOfferRemove3(){ method testOfferRemove4 (line 320) | void testOfferRemove4(){ method testOfferRemove5 (line 324) | void testOfferRemove5(){ method testOfferRemove6 (line 328) | void testOfferRemove6(){ method create_n_take_m (line 332) | void create_n_take_m(char *path, int n, int m){ method testOfferTake1 (line 369) | void testOfferTake1(){ method testOfferTake2 (line 373) | void testOfferTake2(){ method testOfferTake3 (line 377) | void testOfferTake3(){ method testOfferTake4 (line 381) | void testOfferTake4(){ method testOfferTake5 (line 385) | void testOfferTake5(){ method testOfferTake6 (line 389) | void testOfferTake6(){ method testTakeThreaded (line 393) | void testTakeThreaded(){ method testTakeThreaded2 (line 419) | void testTakeThreaded2(){ FILE: src/recipes/queue/src/c/tests/TestDriver.cc function CPPUNIT_NS_BEGIN (line 37) | CPPUNIT_NS_BEGIN function CPPUNIT_NS_END (line 66) | CPPUNIT_NS_END FILE: src/recipes/queue/src/c/tests/Util.cc function millisleep (line 25) | void millisleep(int ms){ FILE: src/recipes/queue/src/c/tests/Util.h type T (line 47) | typedef T BareT; type T (line 48) | typedef T ArgT; type typename (line 55) | typedef typename TypeOp::BareT BareT; type typename (line 62) | typedef typename TypeOp::BareT BareT; type std (line 70) | typedef std::map Map; function class (line 107) | class TestConfig{ FILE: src/recipes/queue/src/java/org/apache/zookeeper/recipes/queue/DistributedQueue.java class DistributedQueue (line 43) | public class DistributedQueue { method DistributedQueue (line 54) | public DistributedQueue(ZooKeeper zookeeper, String dir, List acl){ method orderedChildren (line 71) | private TreeMap orderedChildren(Watcher watcher) throws K... method smallestChildName (line 103) | private String smallestChildName() throws KeeperException, Interrupted... method element (line 149) | public byte[] element() throws NoSuchElementException, KeeperException... method remove (line 186) | public byte[] remove() throws NoSuchElementException, KeeperException,... class LatchChildWatcher (line 211) | private class LatchChildWatcher implements Watcher { method LatchChildWatcher (line 215) | public LatchChildWatcher(){ method process (line 219) | public void process(WatchedEvent event){ method await (line 224) | public void await() throws InterruptedException { method take (line 236) | public byte[] take() throws KeeperException, InterruptedException { method offer (line 270) | public boolean offer(byte[] data) throws KeeperException, InterruptedE... method peek (line 288) | public byte[] peek() throws KeeperException, InterruptedException{ method poll (line 303) | public byte[] poll() throws KeeperException, InterruptedException { FILE: src/recipes/queue/test/org/apache/zookeeper/recipes/queue/DistributedQueueTest.java class DistributedQueueTest (line 31) | public class DistributedQueueTest extends ClientBase { method tearDown (line 33) | @After method testOffer1 (line 40) | @Test method testOffer2 (line 58) | @Test method testTake1 (line 76) | @Test method testRemove1 (line 96) | @Test method createNremoveMtest (line 116) | public void createNremoveMtest(String dir,int n,int m) throws Exception{ method testRemove2 (line 138) | @Test method testRemove3 (line 142) | @Test method createNremoveMelementTest (line 147) | public void createNremoveMelementTest(String dir,int n,int m) throws E... method testElement1 (line 169) | @Test method testElement2 (line 174) | @Test method testElement3 (line 179) | @Test method testElement4 (line 184) | @Test method testTakeWait1 (line 189) | @Test method testTakeWait2 (line 236) | @Test