diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-05-10 17:33:30 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-05-11 01:26:33 -0400 |
commit | 25bdc679a0e559d64ec7f22b0468cf5b1671c4e7 (patch) | |
tree | 2421dce410c3768c3b207934298716ce91f36d21 /src/mongo/db/ttl.h | |
parent | 844026a1c9fec4152aebb1641bf6b6047f8d3ad7 (diff) | |
download | mongo-25bdc679a0e559d64ec7f22b0468cf5b1671c4e7.tar.gz |
SERVER-211 - simple ttl collections where we can expire based on age
Diffstat (limited to 'src/mongo/db/ttl.h')
-rw-r--r-- | src/mongo/db/ttl.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mongo/db/ttl.h b/src/mongo/db/ttl.h new file mode 100644 index 00000000000..bd268d4a98e --- /dev/null +++ b/src/mongo/db/ttl.h @@ -0,0 +1,23 @@ +// ttl.h + +/** +* Copyright (C) 2008 10gen Inc. +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU Affero General Public License, version 3, +* as published by the Free Software Foundation. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Affero General Public License for more details. +* +* You should have received a copy of the GNU Affero General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +namespace mongo { + void startTTLBackgroundJob(); +} |