Kudu C++ client API
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
kudu::MonoTime Class Reference

Representation of a particular point in time. More...

#include <monotime.h>

Static Public Member Functions

static MonoTime Now ()
 
static MonoTime Max ()
 
static MonoTime Min ()
 

Static Public Attributes

Conversion constants for ubiquitous time units.
static const int64_t kNanosecondsPerSecond = 1000000000L
 
static const int64_t kNanosecondsPerMillisecond = 1000000L
 
static const int64_t kNanosecondsPerMicrosecond = 1000L
 
static const int64_t kMicrosecondsPerSecond = 1000000L
 

Detailed Description

Representation of a particular point in time.

The MonoTime class represents a particular point in time, relative to some fixed but unspecified reference point.

This time is monotonic, meaning that if the user changes his or her system clock, the monotime does not change.

Member Function Documentation

static MonoTime kudu::MonoTime::Max ( )
static
Returns
MonoTime equal to farthest possible time into the future.
static MonoTime kudu::MonoTime::Min ( )
static
Returns
MonoTime equal to farthest possible time into the past.
static MonoTime kudu::MonoTime::Now ( )
static

Get current time in MonoTime representation.

Returns
Time specification for the moment of the method's invocation.

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