@Override
    public void start(final String name) {
        if (shouldEnableWatchService()) {
            LOGGER.trace("Starting watcher thread");
            thread = Thread.ofVirtual().name(name).start(this);
        }
    }
Control watch operations on paths and files as a service.

@author David Rodriguez
@since 5.2.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/io/PathWatcherService.java