public static void checkPermission ( String path , LockType type ) throws MgmtZooKeeperException { if ( znodePermission . get ( ) != null ) { znodePermission . get ( ) . checkPermission ( path , type ) ; } }
Clear ZNodePermission of current - thread to null .