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

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

public static class Event.UnlinkEvent
extends Event

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


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.UnlinkEvent(String path, long timestamp)
           
 
Method Summary
 String getPath()
           
 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.UnlinkEvent

public Event.UnlinkEvent(String path,
                         long timestamp)
Method Detail

getPath

public String getPath()

getTimestamp

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



Copyright © 2014 Apache Software Foundation. All Rights Reserved.