Constructor and Description |
---|
FilesystemNotification(File pFile,
String pRelativePath,
String pRootPath,
java.nio.file.WatchEvent.Kind<?> pEvtType,
IFilelistenerWriteTrx pWtx)
Create a FilesystemNotification that holds the File
|
Modifier and Type | Method and Description |
---|---|
void |
addObserver(FilesystemNotificationObserver observer) |
Void |
call() |
boolean |
equals(Object o) |
int |
getBucketAmount()
Determine how many buckets are in the storage after this notifcation was processed.
|
java.nio.file.WatchEvent.Kind<?> |
getEvtType() |
File |
getFile() |
String |
getRelativePath() |
String |
getRootPath() |
long |
getTime()
Determine how long this notifcation was processed.
|
int |
hashCode() |
boolean |
isFinished() |
void |
notifyObservers() |
void |
setEvtType(java.nio.file.WatchEvent.Kind<?> pEvtType) |
public FilesystemNotification(File pFile, String pRelativePath, String pRootPath, java.nio.file.WatchEvent.Kind<?> pEvtType, IFilelistenerWriteTrx pWtx)
pFile
- pRelativePath
- pRootPath
- public File getFile()
public String getRelativePath()
public String getRootPath()
public void setEvtType(java.nio.file.WatchEvent.Kind<?> pEvtType)
public java.nio.file.WatchEvent.Kind<?> getEvtType()
public boolean isFinished()
public long getTime()
public int getBucketAmount()
public void notifyObservers() throws InterruptedException
InterruptedException
public void addObserver(FilesystemNotificationObserver observer)
observer
- Copyright © 2013. All Rights Reserved.