question: @ Override public void process ( WatchedEvent event ) { KeeperState eventState = event . getState ( ) ; EventType eventType = event . getType ( ) ; log . info ( "Receive from Watcher, State: {}, Type: {}." , eventState , eventType ) ; if ( eventState == KeeperState . SyncConnected ) { connectedSignal . countDown ( ) ; log . info ( "Connect to {} sucessfully" , connectionString ) ; } }
target:  Interface Method, do things after receiving event from Server Watcher