Manual Reference Pages - BSON::TIMESTAMP (3)
BSON::Timestamp - Timestamp data for BSON
my $ts = BSON::Timestamp->new( $seconds, $increment );
This module is needed for BSON and it manages BSONs timestamp element.
Timestamp is an internal MongoDB type used in replication and sharding.
The first four bytes are increment and the second four bytes are a timestamp.
A timestamp value of 0 has special semantics.
Object constructor takes seconds and increment parameters.
Returns the value of seconds
Returns the value of increment
minimalist, <minimalist at lavabit.com>
Bug reports and patches are welcome. Reports which include a failing
Test::More style test are helpful and will receive priority.
LICENSE AND COPYRIGHT
Copyright 2011 minimalist.
This program is free software; you can redistribute it and/or modify
it under the terms as perl itself.
|perl v5.20.3 ||BSON::TIMESTAMP (3) ||2011-08-08 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.