org.springframework.data.hadoop.store.event
Class FileWrittenEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.hadoop.store.event.AbstractStoreEvent
org.springframework.data.hadoop.store.event.FileWrittenEvent
- All Implemented Interfaces:
- Serializable
public class FileWrittenEvent
- extends AbstractStoreEvent
Generic event representing that Path has been written.
- Author:
- Janne Valkealahti
- See Also:
- Serialized Form
FileWrittenEvent
public FileWrittenEvent(Object source,
Path path)
- Instantiates a new file written event.
- Parameters:
source - the sourcepath - the path
getPath
public Path getPath()
- Gets the path.
- Returns:
- the path
toString
public String toString()
- Overrides:
toString in class EventObject