Seastar
High performance C++ framework for concurrent servers
Public Member Functions | List of all members
seastar::experimental::fsnotifier::watch Class Reference

Detailed Description

Simple RAII wrapper around a fsnotifier::watch_token.

The events of the path will be unregistered automatically on destruction of the watch.

#include <seastar/core/fsnotify.hh>

Public Member Functions

 watch (watch &&) noexcept
 
watchoperator= (watch &&) noexcept
 
watch_token release ()
 
 operator watch_token () const
 Cast this watch point to a watch token.
 
watch_token token () const
 Get the token of this watch point.
 

Member Function Documentation

◆ release()

watch_token seastar::experimental::fsnotifier::watch::release ( )

Reset the watch point.

Note
Note that this operation won't unregister the event for the path, but simply releases resources used internally.

The documentation for this class was generated from the following file: