예제 #1
0
 public WatcherImpl(ByteSequence key, WatchOption watchOption, WatchImpl owner)
 {
     this.key         = key;
     this.watchOption = watchOption;
     this.revision    = watchOption.getRevision();
     this.owner       = owner;
 }
예제 #2
0
 public WatcherImpl(ByteSequence key, WatchOption watchOption, WatchImpl owner)
 {
     this.key         = key;
     this.watchOption = watchOption;
     this.revision    = watchOption.Revision;
     this.owner       = owner;
     this.watchClient = owner.watchClient;
 }