Package org.apache.zookeeper.client
Class Chroot.NotRoot
java.lang.Object
org.apache.zookeeper.client.Chroot.NotRoot
- All Implemented Interfaces:
Chroot
- Enclosing interface:
- Chroot
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.zookeeper.client.Chroot
Chroot.NotRoot, Chroot.Root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Creates a delegating callback to strip chroot from created node name.Creates a delegating callback to strip chroot from created node name.interceptWatcher(Watcher watcher) Creates a delegating watcher to strip chroot fromWatchedEvent.getPath()for given watcher.Creates server path by prepending chroot to given client path.Creates client path by stripping chroot from given sever path.toString()
-
Constructor Details
-
NotRoot
-
-
Method Details
-
prepend
Description copied from interface:ChrootCreates server path by prepending chroot to given client path. -
strip
Description copied from interface:ChrootCreates client path by stripping chroot from given sever path. -
interceptCallback
Description copied from interface:ChrootCreates a delegating callback to strip chroot from created node name.- Specified by:
interceptCallbackin interfaceChroot
-
interceptCallback
Description copied from interface:ChrootCreates a delegating callback to strip chroot from created node name.- Specified by:
interceptCallbackin interfaceChroot
-
interceptWatcher
Description copied from interface:ChrootCreates a delegating watcher to strip chroot fromWatchedEvent.getPath()for given watcher.- Specified by:
interceptWatcherin interfaceChroot
-
equals
-
hashCode
public int hashCode() -
toString
-