com.peircean.glusterfs.GlusterWatchEvent Maven / Gradle / Ivy
The newest version!
package com.peircean.glusterfs;
import lombok.Data;
import java.nio.file.Path;
import java.nio.file.StandardWatchEventKinds;
import java.nio.file.WatchEvent;
@Data
public class GlusterWatchEvent implements WatchEvent {
final private Path path;
private Kind kind = StandardWatchEventKinds.ENTRY_CREATE;
private int count = 0;
private long lastModified;
public Kind kind() {
return kind;
}
@Override
public int count() {
return count;
}
@Override
public Path context() {
return path;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy