Boost.AFIO    Boost C++ Libraries
Functions
Fetch metadata of storage volume

Functions

virtual std::vector< future
< statfs_t > > 
boost::afio::dispatcher::statfs (const std::vector< future<>> &ops, const std::vector< fs_metadata_flags > &reqs)=0
 Schedule a batch of asynchronous volume enumerations after preceding operations.
future< statfs_t > boost::afio::async_statfs (future<> _precondition, fs_metadata_flags req)
 Asynchronous volume enumeration after a preceding operation.
statfs_t boost::afio::statfs (future<> _precondition, fs_metadata_flags req)
 Synchronous volume enumeration after a preceding operation.
statfs_t boost::afio::statfs (error_code &_ec, future<> _precondition, fs_metadata_flags req)
 Synchronous volume enumeration after a preceding operation.

Function Documentation

future< statfs_t > boost::afio::dispatcher::statfs ( const std::vector< future<>> &  ops,
const std::vector< fs_metadata_flags > &  reqs 
) [pure virtual]

Schedule a batch of asynchronous volume enumerations after preceding operations.

Related types: `__afio_statfs_t__`

Returns:
A batch of stl_future volume metadatas.
Parameters:
opsA batch of op handles.
reqsA batch of metadata requests.
{ [raceguarantee FreeBSD, OS X..Race free.] [raceguarantee Linux..The following items are fetched in a single snapshot: bsize, iosize, blocks, bfree, bavail, files, ffree, namemax, fsid, flags.rdonly, flags.noexec, flags.nosuid.] [raceguarantee Windows..The following snapshot categories apply: (i) flags, namemax, fstypename (ii) bsize, blocks, bfree, bavail. Everything else is fetched separately.] }

Definition at line 3733 of file afio.hpp.

future<statfs_t> boost::afio::async_statfs ( future<>  _precondition,
fs_metadata_flags  req 
)

Asynchronous volume enumeration after a preceding operation.

Returns:
A `future<statfs_t>`
Parameters:
_preconditionThe precondition to use.
reqA metadata request.

{ [raceguarantee FreeBSD, OS X..Race free.] [raceguarantee Linux..The following items are fetched in a single snapshot: bsize, iosize, blocks, bfree, bavail, files, ffree, namemax, fsid, flags.rdonly, flags.noexec, flags.nosuid.] [raceguarantee Windows..The following snapshot categories apply: (i) flags, namemax, fstypename (ii) bsize, blocks, bfree, bavail. Everything else is fetched separately.] } {Amortised O(1) to dispatch. Amortised O(1) to complete.} {statfs_example}

Definition at line 5674 of file afio.hpp.

statfs_t boost::afio::statfs ( future<>  _precondition,
fs_metadata_flags  req 
)

Synchronous volume enumeration after a preceding operation.

Returns:
The volume metadata requested.
Parameters:
_preconditionThe precondition to use.
reqA metadata request.

{distinguish, throwing} { [raceguarantee FreeBSD, OS X..Race free.] [raceguarantee Linux..The following items are fetched in a single snapshot: bsize, iosize, blocks, bfree, bavail, files, ffree, namemax, fsid, flags.rdonly, flags.noexec, flags.nosuid.] [raceguarantee Windows..The following snapshot categories apply: (i) flags, namemax, fstypename (ii) bsize, blocks, bfree, bavail. Everything else is fetched separately.] } {Amortised O(1) to dispatch. Amortised O(1) to complete.} {statfs_example}

Definition at line 5698 of file afio.hpp.

statfs_t boost::afio::statfs ( error_code &  _ec,
future<>  _precondition,
fs_metadata_flags  req 
)

Synchronous volume enumeration after a preceding operation.

Returns:
The volume metadata requested.
Parameters:
_ecError code to set.
_preconditionThe precondition to use.
reqA metadata request.

{distinguish, nonthrowing} { [raceguarantee FreeBSD, OS X..Race free.] [raceguarantee Linux..The following items are fetched in a single snapshot: bsize, iosize, blocks, bfree, bavail, files, ffree, namemax, fsid, flags.rdonly, flags.noexec, flags.nosuid.] [raceguarantee Windows..The following snapshot categories apply: (i) flags, namemax, fstypename (ii) bsize, blocks, bfree, bavail. Everything else is fetched separately.] } {Amortised O(1) to dispatch. Amortised O(1) to complete.} {statfs_example}

Definition at line 5723 of file afio.hpp.


January, 2014

Copyright © 2013-2014 Niall Douglas, Cork, Ireland
Copyright © 2013 Paul Kirth, California
Documentation is generated by Doxygen