Generate long integer timestamps from current time. This implementation relies on the Types::Time class to return microsecond precision time.

Note
It is not appropriate for use with JRuby because its Time#now returns millisecond precision time.

Inherits

Object

Includes

Methods

next

Create a new timestamp, as a 64-bit integer. This is just a wrapper around Time::now.

Returns:
Type Details
Integer an integer representing a timestamp in microseconds.