org.apache.hadoop.hdfs.inotify
Class Event.RenameEvent

java.lang.Object
  extended by org.apache.hadoop.hdfs.inotify.Event
      extended by org.apache.hadoop.hdfs.inotify.Event.RenameEvent
Enclosing class:
Event

public static class Event.RenameEvent
extends Event

Sent when a file, directory, or symlink is renamed.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hdfs.inotify.Event
Event.AppendEvent, Event.CloseEvent, Event.CreateEvent, Event.EventType, Event.MetadataUpdateEvent, Event.RenameEvent, Event.UnlinkEvent
 
Constructor Summary
Event.RenameEvent(String srcPath, String dstPath, long timestamp)
           
 
Method Summary
 String getDstPath()
           
 String getSrcPath()
           
 long getTimestamp()
          The time when this event occurred, in milliseconds since the epoch.
 
Methods inherited from class org.apache.hadoop.hdfs.inotify.Event
getEventType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event.RenameEvent

public Event.RenameEvent(String srcPath,
                         String dstPath,
                         long timestamp)
Method Detail

getSrcPath

public String getSrcPath()

getDstPath

public String getDstPath()

getTimestamp

public long getTimestamp()
The time when this event occurred, in milliseconds since the epoch.



Copyright © 2014 Apache Software Foundation. All Rights Reserved.