Class FileMonitoringImpl

  • All Implemented Interfaces:
    FileMonitoring, org.glassfish.hk2.api.PostConstruct

    @Service
    public class FileMonitoringImpl
    extends Object
    implements FileMonitoring, org.glassfish.hk2.api.PostConstruct
    Author:
    Jerome Dochez
    • Constructor Detail

      • FileMonitoringImpl

        public FileMonitoringImpl()
    • Method Detail

      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • fileModified

        public void fileModified​(File file)
        Description copied from interface: FileMonitoring
        Informs the monitor that a file has been changed. This is a hint to the monitor to prevent missing changes that occur within the granularity of the operating system's file modification time, typically 1 second.
        Specified by:
        fileModified in interface FileMonitoring